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.001123/0.001123, allocations: 109.9 kB / 16.41 MB, free: 6.461 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.0009955/0.0009956, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.276/1.276, 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.002197/0.002196, allocations: 291.9 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9127/0.9127, allocations: 169.3 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001912/0.001912, allocations: 87.86 kB / 0.6821 GB, free: 6.949 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3581, 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.1526/0.5108, allocations: 161.6 MB / 0.9249 GB, free: 1.816 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002931/0.5138, allocations: 1.753 MB / 0.9266 GB, free: 60 kB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.514, allocations: 19.88 kB / 0.9266 GB, free: 40 kB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005218/0.5146, allocations: 163 kB / 0.9268 GB, free: 15.88 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001117/0.5157, allocations: 0.525 MB / 0.9273 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009237/0.5166, allocations: 386.5 kB / 0.9276 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002458/0.5191, allocations: 2.553 MB / 0.9301 GB, free: 12.42 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002675/0.5218, allocations: 2.411 MB / 0.9325 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001419/0.5232, allocations: 1.047 MB / 0.9335 GB, free: 8.938 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008467/0.5241, allocations: 0.7078 MB / 0.9342 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001311/0.5242, allocations: 60 kB / 0.9343 GB, free: 8.168 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.5256, allocations: 0.7484 MB / 0.935 GB, free: 7.418 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003332/0.5259, allocations: 314.9 kB / 0.9353 GB, free: 7.109 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005914/0.5265, allocations: 0.5401 MB / 0.9358 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001477/0.528, allocations: 1.424 MB / 0.9372 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.528, allocations: 0 / 0.9372 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.212e-06/0.528, allocations: 0 / 0.9372 GB, free: 5.141 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.082e-05/0.5281, allocations: 0 / 0.9372 GB, free: 5.141 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.002023/0.5301, allocations: 1.455 MB / 0.9386 GB, free: 3.621 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5301, allocations: 8.031 kB / 0.9386 GB, free: 3.613 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007442/0.5309, allocations: 190.5 kB / 0.9388 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001195/0.5321, allocations: 0.8606 MB / 0.9397 GB, free: 2.508 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.5321, allocations: 45 kB / 0.9397 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.382e-05/0.5322, allocations: 56 kB / 0.9398 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001179/0.5334, allocations: 0.8324 MB / 0.9406 GB, free: 1.504 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.581e-05/0.5334, allocations: 3.938 kB / 0.9406 GB, free: 1.5 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.461e-05/0.5335, allocations: 24 kB / 0.9406 GB, free: 1.477 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.5335, allocations: 12 kB / 0.9406 GB, free: 1.465 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009407/0.5345, allocations: 0.5618 MB / 0.9412 GB, free: 0.9023 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.003535/0.538, allocations: 4.207 MB / 0.9453 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00073/0.5387, allocations: 449.8 kB / 0.9457 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.5392, allocations: 339.5 kB / 0.946 GB, free: 11.65 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002823/0.5395, allocations: 198.2 kB / 0.9462 GB, free: 11.42 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005089/0.54, allocations: 323.1 kB / 0.9465 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001519/0.5402, allocations: 31.59 kB / 0.9465 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=33): time 2.164e-06/0.5402, allocations: 0 / 0.9465 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of matching and sorting (n=33): time 0.004772/0.545, allocations: 1.557 MB / 0.9481 GB, free: 9.469 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.076e-05/0.5451, allocations: 85.11 kB / 0.9481 GB, free: 9.367 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001249/0.5463, allocations: 1.151 MB / 0.9493 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.456e-05/0.5464, allocations: 37.7 kB / 0.9493 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003669/0.5467, allocations: 492.4 kB / 0.9498 GB, free: 7.668 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.885e-05/0.5468, allocations: 114.4 kB / 0.9499 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.547, allocations: 110.2 kB / 0.95 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5471, allocations: 330 kB / 0.9503 GB, free: 7.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.5475, allocations: 230.9 kB / 0.9505 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006067/0.5481, allocations: 0.5501 MB / 0.9511 GB, free: 6.199 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009059/0.5491, allocations: 0.6727 MB / 0.9517 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.5491, allocations: 0 / 0.9517 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002298/0.5514, allocations: 1.115 MB / 0.9528 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.444e-05/0.5514, allocations: 37.69 kB / 0.9528 GB, free: 4.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.5514, allocations: 4 kB / 0.9528 GB, free: 4.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00148/0.5529, allocations: 438.3 kB / 0.9533 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003567/0.5533, allocations: 79.98 kB / 0.9533 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.5546, allocations: 1.1 MB / 0.9544 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007376/0.5554, allocations: 59.94 kB / 0.9545 GB, free: 2.578 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.5554, allocations: 27.98 kB / 0.9545 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006582/0.5561, allocations: 0.5188 MB / 0.955 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005412/0.5567, allocations: 0.4993 MB / 0.9555 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007778/0.5574, allocations: 0.6035 MB / 0.9561 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.425e-06/0.5575, allocations: 0 / 0.9561 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of matching and sorting (n=56) (initialization_lambda0): time 0.2968/0.8543, allocations: 0.8907 MB / 0.957 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/0.8543, allocations: 42.52 kB / 0.957 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.8544, allocations: 5.562 kB / 0.957 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006261/0.855, allocations: 226.3 kB / 0.9572 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000416/0.8554, allocations: 87.72 kB / 0.9573 GB, free: 190.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003894/0.8593, allocations: 3.302 MB / 0.9605 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008878/0.8602, allocations: 70.3 kB / 0.9606 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.976e-05/0.8603, allocations: 23.03 kB / 0.9606 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.0001482/0.8604, allocations: 218.5 kB / 0.9608 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.8605, allocations: 100.8 kB / 0.9609 GB, free: 188 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.8619, allocations: 0.7795 MB / 0.9617 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.8619, allocations: 3.094 kB / 0.9617 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.8619, allocations: 3.938 kB / 0.9617 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/0.8622, allocations: 222.4 kB / 0.9619 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001148/0.8623, allocations: 6.375 kB / 0.9619 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.8628, allocations: 38.39 kB / 0.9619 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.8629, allocations: 45.36 kB / 0.962 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001522/0.8645, allocations: 0.8515 MB / 0.9628 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001146/0.8656, allocations: 0.9886 MB / 0.9638 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003359/0.866, allocations: 203.9 kB / 0.964 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009034/0.8669, allocations: 0.8167 MB / 0.9648 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of Backend: time 3.91e-07/0.8669, allocations: 0 / 0.9648 GB, free: 186.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00304/0.8699, allocations: 1.342 MB / 0.9661 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003326/0.8733, allocations: 2.796 MB / 0.9688 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.02438/0.8977, allocations: 21.57 MB / 0.9899 GB, free: 165 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)