Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001066/0.001067, 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.001057/0.001057, 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.286/1.286, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002108/0.002109, allocations: 282.2 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9244/0.9244, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 91.86 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3659/0.3679, allocations: 86.98 MB / 0.7671 GB, free: 3.918 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.1523/0.5202, allocations: 161.6 MB / 0.9249 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002877/0.5231, allocations: 1.753 MB / 0.9266 GB, free: 15.93 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.5234, allocations: 11.94 kB / 0.9266 GB, free: 15.92 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005184/0.5239, allocations: 162.9 kB / 0.9268 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.5252, allocations: 0.5485 MB / 0.9273 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.5263, allocations: 403.4 kB / 0.9277 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.00256/0.5289, allocations: 2.552 MB / 0.9302 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002663/0.5316, allocations: 2.407 MB / 0.9325 GB, free: 9.832 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00164/0.5332, allocations: 1.055 MB / 0.9336 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.5342, allocations: 0.7156 MB / 0.9343 GB, free: 8.055 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001789/0.5344, allocations: 63.88 kB / 0.9343 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001395/0.5358, allocations: 0.7445 MB / 0.935 GB, free: 7.246 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000351/0.5362, allocations: 310.9 kB / 0.9353 GB, free: 6.941 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007176/0.5369, allocations: 0.5557 MB / 0.9359 GB, free: 6.383 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.00156/0.5385, allocations: 1.42 MB / 0.9373 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5385, allocations: 0 / 0.9373 GB, free: 4.961 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5385, allocations: 4 kB / 0.9373 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.914e-05/0.5385, allocations: 0 / 0.9373 GB, free: 4.957 MB / 0.7012 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.00239/0.5409, allocations: 1.455 MB / 0.9387 GB, free: 3.438 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.541, allocations: 8.031 kB / 0.9387 GB, free: 3.43 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007874/0.5418, allocations: 182.5 kB / 0.9389 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001428/0.5432, allocations: 0.8567 MB / 0.9397 GB, free: 2.336 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.798e-05/0.5433, allocations: 45 kB / 0.9398 GB, free: 2.293 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.798e-05/0.5433, allocations: 64 kB / 0.9398 GB, free: 2.23 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001212/0.5446, allocations: 0.8238 MB / 0.9406 GB, free: 1.332 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.5446, allocations: 3.938 kB / 0.9406 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.466e-05/0.5447, allocations: 28 kB / 0.9407 GB, free: 1.301 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.261e-05/0.5447, allocations: 12 kB / 0.9407 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009565/0.5456, allocations: 0.5579 MB / 0.9412 GB, free: 0.7305 MB / 0.7012 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.003756/0.5494, allocations: 4.207 MB / 0.9453 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007316/0.5501, allocations: 448.8 kB / 0.9457 GB, free: 11.81 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/0.5506, allocations: 351.2 kB / 0.9461 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002816/0.5509, allocations: 198.2 kB / 0.9463 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000503/0.5514, allocations: 315.1 kB / 0.9466 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000169/0.5516, allocations: 35.59 kB / 0.9466 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.284e-06/0.5516, allocations: 0 / 0.9466 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.005016/0.5566, allocations: 1.67 MB / 0.9482 GB, free: 9.18 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.5567, allocations: 81.11 kB / 0.9483 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001291/0.558, allocations: 1.154 MB / 0.9494 GB, free: 7.91 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.997e-05/0.5581, allocations: 37.7 kB / 0.9495 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003634/0.5584, allocations: 488.4 kB / 0.9499 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.658e-05/0.5585, allocations: 110.4 kB / 0.95 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.5587, allocations: 118.1 kB / 0.9502 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.608e-05/0.5588, allocations: 326 kB / 0.9505 GB, free: 6.828 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.5592, allocations: 238.9 kB / 0.9507 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006191/0.5598, allocations: 0.5474 MB / 0.9512 GB, free: 5.91 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009222/0.5608, allocations: 0.6724 MB / 0.9519 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.5608, allocations: 4 kB / 0.9519 GB, free: 5.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002236/0.563, allocations: 1.12 MB / 0.953 GB, free: 4.02 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.5631, allocations: 37.73 kB / 0.953 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.5631, allocations: 4 kB / 0.953 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001315/0.5644, allocations: 365.2 kB / 0.9534 GB, free: 3.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003773/0.5648, allocations: 91.91 kB / 0.9535 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.5659, allocations: 1.038 MB / 0.9545 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008032/0.5667, allocations: 59.92 kB / 0.9545 GB, free: 2.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-05/0.5667, allocations: 24 kB / 0.9546 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007233/0.5675, allocations: 0.5188 MB / 0.9551 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005536/0.568, allocations: 0.5109 MB / 0.9556 GB, free: 1.219 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007962/0.5688, allocations: 0.5996 MB / 0.9561 GB, free: 0.5391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.869e-06/0.5689, allocations: 4 kB / 0.9561 GB, free: 0.5352 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.2974/0.8662, allocations: 0.8862 MB / 0.957 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.8663, allocations: 34.75 kB / 0.957 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.8663, allocations: 8.625 kB / 0.9571 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006684/0.867, allocations: 242.4 kB / 0.9573 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004077/0.8674, allocations: 88.86 kB / 0.9574 GB, free: 189.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003724/0.8712, allocations: 3.276 MB / 0.9606 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008645/0.872, allocations: 62.75 kB / 0.9606 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.8721, allocations: 23.59 kB / 0.9607 GB, free: 187.9 MB / 0.7169 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.0001614/0.8723, allocations: 224.6 kB / 0.9609 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.8724, allocations: 104.9 kB / 0.961 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.8737, allocations: 0.776 MB / 0.9617 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.8737, allocations: 3.5 kB / 0.9617 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.8737, allocations: 3.938 kB / 0.9617 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003013/0.874, allocations: 222.1 kB / 0.9619 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.8741, allocations: 6.812 kB / 0.9619 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.8747, allocations: 38.2 kB / 0.962 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.8748, allocations: 47.58 kB / 0.962 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001503/0.8763, allocations: 0.8503 MB / 0.9629 GB, free: 187 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001154/0.8775, allocations: 0.9923 MB / 0.9638 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003438/0.8778, allocations: 200.4 kB / 0.964 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009071/0.8787, allocations: 0.8143 MB / 0.9648 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of Backend: time 5.21e-07/0.8787, allocations: 0 / 0.9648 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002533/0.8813, allocations: 1.209 MB / 0.966 GB, free: 185.6 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003252/0.8845, allocations: 2.694 MB / 0.9686 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.02488/0.9094, allocations: 21.8 MB / 0.9899 GB, free: 164.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)