Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008569/0.0008569, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008904/0.0008905, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8222/0.8222, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002748, allocations: 12 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 82.3 MB / 0.5872 GB, free: 3.133 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 0.8707/1.012, allocations: 300.6 MB / 0.8808 GB, free: 9.25 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.06516/1.077, allocations: 42.44 MB / 0.9222 GB, free: 8.848 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007503/1.085, allocations: 146.7 kB / 0.9223 GB, free: 8.848 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.009254/1.094, allocations: 2.454 MB / 0.9247 GB, free: 8.84 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.02255/1.117, allocations: 7.727 MB / 0.9323 GB, free: 8.738 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.0109/1.128, allocations: 3.865 MB / 0.9361 GB, free: 8.684 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01419/1.142, allocations: 7.793 MB / 0.9437 GB, free: 8.668 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005924/1.148, allocations: 3.685 MB / 0.9473 GB, free: 8.27 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01257/1.16, allocations: 5.468 MB / 0.9526 GB, free: 7.465 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005471/1.166, allocations: 2.915 MB / 0.9555 GB, free: 6.934 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001043/1.167, allocations: 248.8 kB / 0.9557 GB, free: 6.934 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008918/1.176, allocations: 2.95 MB / 0.9586 GB, free: 6.504 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.00263/1.179, allocations: 2.111 MB / 0.9606 GB, free: 5.934 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.003662/1.182, allocations: 1.419 MB / 0.962 GB, free: 5.902 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.01149/1.194, allocations: 8.61 MB / 0.9704 GB, free: 1.344 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/1.194, allocations: 3.219 kB / 0.9704 GB, free: 1.344 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.433e-06/1.194, allocations: 0 / 0.9704 GB, free: 1.344 MB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0002479/1.194, allocations: 4 kB / 0.9704 GB, free: 1.34 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 813 * Number of variables: 813 Notification: Performance of Generate backend data structure: time 0.01465/1.209, allocations: 7.198 MB / 0.9775 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/1.209, allocations: 9.812 kB / 0.9775 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/1.219, allocations: 1.743 MB / 0.9792 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01592/1.235, allocations: 11.19 MB / 0.9901 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002027/1.235, allocations: 281.2 kB / 0.9904 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006114/1.236, allocations: 376.6 kB / 0.9907 GB, free: 8.289 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006413/1.242, allocations: 4.213 MB / 0.9948 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.351e-05/1.242, allocations: 2.531 kB / 0.9948 GB, free: 5.367 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002767/1.242, allocations: 134.8 kB / 0.995 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001001/1.243, allocations: 125.5 kB / 0.9951 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005211/1.248, allocations: 3.096 MB / 0.9981 GB, free: 3.148 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02555/1.273, allocations: 18.88 MB / 1.017 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004722/1.278, allocations: 2.509 MB / 1.019 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001366/1.278, allocations: 53.5 kB / 1.019 GB, free: 1.984 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002543/1.281, allocations: 1.748 MB / 1.021 GB, free: 0.7617 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002491/1.283, allocations: 335.7 kB / 1.021 GB, free: 488 kB / 0.7012 GB Notification: Performance of pre-optimization done (n=200): time 5.971e-06/1.283, allocations: 0 / 1.021 GB, free: 488 kB / 0.7012 GB Notification: Performance of matching and sorting (n=200): time 0.008599/1.292, allocations: 4.055 MB / 1.025 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/1.292, allocations: 80.14 kB / 1.025 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01099/1.303, allocations: 8.714 MB / 1.034 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0006497/1.304, allocations: 91.44 kB / 1.034 GB, free: 7.348 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.002334/1.306, allocations: 2.793 MB / 1.036 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009437/1.307, allocations: 0.6963 MB / 1.037 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001562/1.307, allocations: 54.94 kB / 1.037 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001949/1.307, allocations: 429.3 kB / 1.038 GB, free: 5.109 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/1.31, allocations: 1.366 MB / 1.039 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002826/1.312, allocations: 2.548 MB / 1.041 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00246/1.315, allocations: 1.717 MB / 1.043 GB, free: 0.6758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.37e-05/1.315, allocations: 8 kB / 1.043 GB, free: 0.668 MB / 0.7169 GB Notification: Performance of matching and sorting (n=397) (initialization): time 0.007164/1.322, allocations: 4.534 MB / 1.048 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.004481/1.327, allocations: 14.75 MB / 1.062 GB, free: 13.99 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-05/1.327, allocations: 28 kB / 1.062 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008475/1.327, allocations: 285.2 kB / 1.062 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003448/1.331, allocations: 0.7461 MB / 1.063 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002955/1.334, allocations: 3.746 MB / 1.067 GB, free: 9.562 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005163/1.339, allocations: 336.1 kB / 1.067 GB, free: 9.281 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004193/1.34, allocations: 242 kB / 1.067 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/1.34, allocations: 7.938 kB / 1.067 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006919/1.346, allocations: 4.794 MB / 1.072 GB, free: 5.957 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.172e-05/1.347, allocations: 28 kB / 1.072 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00152/1.348, allocations: 0.6679 MB / 1.073 GB, free: 5.402 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002568/1.351, allocations: 0.7109 MB / 1.073 GB, free: 4.758 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01062/1.361, allocations: 8.712 MB / 1.082 GB, free: 13.46 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005131/1.366, allocations: 326.6 kB / 1.082 GB, free: 13.2 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005005/1.367, allocations: 209.3 kB / 1.082 GB, free: 13.02 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.y.T_start,y.T_start,$PRE.y.count,y.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (348): * Single equations (assignments): 338 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.002919/1.37, allocations: 1.581 MB / 1.084 GB, free: 12.1 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001123/1.371, allocations: 0.5475 MB / 1.084 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005828/1.377, allocations: 3.222 MB / 1.087 GB, free: 9.305 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.78e-05/1.377, allocations: 20 kB / 1.087 GB, free: 9.285 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.377, allocations: 0 / 1.087 GB, free: 9.285 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00415/1.381, allocations: 2.699 MB / 1.09 GB, free: 7.246 MB / 0.7637 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/1.396, allocations: 7.752 MB / 1.098 GB, free: 1.859 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/1.396, allocations: 4 kB / 1.098 GB, free: 1.855 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002427/1.398, allocations: 0.5543 MB / 1.098 GB, free: 1.34 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005551/1.399, allocations: 267.7 kB / 1.098 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001444/1.399, allocations: 71.41 kB / 1.099 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001997/1.401, allocations: 3.494 MB / 1.102 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.401, allocations: 4 kB / 1.102 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007317/1.408, allocations: 4.849 MB / 1.107 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002205/1.411, allocations: 0.9015 MB / 1.108 GB, free: 9.418 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006339/1.411, allocations: 54.55 kB / 1.108 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002716/1.414, allocations: 317.4 kB / 1.108 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002248/1.414, allocations: 137.1 kB / 1.108 GB, free: 9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000165/1.414, allocations: 104.9 kB / 1.108 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.007034/1.421, allocations: 6.279 MB / 1.114 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.21e-07/1.421, allocations: 0 / 1.114 GB, free: 4.805 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.006689/1.428, allocations: 2.667 MB / 1.117 GB, free: 2.27 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 20 (fan1.vol.dynBal.U,fan1.vol.dynBal.m,fan1.vol.dynBal.mXi[1],fan1.filter.s[1],fan1.filter.s[2],fan3.vol.dynBal.U,fan3.vol.dynBal.m,fan3.vol.dynBal.mXi[1],fan3.filter.s[1],fan3.filter.s[2],fan2.vol.dynBal.U,fan2.vol.dynBal.m,fan2.vol.dynBal.mXi[1],fan2.filter.s[1],fan2.filter.s[2],fan4.vol.dynBal.U,fan4.vol.dynBal.m,fan4.vol.dynBal.mXi[1],fan4.filter.s[1],fan4.filter.s[2]) * Number of discrete variables: 3 ($whenCondition1,y.T_start,y.count) * Number of discrete states: 1 (y.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (198): * Single equations (assignments): 191 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001189/1.429, allocations: 0.6115 MB / 1.118 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01048/1.44, allocations: 6.045 MB / 1.123 GB, free: 13.18 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.44, allocations: 4 kB / 1.123 GB, free: 13.17 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002534/1.442, allocations: 1.327 MB / 1.125 GB, free: 11.89 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01228/1.455, allocations: 3.196 MB / 1.128 GB, free: 8.719 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01729/1.472, allocations: 12.41 MB / 1.14 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00321/1.475, allocations: 3.561 MB / 1.143 GB, free: 8.723 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.006398/1.482, allocations: 1.571 MB / 1.145 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00115/1.483, allocations: 447.3 kB / 1.145 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of SimCode: time 6.11e-07/1.483, allocations: 0 / 1.145 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of Templates: time 0.4072/1.89, allocations: 122.3 MB / 1.265 GB, free: 310.4 MB / 0.8262 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.sim & ./IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.pipe 2>&1) Environment - environmentSimulation: