Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 110.5 kB / 16.42 MB, free: 6.508 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.001586/0.001586, allocations: 189.5 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.326/1.326, 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.002114/0.002114, allocations: 295.1 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.9215/0.9215, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001868/0.001868, allocations: 99.86 kB / 0.6821 GB, free: 6.973 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3643/0.3662, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp): time 0.1592/0.5255, allocations: 167.8 MB / 0.9309 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005518/0.531, allocations: 4.069 MB / 0.9349 GB, free: 7.434 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.5313, allocations: 11.94 kB / 0.9349 GB, free: 7.422 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006373/0.5319, allocations: 242.5 kB / 0.9351 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001398/0.5334, allocations: 0.6766 MB / 0.9358 GB, free: 6.504 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001047/0.5344, allocations: 480.2 kB / 0.9362 GB, free: 6.039 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002678/0.5371, allocations: 2.783 MB / 0.9389 GB, free: 3.25 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002762/0.5399, allocations: 2.548 MB / 0.9414 GB, free: 0.6914 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001804/0.5417, allocations: 1.289 MB / 0.9427 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009528/0.5426, allocations: 0.8559 MB / 0.9435 GB, free: 14.54 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001463/0.5428, allocations: 76 kB / 0.9436 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001296/0.5441, allocations: 0.8147 MB / 0.9444 GB, free: 13.65 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003224/0.5444, allocations: 366.7 kB / 0.9447 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005808/0.545, allocations: 0.6257 MB / 0.9453 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001522/0.5466, allocations: 1.622 MB / 0.9469 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.5466, allocations: 0 / 0.9469 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5466, allocations: 0 / 0.9469 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.5466, allocations: 0 / 0.9469 GB, free: 11.04 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.002422/0.549, allocations: 1.623 MB / 0.9485 GB, free: 9.348 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.5491, allocations: 11.97 kB / 0.9485 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008052/0.5499, allocations: 206.3 kB / 0.9487 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001294/0.5512, allocations: 0.9319 MB / 0.9496 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.838e-05/0.5512, allocations: 49.31 kB / 0.9497 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001099/0.5514, allocations: 60 kB / 0.9497 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001388/0.5528, allocations: 0.987 MB / 0.9507 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5528, allocations: 3.938 kB / 0.9507 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.654e-05/0.5529, allocations: 24 kB / 0.9507 GB, free: 6.953 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.5529, allocations: 20 kB / 0.9507 GB, free: 6.934 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.5542, allocations: 0.796 MB / 0.9515 GB, free: 6.137 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.004077/0.5582, allocations: 4.765 MB / 0.9562 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3006/0.8588, allocations: 3.997 MB / 0.9601 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/0.8596, allocations: 350.7 kB / 0.9604 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.8599, allocations: 198.3 kB / 0.9606 GB, free: 187.6 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006493/0.8606, allocations: 323.5 kB / 0.9609 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003246/0.8609, allocations: 30.53 kB / 0.9609 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 3.016e-06/0.8609, allocations: 0 / 0.9609 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.005781/0.8667, allocations: 1.677 MB / 0.9626 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.41e-05/0.8667, allocations: 82.27 kB / 0.9627 GB, free: 187 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.8684, allocations: 1.186 MB / 0.9638 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.764e-05/0.8684, allocations: 35.48 kB / 0.9638 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003472/0.8688, allocations: 0.5134 MB / 0.9643 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 9.136e-05/0.8689, allocations: 118.8 kB / 0.9645 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001656/0.869, allocations: 119.4 kB / 0.9646 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.889e-05/0.8691, allocations: 326.4 kB / 0.9649 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000412/0.8695, allocations: 242.8 kB / 0.9651 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005621/0.8701, allocations: 0.5606 MB / 0.9657 GB, free: 185.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008854/0.871, allocations: 0.6891 MB / 0.9663 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.212e-06/0.871, allocations: 2.156 kB / 0.9663 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002481/0.8735, allocations: 1.142 MB / 0.9675 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.197e-05/0.8735, allocations: 34.28 kB / 0.9675 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.126e-05/0.8736, allocations: 6.406 kB / 0.9675 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001599/0.8752, allocations: 473.7 kB / 0.9679 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003238/0.8755, allocations: 75.19 kB / 0.968 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001257/0.8768, allocations: 1.116 MB / 0.9691 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008676/0.8776, allocations: 67.78 kB / 0.9692 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.923e-05/0.8777, allocations: 24.94 kB / 0.9692 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006631/0.8784, allocations: 0.525 MB / 0.9697 GB, free: 183.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004215/0.8788, allocations: 0.5181 MB / 0.9702 GB, free: 183 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006147/0.8794, allocations: 0.6062 MB / 0.9708 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.445e-06/0.8794, allocations: 0 / 0.9708 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001378/0.8808, allocations: 0.9188 MB / 0.9717 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.8809, allocations: 38.7 kB / 0.9717 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.8809, allocations: 3.75 kB / 0.9717 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004884/0.8814, allocations: 239.5 kB / 0.972 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002938/0.8817, allocations: 71.91 kB / 0.972 GB, free: 182.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002995/0.8847, allocations: 3.367 MB / 0.9753 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007744/0.8855, allocations: 71.91 kB / 0.9754 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.265e-05/0.8855, allocations: 25.48 kB / 0.9754 GB, free: 179.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 {(11,12)} Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.8856, allocations: 220.4 kB / 0.9756 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.8857, allocations: 114.6 kB / 0.9757 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001172/0.8869, allocations: 0.81 MB / 0.9765 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.34e-06/0.8869, allocations: 0 / 0.9765 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.8869, allocations: 3.938 kB / 0.9765 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002171/0.8872, allocations: 231.7 kB / 0.9768 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.8873, allocations: 4 kB / 0.9768 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.8879, allocations: 43.5 kB / 0.9768 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.67e-05/0.888, allocations: 58.81 kB / 0.9769 GB, free: 177.7 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001311/0.8893, allocations: 0.8539 MB / 0.9777 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001001/0.8903, allocations: 1.007 MB / 0.9787 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002854/0.8906, allocations: 207.7 kB / 0.9789 GB, free: 175.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007249/0.8913, allocations: 0.8367 MB / 0.9797 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of Backend: time 4.61e-07/0.8913, allocations: 0 / 0.9797 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002746/0.8941, allocations: 1.364 MB / 0.981 GB, free: 173.5 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003199/0.8973, allocations: 2.917 MB / 0.9839 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.02503/0.9224, allocations: 22.04 MB / 1.005 GB, free: 148.8 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)