Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 113.2 kB / 16.42 MB, free: 6.496 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.001318/0.001318, allocations: 193.6 kB / 17.35 MB, free: 5.758 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.294/1.294, allocations: 222.9 MB / 241.1 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7656/0.7656, allocations: 132.2 MB / 423.4 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001132/0.001132, allocations: 63.83 kB / 0.582 GB, free: 23.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1259/0.127, allocations: 80.21 MB / 0.6604 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.4659/0.5929, allocations: 161.6 MB / 0.8182 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003061/0.596, allocations: 1.752 MB / 0.8199 GB, free: 9.055 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004573/0.5965, allocations: 13.94 kB / 0.8199 GB, free: 9.047 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006266/0.5972, allocations: 166.1 kB / 0.8201 GB, free: 8.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001528/0.5987, allocations: 0.5495 MB / 0.8206 GB, free: 8.496 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.5999, allocations: 393.8 kB / 0.821 GB, free: 8.223 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002585/0.6025, allocations: 2.564 MB / 0.8235 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002622/0.6051, allocations: 2.406 MB / 0.8258 GB, free: 5.32 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001666/0.6068, allocations: 1.051 MB / 0.8269 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009988/0.6078, allocations: 0.718 MB / 0.8276 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.000159/0.608, allocations: 60.47 kB / 0.8276 GB, free: 4.348 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.6094, allocations: 0.7494 MB / 0.8284 GB, free: 3.945 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003343/0.6097, allocations: 305.3 kB / 0.8286 GB, free: 3.742 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0007221/0.6104, allocations: 0.5527 MB / 0.8292 GB, free: 3.402 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.612, allocations: 1.427 MB / 0.8306 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.612, allocations: 0 / 0.8306 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.123e-06/0.612, allocations: 0 / 0.8306 GB, free: 2.551 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.823e-05/0.612, allocations: 0 / 0.8306 GB, free: 2.551 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002423/0.6145, allocations: 1.458 MB / 0.832 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.6145, allocations: 7.406 kB / 0.832 GB, free: 1.43 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007792/0.6153, allocations: 180.7 kB / 0.8322 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001413/0.6167, allocations: 0.8642 MB / 0.833 GB, free: 0.7109 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.283e-05/0.6168, allocations: 42.19 kB / 0.8331 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-05/0.6169, allocations: 59.03 kB / 0.8331 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001162/0.618, allocations: 0.8246 MB / 0.8339 GB, free: 84 kB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.683e-05/0.6181, allocations: 6.438 kB / 0.8339 GB, free: 80 kB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.249e-05/0.6181, allocations: 20.84 kB / 0.8339 GB, free: 64 kB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.136e-05/0.6181, allocations: 19.66 kB / 0.834 GB, free: 60 kB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009323/0.6191, allocations: 0.5606 MB / 0.8345 GB, free: 15.79 MB / 0.6075 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.003682/0.6228, allocations: 4.207 MB / 0.8386 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007043/0.6235, allocations: 443.4 kB / 0.839 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004654/0.624, allocations: 341.5 kB / 0.8394 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.6242, allocations: 191.3 kB / 0.8396 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004923/0.6247, allocations: 322.9 kB / 0.8399 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001817/0.6249, allocations: 31.91 kB / 0.8399 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=33): time 2.014e-06/0.6249, allocations: 0 / 0.8399 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.004891/0.6298, allocations: 1.666 MB / 0.8415 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.01e-05/0.6299, allocations: 89.84 kB / 0.8416 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001266/0.6312, allocations: 1.153 MB / 0.8427 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.6312, allocations: 34.98 kB / 0.8428 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003683/0.6316, allocations: 483 kB / 0.8432 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.64e-05/0.6317, allocations: 117.3 kB / 0.8433 GB, free: 9 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001558/0.6319, allocations: 121.3 kB / 0.8435 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001001/0.632, allocations: 323.2 kB / 0.8438 GB, free: 8.609 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003951/0.6324, allocations: 236.9 kB / 0.844 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005953/0.633, allocations: 0.535 MB / 0.8445 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008983/0.6339, allocations: 0.6777 MB / 0.8452 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/0.6339, allocations: 112 / 0.8452 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002196/0.6361, allocations: 1.113 MB / 0.8463 GB, free: 6.875 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.582e-05/0.6361, allocations: 37.11 kB / 0.8463 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/0.6362, allocations: 7.531 kB / 0.8463 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001293/0.6375, allocations: 373.9 kB / 0.8467 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.6378, allocations: 83.88 kB / 0.8467 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001058/0.6389, allocations: 1.043 MB / 0.8478 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000776/0.6397, allocations: 59.94 kB / 0.8478 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.915e-05/0.6398, allocations: 27.98 kB / 0.8478 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006936/0.6405, allocations: 0.5212 MB / 0.8483 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005645/0.6411, allocations: 0.5031 MB / 0.8488 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008075/0.6419, allocations: 0.5919 MB / 0.8494 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.925e-06/0.6419, allocations: 0 / 0.8494 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.001572/0.6435, allocations: 0.9004 MB / 0.8503 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.6435, allocations: 40.03 kB / 0.8503 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6435, allocations: 7.938 kB / 0.8503 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005575/0.6441, allocations: 241 kB / 0.8506 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003516/0.6444, allocations: 87.86 kB / 0.8507 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003714/0.6482, allocations: 3.271 MB / 0.8539 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008025/0.649, allocations: 64.31 kB / 0.8539 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.033e-05/0.649, allocations: 24 kB / 0.8539 GB, free: 14.69 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 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): 1 system {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0001786/0.6492, allocations: 221.3 kB / 0.8541 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.6494, allocations: 106.8 kB / 0.8542 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.6508, allocations: 0.7734 MB / 0.855 GB, free: 13.58 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.6508, allocations: 7.922 kB / 0.855 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.6508, allocations: 0 / 0.855 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003549/0.6511, allocations: 223.8 kB / 0.8552 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000129/0.6513, allocations: 4 kB / 0.8552 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.6518, allocations: 43.94 kB / 0.8553 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.652, allocations: 43.92 kB / 0.8553 GB, free: 13.24 MB / 0.6231 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001618/0.6536, allocations: 0.8477 MB / 0.8561 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001304/0.6549, allocations: 0.985 MB / 0.8571 GB, free: 11.38 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000358/0.6553, allocations: 208.3 kB / 0.8573 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001085/0.6564, allocations: 0.8158 MB / 0.8581 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of Backend: time 9.12e-07/0.6564, allocations: 0 / 0.8581 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002822/0.6592, allocations: 1.215 MB / 0.8593 GB, free: 9.109 MB / 0.6231 GB Notification: Performance of SimCode: time 0.004151/0.6634, allocations: 2.687 MB / 0.8619 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of Templates: time 0.03269/0.6961, allocations: 21.79 MB / 0.8832 GB, free: 0.8164 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)