Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001211/0.001212, allocations: 109.8 kB / 17.09 MB, free: 5.984 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.001243/0.001243, allocations: 194.7 kB / 18.02 MB, free: 5.07 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.233/1.233, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6678/0.6678, allocations: 115.3 MB / 407.2 MB, free: 6.246 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 71.88 kB / 0.5584 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1102, allocations: 76.18 MB / 0.6328 GB, free: 4.496 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.4188/0.529, allocations: 167.7 MB / 0.7966 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004284/0.5333, allocations: 4.076 MB / 0.8005 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002919/0.5336, allocations: 15.88 kB / 0.8006 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006009/0.5343, allocations: 246.4 kB / 0.8008 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001344/0.5356, allocations: 0.6731 MB / 0.8014 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009801/0.5366, allocations: 485.8 kB / 0.8019 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002215/0.5388, allocations: 2.778 MB / 0.8046 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002382/0.5412, allocations: 2.55 MB / 0.8071 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001724/0.543, allocations: 1.284 MB / 0.8084 GB, free: 10.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008509/0.5438, allocations: 0.8679 MB / 0.8092 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.544, allocations: 75.69 kB / 0.8093 GB, free: 10.6 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.5453, allocations: 0.8066 MB / 0.8101 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.5456, allocations: 377.6 kB / 0.8104 GB, free: 10.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0005285/0.5461, allocations: 0.616 MB / 0.811 GB, free: 10 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.5475, allocations: 1.62 MB / 0.8126 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.5475, allocations: 0 / 0.8126 GB, free: 9.336 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5475, allocations: 4 kB / 0.8126 GB, free: 9.332 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.217e-05/0.5476, allocations: 0 / 0.8126 GB, free: 9.332 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002307/0.5499, allocations: 1.621 MB / 0.8142 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.5499, allocations: 8.156 kB / 0.8142 GB, free: 8.281 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007519/0.5507, allocations: 208.8 kB / 0.8144 GB, free: 8.191 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/0.5519, allocations: 0.9287 MB / 0.8153 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.5519, allocations: 49.22 kB / 0.8154 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.83e-05/0.552, allocations: 62.44 kB / 0.8154 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.5533, allocations: 0.9917 MB / 0.8164 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.5533, allocations: 0 / 0.8164 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.259e-05/0.5533, allocations: 23.94 kB / 0.8164 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.5534, allocations: 15.22 kB / 0.8164 GB, free: 7.191 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/0.5545, allocations: 0.7987 MB / 0.8172 GB, free: 6.812 MB / 0.5919 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.003849/0.5584, allocations: 4.759 MB / 0.8219 GB, free: 2.531 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.5605, allocations: 4.012 MB / 0.8258 GB, free: 14 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/0.561, allocations: 353.6 kB / 0.8261 GB, free: 13.82 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002563/0.5613, allocations: 196 kB / 0.8263 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004867/0.5618, allocations: 324.5 kB / 0.8266 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001907/0.562, allocations: 31.44 kB / 0.8266 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=35): time 1.853e-06/0.562, allocations: 2.406 kB / 0.8266 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of matching and sorting (n=35): time 0.004691/0.5667, allocations: 1.74 MB / 0.8283 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.5667, allocations: 82.3 kB / 0.8284 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/0.5679, allocations: 1.19 MB / 0.8296 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.568, allocations: 34.58 kB / 0.8296 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003678/0.5683, allocations: 0.5074 MB / 0.8301 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.076e-05/0.5684, allocations: 123.2 kB / 0.8302 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/0.5686, allocations: 119.8 kB / 0.8303 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.598e-05/0.5687, allocations: 322.8 kB / 0.8306 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003752/0.5691, allocations: 237.4 kB / 0.8309 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005791/0.5697, allocations: 0.5618 MB / 0.8314 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008295/0.5705, allocations: 0.6867 MB / 0.8321 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.5705, allocations: 2.094 kB / 0.8321 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002091/0.5726, allocations: 1.133 MB / 0.8332 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.5727, allocations: 45.17 kB / 0.8332 GB, free: 8.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5727, allocations: 8.344 kB / 0.8333 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001252/0.5739, allocations: 400.1 kB / 0.8336 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002917/0.5742, allocations: 67.89 kB / 0.8337 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009365/0.5752, allocations: 1.049 MB / 0.8347 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007438/0.5759, allocations: 66.42 kB / 0.8348 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.576, allocations: 27.7 kB / 0.8348 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006175/0.5766, allocations: 0.5252 MB / 0.8353 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005259/0.5771, allocations: 0.5258 MB / 0.8358 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007117/0.5779, allocations: 0.6073 MB / 0.8364 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.359e-06/0.5779, allocations: 2.906 kB / 0.8364 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001397/0.5793, allocations: 0.9135 MB / 0.8373 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.047e-05/0.5793, allocations: 42.2 kB / 0.8374 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5793, allocations: 7.25 kB / 0.8374 GB, free: 6.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005171/0.5799, allocations: 259.9 kB / 0.8376 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.5802, allocations: 63.23 kB / 0.8377 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003394/0.5836, allocations: 3.353 MB / 0.841 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/0.5843, allocations: 71.91 kB / 0.841 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.584e-05/0.5844, allocations: 24 kB / 0.8411 GB, free: 3.039 MB / 0.6075 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,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0001689/0.5846, allocations: 219.7 kB / 0.8413 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001234/0.5847, allocations: 114.7 kB / 0.8414 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/0.586, allocations: 0.8135 MB / 0.8422 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.5861, allocations: 3.984 kB / 0.8422 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.5861, allocations: 4 kB / 0.8422 GB, free: 1.875 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000272/0.5863, allocations: 227.7 kB / 0.8424 GB, free: 1.633 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.5865, allocations: 8 kB / 0.8424 GB, free: 1.625 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.587, allocations: 39.94 kB / 0.8424 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.759e-05/0.5871, allocations: 43.92 kB / 0.8425 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00146/0.5886, allocations: 0.8649 MB / 0.8433 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001217/0.5898, allocations: 0.9973 MB / 0.8443 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003267/0.5902, allocations: 208.3 kB / 0.8445 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009297/0.5911, allocations: 0.8406 MB / 0.8453 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of Backend: time 2.7e-07/0.5911, allocations: 0 / 0.8453 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002458/0.5936, allocations: 1.224 MB / 0.8465 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of SimCode: time 0.003683/0.5973, allocations: 2.79 MB / 0.8492 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of Templates: time 0.03219/0.6295, allocations: 22.25 MB / 0.871 GB, free: 4.527 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)