Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 113.8 kB / 16.42 MB, free: 6.016 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.001047/0.001047, allocations: 183.7 kB / 17.35 MB, free: 5.633 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.29/1.29, 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.002031/0.002031, allocations: 284.5 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.9333/0.9333, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001769/0.001769, allocations: 91.84 kB / 0.6821 GB, free: 6.988 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3696, allocations: 86.98 MB / 0.7671 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.1553/0.5249, allocations: 167.8 MB / 0.9309 GB, free: 11.68 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003327/0.5283, allocations: 2.197 MB / 0.933 GB, free: 9.477 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002363/0.5285, allocations: 23.88 kB / 0.9331 GB, free: 9.453 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006178/0.5292, allocations: 250.4 kB / 0.9333 GB, free: 9.207 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001388/0.5306, allocations: 0.7001 MB / 0.934 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009921/0.5316, allocations: 439.7 kB / 0.9344 GB, free: 8.078 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002536/0.5341, allocations: 2.758 MB / 0.9371 GB, free: 5.312 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002562/0.5367, allocations: 2.56 MB / 0.9396 GB, free: 2.738 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001943/0.5387, allocations: 1.281 MB / 0.9408 GB, free: 1.453 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001503/0.5402, allocations: 0.8636 MB / 0.9417 GB, free: 0.5859 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.000189/0.5404, allocations: 76 kB / 0.9418 GB, free: 0.5117 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001628/0.542, allocations: 0.8264 MB / 0.9426 GB, free: 15.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003426/0.5424, allocations: 366.7 kB / 0.9429 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006647/0.5431, allocations: 0.6179 MB / 0.9435 GB, free: 14.7 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001566/0.5446, allocations: 1.619 MB / 0.9451 GB, free: 13.08 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.5446, allocations: 8 kB / 0.9451 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.342e-06/0.5447, allocations: 0 / 0.9451 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.199e-05/0.5447, allocations: 0 / 0.9451 GB, free: 13.07 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.002535/0.5472, allocations: 1.607 MB / 0.9467 GB, free: 11.41 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.5473, allocations: 16.02 kB / 0.9467 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008074/0.5481, allocations: 198.3 kB / 0.9469 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.5496, allocations: 0.9241 MB / 0.9478 GB, free: 10.21 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.956e-05/0.5496, allocations: 53.25 kB / 0.9478 GB, free: 10.16 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.5497, allocations: 63.94 kB / 0.9479 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.5512, allocations: 0.9918 MB / 0.9489 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.5512, allocations: 4 kB / 0.9489 GB, free: 9.031 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.882e-05/0.5513, allocations: 24 kB / 0.9489 GB, free: 9.008 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.5513, allocations: 16 kB / 0.9489 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001249/0.5525, allocations: 0.796 MB / 0.9497 GB, free: 8.195 MB / 0.7169 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.00415/0.5567, allocations: 4.769 MB / 0.9543 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2975/0.8542, allocations: 4 MB / 0.9582 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006696/0.8549, allocations: 344.5 kB / 0.9586 GB, free: 189.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002699/0.8552, allocations: 200.3 kB / 0.9588 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005847/0.8558, allocations: 321.3 kB / 0.9591 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000306/0.8561, allocations: 32.55 kB / 0.9591 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 2.935e-06/0.8561, allocations: 3.125 kB / 0.9591 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.004827/0.861, allocations: 1.481 MB / 0.9605 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.988e-05/0.861, allocations: 85.97 kB / 0.9606 GB, free: 189 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.8625, allocations: 1.185 MB / 0.9618 GB, free: 188.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.8625, allocations: 34.67 kB / 0.9618 GB, free: 188.5 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003254/0.8629, allocations: 0.5167 MB / 0.9623 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.723e-05/0.8629, allocations: 117.9 kB / 0.9624 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.8631, allocations: 116.7 kB / 0.9625 GB, free: 188.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.639e-05/0.8632, allocations: 326.6 kB / 0.9629 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00041/0.8636, allocations: 238.7 kB / 0.9631 GB, free: 187.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005486/0.8641, allocations: 0.5613 MB / 0.9636 GB, free: 187.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008348/0.865, allocations: 0.6856 MB / 0.9643 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.865, allocations: 1.125 kB / 0.9643 GB, free: 186.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002208/0.8672, allocations: 1.108 MB / 0.9654 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.8672, allocations: 39.86 kB / 0.9654 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.8673, allocations: 5.719 kB / 0.9654 GB, free: 186.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.8687, allocations: 414.3 kB / 0.9658 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.8692, allocations: 114 kB / 0.9659 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001363/0.8706, allocations: 1.655 MB / 0.9675 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007772/0.8714, allocations: 66.12 kB / 0.9676 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.968e-05/0.8714, allocations: 26.78 kB / 0.9676 GB, free: 185.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006692/0.8721, allocations: 0.5216 MB / 0.9681 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004666/0.8726, allocations: 0.5227 MB / 0.9687 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006414/0.8732, allocations: 0.6035 MB / 0.9692 GB, free: 184 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.397e-06/0.8732, allocations: 5.609 kB / 0.9693 GB, free: 184 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001314/0.8745, allocations: 0.8985 MB / 0.9701 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/0.8746, allocations: 38.36 kB / 0.9702 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.8746, allocations: 7.938 kB / 0.9702 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004173/0.875, allocations: 209.1 kB / 0.9704 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/0.8754, allocations: 91.59 kB / 0.9705 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002821/0.8782, allocations: 3.166 MB / 0.9736 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007561/0.879, allocations: 67.92 kB / 0.9736 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.368e-05/0.879, allocations: 23.98 kB / 0.9736 GB, free: 181.1 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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.000135/0.8792, allocations: 229.3 kB / 0.9739 GB, free: 180.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.923e-05/0.8793, allocations: 106.7 kB / 0.974 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001124/0.8804, allocations: 0.7811 MB / 0.9747 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.8804, allocations: 0 / 0.9747 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.8804, allocations: 6.25 kB / 0.9747 GB, free: 179.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003/0.8807, allocations: 231.7 kB / 0.975 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.8808, allocations: 8 kB / 0.975 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005439/0.8814, allocations: 38.34 kB / 0.975 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.832e-05/0.8815, allocations: 51.86 kB / 0.975 GB, free: 179.6 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001314/0.8828, allocations: 0.8482 MB / 0.9759 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009777/0.8838, allocations: 1.013 MB / 0.9769 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000279/0.8841, allocations: 203.8 kB / 0.9771 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007299/0.8848, allocations: 0.8288 MB / 0.9779 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of Backend: time 3.01e-07/0.8848, allocations: 4 kB / 0.9779 GB, free: 176.7 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002964/0.8878, allocations: 1.386 MB / 0.9792 GB, free: 175.3 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003242/0.8911, allocations: 2.875 MB / 0.982 GB, free: 172.4 MB / 0.7169 GB Notification: Performance of Templates: time 0.02559/0.9167, allocations: 21.87 MB / 1.003 GB, free: 150.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)