Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 119 kB / 16.42 MB, free: 6.473 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.001067/0.001067, allocations: 183.9 kB / 17.35 MB, free: 5.75 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.283/1.283, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002141/0.002141, allocations: 296.9 kB / 291.5 MB, free: 14.47 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9349/0.9349, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001747/0.001747, allocations: 99.84 kB / 0.6821 GB, free: 6.941 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3705/0.3723, allocations: 86.98 MB / 0.7671 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 0.1583/0.5306, allocations: 161.6 MB / 0.9249 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002981/0.5336, allocations: 1.752 MB / 0.9266 GB, free: 64 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003615/0.534, allocations: 15.88 kB / 0.9266 GB, free: 48 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000576/0.5346, allocations: 162.9 kB / 0.9268 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001308/0.5359, allocations: 0.5562 MB / 0.9273 GB, free: 15.33 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.5371, allocations: 387.2 kB / 0.9277 GB, free: 14.95 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002681/0.5398, allocations: 2.559 MB / 0.9302 GB, free: 12.39 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002812/0.5426, allocations: 2.415 MB / 0.9325 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.5443, allocations: 1.043 MB / 0.9335 GB, free: 8.91 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001081/0.5454, allocations: 0.7234 MB / 0.9343 GB, free: 8.184 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001972/0.5456, allocations: 60 kB / 0.9343 GB, free: 8.125 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00148/0.5471, allocations: 0.7523 MB / 0.935 GB, free: 7.371 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003775/0.5475, allocations: 306.9 kB / 0.9353 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.000822/0.5483, allocations: 0.544 MB / 0.9359 GB, free: 6.523 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.5501, allocations: 1.42 MB / 0.9373 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5501, allocations: 0 / 0.9373 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.593e-06/0.5501, allocations: 0 / 0.9373 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.527e-05/0.5502, allocations: 0 / 0.9373 GB, free: 5.102 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.00249/0.5527, allocations: 1.455 MB / 0.9387 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.5527, allocations: 12.03 kB / 0.9387 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008345/0.5536, allocations: 182.5 kB / 0.9389 GB, free: 3.391 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001537/0.5551, allocations: 0.8606 MB / 0.9397 GB, free: 2.473 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.053e-05/0.5552, allocations: 49 kB / 0.9398 GB, free: 2.426 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.026e-05/0.5552, allocations: 56 kB / 0.9398 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001248/0.5565, allocations: 0.8277 MB / 0.9406 GB, free: 1.469 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.5565, allocations: 3.938 kB / 0.9406 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.494e-05/0.5566, allocations: 24 kB / 0.9406 GB, free: 1.441 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.5566, allocations: 12 kB / 0.9407 GB, free: 1.43 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009848/0.5576, allocations: 0.5657 MB / 0.9412 GB, free: 0.8633 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.003996/0.5616, allocations: 4.203 MB / 0.9453 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007553/0.5624, allocations: 445.1 kB / 0.9457 GB, free: 11.95 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004788/0.5629, allocations: 341.1 kB / 0.9461 GB, free: 11.62 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000293/0.5632, allocations: 202.2 kB / 0.9463 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005181/0.5637, allocations: 315.1 kB / 0.9466 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001965/0.5639, allocations: 35.59 kB / 0.9466 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.214e-06/0.5639, allocations: 0 / 0.9466 GB, free: 11.02 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.00494/0.5689, allocations: 1.553 MB / 0.9481 GB, free: 9.438 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.912e-05/0.5689, allocations: 85.05 kB / 0.9482 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.5703, allocations: 1.151 MB / 0.9493 GB, free: 8.168 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.5e-05/0.5704, allocations: 45.7 kB / 0.9493 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000386/0.5708, allocations: 488.4 kB / 0.9498 GB, free: 7.633 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.432e-05/0.5709, allocations: 114.4 kB / 0.9499 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.571, allocations: 110.2 kB / 0.95 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.5711, allocations: 326 kB / 0.9503 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004185/0.5716, allocations: 234.9 kB / 0.9506 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/0.5722, allocations: 0.5476 MB / 0.9511 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009558/0.5732, allocations: 0.6766 MB / 0.9518 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.978e-06/0.5732, allocations: 0 / 0.9518 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002416/0.5756, allocations: 1.115 MB / 0.9528 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.276e-05/0.5757, allocations: 33.7 kB / 0.9529 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.5757, allocations: 7.984 kB / 0.9529 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/0.5773, allocations: 440.4 kB / 0.9533 GB, free: 3.805 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003738/0.5776, allocations: 83.97 kB / 0.9534 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.5791, allocations: 1.102 MB / 0.9545 GB, free: 2.594 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007929/0.5799, allocations: 55.94 kB / 0.9545 GB, free: 2.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.597e-05/0.5799, allocations: 27.98 kB / 0.9545 GB, free: 2.512 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007196/0.5807, allocations: 0.5188 MB / 0.9551 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000568/0.5813, allocations: 0.5032 MB / 0.9555 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008094/0.5821, allocations: 0.5957 MB / 0.9561 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.986e-06/0.5821, allocations: 192 / 0.9561 GB, free: 0.6836 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.3008/0.8828, allocations: 0.8951 MB / 0.957 GB, free: 190.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.857e-05/0.8829, allocations: 40.23 kB / 0.957 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.8829, allocations: 5.188 kB / 0.957 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/0.8836, allocations: 232.7 kB / 0.9573 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004115/0.884, allocations: 89.16 kB / 0.9573 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003977/0.888, allocations: 3.3 MB / 0.9606 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008955/0.8889, allocations: 66.36 kB / 0.9606 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-05/0.8889, allocations: 23.03 kB / 0.9607 GB, free: 188.2 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 {(10,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0001487/0.8891, allocations: 226 kB / 0.9609 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.8892, allocations: 100.3 kB / 0.961 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001347/0.8906, allocations: 0.7859 MB / 0.9617 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.8906, allocations: 1.219 kB / 0.9617 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.8906, allocations: 4.594 kB / 0.9617 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003079/0.8909, allocations: 218.3 kB / 0.9619 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001169/0.891, allocations: 6.469 kB / 0.962 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005341/0.8916, allocations: 38.28 kB / 0.962 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.8917, allocations: 48.81 kB / 0.962 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001562/0.8932, allocations: 0.844 MB / 0.9629 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001181/0.8944, allocations: 0.9889 MB / 0.9638 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003483/0.8948, allocations: 203.6 kB / 0.964 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009442/0.8958, allocations: 0.8136 MB / 0.9648 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of Backend: time 4.71e-07/0.8958, allocations: 0 / 0.9648 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003144/0.8989, allocations: 1.344 MB / 0.9661 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of SimCode: time 0.00339/0.9023, allocations: 2.799 MB / 0.9689 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.02468/0.927, allocations: 21.57 MB / 0.9899 GB, free: 164.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1)