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.001262/0.001262, allocations: 112.2 kB / 16.42 MB, free: 6.48 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.00129/0.00129, allocations: 186.6 kB / 17.35 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.249/1.249, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7477/0.7477, allocations: 135.1 MB / 426.3 MB, free: 4.082 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 66.64 kB / 0.5863 GB, free: 21.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1284, allocations: 80.91 MB / 0.6653 GB, free: 5.766 MB / 0.4981 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter fan3.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter fan2.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic): time 0.6168/0.7452, allocations: 373.1 MB / 1.03 GB, free: 9.43 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.4379/1.183, allocations: 47.67 MB / 1.076 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006536/1.19, allocations: 186.7 kB / 1.076 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.007589/1.197, allocations: 3.146 MB / 1.08 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.01983/1.217, allocations: 9.33 MB / 1.089 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.009138/1.226, allocations: 4.462 MB / 1.093 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0151/1.241, allocations: 13.45 MB / 1.106 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006979/1.248, allocations: 4.841 MB / 1.111 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01424/1.263, allocations: 7.793 MB / 1.118 GB, free: 404 kB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007333/1.27, allocations: 4.326 MB / 1.123 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.001719/1.272, allocations: 0.5915 MB / 1.123 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01275/1.284, allocations: 6.848 MB / 1.13 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003086/1.288, allocations: 2.697 MB / 1.133 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.006585/1.294, allocations: 3.757 MB / 1.136 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01663/1.311, allocations: 12.37 MB / 1.148 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/1.311, allocations: 2.594 kB / 1.148 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.824e-06/1.311, allocations: 0 / 1.148 GB, free: 11.79 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0001682/1.311, allocations: 0 / 1.148 GB, free: 11.79 MB / 0.8262 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.01442/1.325, allocations: 8.18 MB / 1.156 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/1.326, allocations: 9.859 kB / 1.156 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/1.336, allocations: 1.734 MB / 1.158 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/1.346, allocations: 6.571 MB / 1.164 GB, free: 3.941 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001548/1.346, allocations: 276.7 kB / 1.165 GB, free: 3.934 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005699/1.347, allocations: 372.3 kB / 1.165 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006691/1.354, allocations: 4.415 MB / 1.169 GB, free: 1.148 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.326e-05/1.354, allocations: 7.094 kB / 1.169 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003154/1.354, allocations: 132.2 kB / 1.17 GB, free: 1.113 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001144/1.354, allocations: 133.1 kB / 1.17 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005721/1.36, allocations: 3.216 MB / 1.173 GB, free: 14.48 MB / 0.8419 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.02364/1.384, allocations: 18.95 MB / 1.191 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005012/1.389, allocations: 2.577 MB / 1.194 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002491/1.391, allocations: 1.498 MB / 1.195 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003228/1.392, allocations: 231.5 kB / 1.195 GB, free: 6.41 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002808/1.394, allocations: 1.921 MB / 1.197 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=192): time 4.068e-06/1.394, allocations: 0 / 1.197 GB, free: 4.484 MB / 0.8575 GB Notification: Performance of matching and sorting (n=192): time 0.008975/1.403, allocations: 4.286 MB / 1.202 GB, free: 160 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.231e-05/1.403, allocations: 81.39 kB / 1.202 GB, free: 64 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008389/1.412, allocations: 5.885 MB / 1.207 GB, free: 10.19 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000318/1.412, allocations: 88.52 kB / 1.207 GB, free: 10.1 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.002394/1.415, allocations: 2.768 MB / 1.21 GB, free: 7.332 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007072/1.415, allocations: 0.7 MB / 1.211 GB, free: 6.641 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001059/1.416, allocations: 0.6696 MB / 1.212 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 8.119e-05/1.416, allocations: 306.4 kB / 1.212 GB, free: 5.664 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002936/1.419, allocations: 2.13 MB / 1.214 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003666/1.423, allocations: 3.262 MB / 1.217 GB, free: 15.78 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006585/1.43, allocations: 5.363 MB / 1.222 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.73e-05/1.43, allocations: 8 kB / 1.222 GB, free: 10.09 MB / 0.8887 GB Notification: Performance of matching and sorting (n=389) (initialization): time 0.009265/1.439, allocations: 6.235 MB / 1.228 GB, free: 3.977 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 5.197e-05/1.439, allocations: 49.64 kB / 1.228 GB, free: 3.922 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.743e-05/1.439, allocations: 28 kB / 1.228 GB, free: 3.895 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001098/1.44, allocations: 0.5669 MB / 1.229 GB, free: 3.324 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003383/1.443, allocations: 0.7175 MB / 1.23 GB, free: 2.652 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003029/1.447, allocations: 3.749 MB / 1.233 GB, free: 14.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004148/1.451, allocations: 385.2 kB / 1.234 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003242/1.451, allocations: 220 kB / 1.234 GB, free: 14.21 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004463/1.456, allocations: 3.078 MB / 1.237 GB, free: 11.12 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003059/1.459, allocations: 2.9 MB / 1.24 GB, free: 7.73 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005381/1.464, allocations: 4.634 MB / 1.244 GB, free: 2.773 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.558e-05/1.464, allocations: 15.98 kB / 1.244 GB, free: 2.758 MB / 0.9044 GB Notification: Performance of matching and sorting (n=389) (initialization_lambda0): time 0.008331/1.472, allocations: 5.513 MB / 1.25 GB, free: 13.37 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/1.472, allocations: 45.7 kB / 1.25 GB, free: 13.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.243e-05/1.472, allocations: 28.91 kB / 1.25 GB, free: 13.29 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/1.474, allocations: 0.6693 MB / 1.25 GB, free: 12.61 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002602/1.477, allocations: 0.6888 MB / 1.251 GB, free: 11.97 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01068/1.487, allocations: 9.27 MB / 1.26 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00402/1.491, allocations: 298.3 kB / 1.26 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003193/1.492, allocations: 196 kB / 1.261 GB, free: 1.891 MB / 0.92 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 (y.count,$PRE.y.count,y.T_start,$PRE.y.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (340): * Single equations (assignments): 330 * Array equations: 4 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0007205/1.492, allocations: 377.2 kB / 1.261 GB, free: 1.559 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001121/1.494, allocations: 0.5665 MB / 1.262 GB, free: 0.9883 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006209/1.5, allocations: 3.293 MB / 1.265 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004399/1.504, allocations: 2.867 MB / 1.268 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/1.504, allocations: 0 / 1.268 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001823/1.506, allocations: 0.899 MB / 1.268 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009542/1.507, allocations: 47.98 kB / 1.268 GB, free: 9.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002541/1.51, allocations: 103.8 kB / 1.269 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002854/1.51, allocations: 141.8 kB / 1.269 GB, free: 9.527 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006823/1.517, allocations: 3.149 MB / 1.272 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006993/1.524, allocations: 4.739 MB / 1.276 GB, free: 1.641 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001817/1.525, allocations: 1.222 MB / 1.278 GB, free: 424 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.005998/1.531, allocations: 4.045 MB / 1.282 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of Backend: time 4.3e-07/1.531, allocations: 3.188 kB / 1.282 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01548/1.547, allocations: 7.425 MB / 1.289 GB, free: 5.234 MB / 0.9512 GB Notification: Performance of SimCode: time 0.02306/1.57, allocations: 13.79 MB / 1.302 GB, free: 7.43 MB / 0.9669 GB Notification: Performance of Templates: time 0.4873/2.057, allocations: 144.5 MB / 1.443 GB, free: 0.5566 GB / 1.092 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Movers.Validation.ControlledFlowMachineDynamic.makefile (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)