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.001256/0.001256, allocations: 116.1 kB / 16.42 MB, free: 6.496 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.001018/0.001018, allocations: 183.9 kB / 17.35 MB, free: 5.762 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.304/1.304, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002116/0.002116, allocations: 287.2 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9247/0.9247, allocations: 169.3 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001804/0.001804, allocations: 91.86 kB / 0.6821 GB, free: 6.93 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3678/0.3696, allocations: 86.98 MB / 0.7671 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.1604/0.53, allocations: 167.8 MB / 0.9309 GB, free: 11.44 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003669/0.5337, allocations: 2.203 MB / 0.933 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004266/0.5342, allocations: 15.88 kB / 0.933 GB, free: 9.211 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007089/0.535, allocations: 246.5 kB / 0.9333 GB, free: 8.969 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001648/0.5366, allocations: 0.6689 MB / 0.9339 GB, free: 8.297 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.5378, allocations: 443.9 kB / 0.9344 GB, free: 7.867 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002866/0.5407, allocations: 2.759 MB / 0.937 GB, free: 5.102 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003009/0.5437, allocations: 2.56 MB / 0.9395 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002129/0.5458, allocations: 1.269 MB / 0.9408 GB, free: 1.254 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001287/0.5471, allocations: 0.8675 MB / 0.9416 GB, free: 392 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002301/0.5474, allocations: 76 kB / 0.9417 GB, free: 316 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001537/0.5489, allocations: 0.8147 MB / 0.9425 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004139/0.5493, allocations: 366.8 kB / 0.9429 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0008773/0.5502, allocations: 0.6179 MB / 0.9435 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.5521, allocations: 1.622 MB / 0.945 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5521, allocations: 0 / 0.945 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5521, allocations: 0 / 0.945 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.626e-05/0.5521, allocations: 0 / 0.945 GB, free: 12.89 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.002793/0.5549, allocations: 1.615 MB / 0.9466 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.555, allocations: 8.031 kB / 0.9466 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009097/0.5559, allocations: 202.3 kB / 0.9468 GB, free: 11 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001607/0.5575, allocations: 0.9358 MB / 0.9477 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.63e-05/0.5576, allocations: 41.31 kB / 0.9478 GB, free: 9.973 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001128/0.5577, allocations: 71.94 kB / 0.9478 GB, free: 9.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001523/0.5592, allocations: 0.987 MB / 0.9488 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.777e-05/0.5592, allocations: 0 / 0.9488 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.003e-05/0.5593, allocations: 24 kB / 0.9488 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.5593, allocations: 19.94 kB / 0.9488 GB, free: 8.797 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001318/0.5607, allocations: 0.796 MB / 0.9496 GB, free: 8 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.004442/0.5651, allocations: 4.761 MB / 0.9543 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2967/0.8618, allocations: 4.002 MB / 0.9582 GB, free: 189.5 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/0.8625, allocations: 342.7 kB / 0.9585 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002785/0.8628, allocations: 195.8 kB / 0.9587 GB, free: 189.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005981/0.8634, allocations: 331.9 kB / 0.959 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003023/0.8637, allocations: 32.62 kB / 0.959 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 2.334e-06/0.8637, allocations: 3.109 kB / 0.959 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.004823/0.8686, allocations: 1.471 MB / 0.9605 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.8686, allocations: 89.92 kB / 0.9606 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.87, allocations: 1.182 MB / 0.9617 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.8701, allocations: 39.42 kB / 0.9618 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003263/0.8704, allocations: 0.5109 MB / 0.9623 GB, free: 188 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.249e-05/0.8705, allocations: 122.7 kB / 0.9624 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001575/0.8706, allocations: 123.4 kB / 0.9625 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.648e-05/0.8707, allocations: 323.1 kB / 0.9628 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.8711, allocations: 237.9 kB / 0.963 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005364/0.8716, allocations: 0.5628 MB / 0.9636 GB, free: 187 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008265/0.8725, allocations: 0.6827 MB / 0.9642 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.8725, allocations: 2.188 kB / 0.9642 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002217/0.8747, allocations: 1.109 MB / 0.9653 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.124e-05/0.8748, allocations: 39.03 kB / 0.9654 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.8748, allocations: 6.031 kB / 0.9654 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.8762, allocations: 417.1 kB / 0.9658 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004993/0.8767, allocations: 109.7 kB / 0.9659 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001297/0.878, allocations: 1.664 MB / 0.9675 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007716/0.8788, allocations: 59.73 kB / 0.9676 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-05/0.8789, allocations: 30.16 kB / 0.9676 GB, free: 184.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006415/0.8795, allocations: 0.5222 MB / 0.9681 GB, free: 184.6 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004515/0.88, allocations: 0.5285 MB / 0.9686 GB, free: 184.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006459/0.8806, allocations: 0.5989 MB / 0.9692 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.8806, allocations: 3.969 kB / 0.9692 GB, free: 183.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.00129/0.8819, allocations: 0.8983 MB / 0.9701 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.882, allocations: 36.36 kB / 0.9701 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.638e-06/0.882, allocations: 3.969 kB / 0.9701 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000413/0.8824, allocations: 208.9 kB / 0.9703 GB, free: 183.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.8828, allocations: 96.84 kB / 0.9704 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002792/0.8856, allocations: 3.163 MB / 0.9735 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007546/0.8863, allocations: 72.05 kB / 0.9736 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.264e-05/0.8864, allocations: 20 kB / 0.9736 GB, free: 180.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 (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.0001303/0.8865, allocations: 227.2 kB / 0.9738 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.759e-05/0.8866, allocations: 106.7 kB / 0.9739 GB, free: 180.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.8877, allocations: 0.7803 MB / 0.9747 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.8877, allocations: 3.984 kB / 0.9747 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.8878, allocations: 0 / 0.9747 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.888, allocations: 231.7 kB / 0.9749 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.8881, allocations: 15.88 kB / 0.9749 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000555/0.8887, allocations: 39.94 kB / 0.9749 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.808e-05/0.8888, allocations: 47.92 kB / 0.975 GB, free: 179.4 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001324/0.8901, allocations: 0.8537 MB / 0.9758 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009774/0.8911, allocations: 1.001 MB / 0.9768 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002829/0.8914, allocations: 211.8 kB / 0.977 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007274/0.8921, allocations: 0.8288 MB / 0.9778 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of Backend: time 3.11e-07/0.8921, allocations: 0 / 0.9778 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002985/0.8951, allocations: 1.372 MB / 0.9792 GB, free: 175.1 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003206/0.8983, allocations: 2.893 MB / 0.982 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.02461/0.923, allocations: 21.86 MB / 1.003 GB, free: 150.6 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)