Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine") translateModel(IDEAS.Fluid.Movers.Validation.ControlledFlowMachine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00133/0.001331, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001203/0.001203, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.306/1.306, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7861/0.7861, allocations: 132.2 MB / 423.4 MB, free: 6.57 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001175/0.001175, allocations: 64.45 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1334, allocations: 80.22 MB / 0.6604 GB, free: 10.22 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.ControlledFlowMachine): time 0.6734/0.8067, allocations: 373.1 MB / 1.025 GB, free: 148 kB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.5123/1.319, allocations: 47.67 MB / 1.071 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006771/1.326, allocations: 190.7 kB / 1.072 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00822/1.334, allocations: 3.105 MB / 1.075 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.02495/1.359, allocations: 9.217 MB / 1.084 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.01025/1.369, allocations: 4.314 MB / 1.088 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.01742/1.387, allocations: 12.95 MB / 1.1 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00797/1.395, allocations: 4.538 MB / 1.105 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01619/1.411, allocations: 7.603 MB / 1.112 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008172/1.419, allocations: 4.091 MB / 1.116 GB, free: 324 kB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0022/1.421, allocations: 0.5483 MB / 1.117 GB, free: 320 kB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01498/1.436, allocations: 6.798 MB / 1.123 GB, free: 256 kB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.003911/1.44, allocations: 2.576 MB / 1.126 GB, free: 0 / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.007772/1.448, allocations: 3.551 MB / 1.129 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.02115/1.469, allocations: 11.8 MB / 1.141 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/1.469, allocations: 0 / 1.141 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.713e-06/1.469, allocations: 0 / 1.141 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003458/1.47, allocations: 4 kB / 1.141 GB, free: 13.54 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: 743 * Number of variables: 743 Notification: Performance of Generate backend data structure: time 0.02113/1.491, allocations: 7.552 MB / 1.148 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/1.491, allocations: 10.97 kB / 1.148 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009602/1.501, allocations: 1.436 MB / 1.15 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01258/1.513, allocations: 6.257 MB / 1.156 GB, free: 6.469 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002659/1.513, allocations: 250.3 kB / 1.156 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001241/1.515, allocations: 348.3 kB / 1.156 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008257/1.523, allocations: 4.109 MB / 1.16 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.877e-05/1.523, allocations: 9.797 kB / 1.16 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004786/1.524, allocations: 119.2 kB / 1.161 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.361e-05/1.524, allocations: 108.5 kB / 1.161 GB, free: 5.352 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00539/1.529, allocations: 2.938 MB / 1.164 GB, free: 4.473 MB / 0.8262 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.02517/1.554, allocations: 18.09 MB / 1.181 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004041/1.558, allocations: 2.233 MB / 1.183 GB, free: 2.52 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001983/1.56, allocations: 1.25 MB / 1.185 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003418/1.561, allocations: 214.8 kB / 1.185 GB, free: 1.043 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00259/1.563, allocations: 1.754 MB / 1.186 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=168): time 4.558e-06/1.563, allocations: 0 / 1.186 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of matching and sorting (n=168): time 0.008589/1.572, allocations: 3.891 MB / 1.19 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/1.572, allocations: 69.41 kB / 1.19 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01087/1.583, allocations: 5.734 MB / 1.196 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0006328/1.584, allocations: 77.7 kB / 1.196 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.003078/1.587, allocations: 2.629 MB / 1.199 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009722/1.588, allocations: 0.5867 MB / 1.199 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00153/1.589, allocations: 0.6208 MB / 1.2 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.452e-05/1.589, allocations: 301.1 kB / 1.2 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002922/1.592, allocations: 2.014 MB / 1.202 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003643/1.596, allocations: 3.144 MB / 1.205 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006316/1.602, allocations: 5.138 MB / 1.21 GB, free: 6.219 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.321e-05/1.602, allocations: 8 kB / 1.21 GB, free: 6.211 MB / 0.8731 GB Notification: Performance of matching and sorting (n=363) (initialization): time 0.01043/1.613, allocations: 5.905 MB / 1.216 GB, free: 472 kB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 6.572e-05/1.613, allocations: 49.64 kB / 1.216 GB, free: 416 kB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.226e-05/1.613, allocations: 35.56 kB / 1.216 GB, free: 384 kB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001303/1.614, allocations: 0.5717 MB / 1.217 GB, free: 15.8 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00314/1.617, allocations: 0.6217 MB / 1.217 GB, free: 15.21 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003684/1.621, allocations: 3.777 MB / 1.221 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004408/1.625, allocations: 336.5 kB / 1.221 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003716/1.626, allocations: 218.8 kB / 1.221 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004977/1.631, allocations: 2.957 MB / 1.224 GB, free: 7.832 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003298/1.634, allocations: 2.824 MB / 1.227 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005619/1.64, allocations: 4.483 MB / 1.231 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.489e-05/1.64, allocations: 12 kB / 1.231 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=363) (initialization_lambda0): time 0.008994/1.649, allocations: 5.3 MB / 1.237 GB, free: 10.57 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 4.888e-05/1.649, allocations: 41.7 kB / 1.237 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-05/1.649, allocations: 32 kB / 1.237 GB, free: 10.49 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001751/1.651, allocations: 0.6732 MB / 1.237 GB, free: 9.809 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002407/1.653, allocations: 0.6099 MB / 1.238 GB, free: 9.238 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01287/1.666, allocations: 9.581 MB / 1.247 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004865/1.671, allocations: 264.4 kB / 1.248 GB, free: 15.12 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000651/1.671, allocations: 196 kB / 1.248 GB, free: 14.93 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 137 * 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 (312): * Single equations (assignments): 302 * 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,6), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001249/1.673, allocations: 375.4 kB / 1.248 GB, free: 14.59 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001624/1.674, allocations: 0.5167 MB / 1.249 GB, free: 14.07 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006497/1.681, allocations: 2.995 MB / 1.251 GB, free: 11.07 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004043/1.685, allocations: 2.641 MB / 1.254 GB, free: 8.348 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/1.685, allocations: 0 / 1.254 GB, free: 8.348 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/1.688, allocations: 0.8064 MB / 1.255 GB, free: 7.516 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001438/1.689, allocations: 32 kB / 1.255 GB, free: 7.484 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003049/1.692, allocations: 87.77 kB / 1.255 GB, free: 7.398 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003005/1.692, allocations: 144.4 kB / 1.255 GB, free: 7.258 MB / 0.92 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005916/1.698, allocations: 2.765 MB / 1.258 GB, free: 4.508 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.006539/1.705, allocations: 4.219 MB / 1.262 GB, free: 272 kB / 0.92 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001549/1.706, allocations: 1.059 MB / 1.263 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.007622/1.714, allocations: 3.937 MB / 1.267 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of Backend: time 6.41e-07/1.714, allocations: 0 / 1.267 GB, free: 11.28 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0191/1.733, allocations: 7.139 MB / 1.274 GB, free: 4.438 MB / 0.9356 GB Notification: Performance of SimCode: time 0.02871/1.762, allocations: 13.02 MB / 1.286 GB, free: 7.449 MB / 0.9512 GB Notification: Performance of Templates: time 0.2131/1.975, allocations: 139.5 MB / 1.423 GB, free: 13.35 MB / 1.092 GB make -j1 -f IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.makefile (rm -f IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; mkfifo IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe >> ../files/IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.sim & ./IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Movers.Validation.ControlledFlowMachine.pipe 2>&1)