Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 110.4 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.00107/0.00107, allocations: 185.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.29/1.29, 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.0021/0.0021, allocations: 289.4 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.9252/0.9252, allocations: 169.3 MB / 0.499 GB, free: 4.426 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 99.84 kB / 0.6821 GB, free: 6.957 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3672/0.369, allocations: 86.97 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.163/0.532, allocations: 167.8 MB / 0.9309 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003591/0.5356, allocations: 2.207 MB / 0.9331 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004162/0.536, allocations: 15.88 kB / 0.9331 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006843/0.5367, allocations: 238.5 kB / 0.9333 GB, free: 9.066 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001599/0.5384, allocations: 0.6719 MB / 0.934 GB, free: 8.395 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001154/0.5395, allocations: 437.8 kB / 0.9344 GB, free: 7.969 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002866/0.5424, allocations: 2.76 MB / 0.9371 GB, free: 5.203 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002942/0.5454, allocations: 2.56 MB / 0.9396 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.5475, allocations: 1.277 MB / 0.9408 GB, free: 1.348 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001265/0.5487, allocations: 0.8559 MB / 0.9416 GB, free: 500 kB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002076/0.549, allocations: 72 kB / 0.9417 GB, free: 428 kB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001482/0.5504, allocations: 0.8224 MB / 0.9425 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003932/0.5508, allocations: 362.8 kB / 0.9429 GB, free: 15.24 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007301/0.5516, allocations: 0.6179 MB / 0.9435 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.5532, allocations: 1.63 MB / 0.9451 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.5532, allocations: 0 / 0.9451 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 8.31e-07/0.5532, allocations: 0 / 0.9451 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.517e-05/0.5533, allocations: 0 / 0.9451 GB, free: 12.98 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.002434/0.5557, allocations: 1.615 MB / 0.9466 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.5557, allocations: 8.031 kB / 0.9466 GB, free: 11.3 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008002/0.5565, allocations: 202.3 kB / 0.9468 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001295/0.5578, allocations: 0.9319 MB / 0.9477 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.652e-05/0.5579, allocations: 45.31 kB / 0.9478 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001071/0.558, allocations: 71.94 kB / 0.9479 GB, free: 10 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001411/0.5594, allocations: 0.9909 MB / 0.9488 GB, free: 8.934 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/0.5594, allocations: 3.938 kB / 0.9488 GB, free: 8.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.501e-05/0.5595, allocations: 24 kB / 0.9489 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.5595, allocations: 20 kB / 0.9489 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001261/0.5608, allocations: 0.796 MB / 0.9497 GB, free: 8.09 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.004071/0.5649, allocations: 4.761 MB / 0.9543 GB, free: 2.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.307/0.8719, allocations: 4.008 MB / 0.9582 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007269/0.8727, allocations: 345.5 kB / 0.9585 GB, free: 189.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002936/0.873, allocations: 191.8 kB / 0.9587 GB, free: 189.2 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006602/0.8736, allocations: 329.9 kB / 0.959 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003094/0.874, allocations: 28.52 kB / 0.9591 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 2.635e-06/0.874, allocations: 0 / 0.9591 GB, free: 189.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.004993/0.879, allocations: 1.581 MB / 0.9606 GB, free: 188.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.879, allocations: 86.14 kB / 0.9607 GB, free: 188.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.8804, allocations: 1.183 MB / 0.9618 GB, free: 188.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.072e-05/0.8805, allocations: 38.02 kB / 0.9619 GB, free: 188.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003403/0.8808, allocations: 0.5192 MB / 0.9624 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.549e-05/0.8809, allocations: 123 kB / 0.9625 GB, free: 187.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/0.8811, allocations: 115.6 kB / 0.9626 GB, free: 187.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.416e-05/0.8811, allocations: 325.7 kB / 0.9629 GB, free: 187.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004113/0.8816, allocations: 243.8 kB / 0.9632 GB, free: 187.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005395/0.8821, allocations: 0.557 MB / 0.9637 GB, free: 187 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008578/0.883, allocations: 0.6872 MB / 0.9644 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.883, allocations: 5 kB / 0.9644 GB, free: 186.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002057/0.8851, allocations: 1.109 MB / 0.9655 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.463e-05/0.8851, allocations: 39.03 kB / 0.9655 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.8851, allocations: 5.25 kB / 0.9655 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.8863, allocations: 349.3 kB / 0.9658 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003826/0.8867, allocations: 94.66 kB / 0.9659 GB, free: 186.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008858/0.8876, allocations: 1.008 MB / 0.9669 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007723/0.8884, allocations: 63.31 kB / 0.967 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.046e-05/0.8885, allocations: 34.72 kB / 0.967 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000663/0.8891, allocations: 0.5265 MB / 0.9675 GB, free: 185.2 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004576/0.8896, allocations: 0.5167 MB / 0.968 GB, free: 184.7 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006352/0.8902, allocations: 0.605 MB / 0.9686 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.8903, allocations: 0 / 0.9686 GB, free: 184.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001235/0.8915, allocations: 0.9 MB / 0.9695 GB, free: 184 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.8915, allocations: 33.52 kB / 0.9695 GB, free: 184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.8915, allocations: 3.938 kB / 0.9695 GB, free: 184 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004252/0.892, allocations: 220.2 kB / 0.9697 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003339/0.8923, allocations: 96.5 kB / 0.9698 GB, free: 183.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002559/0.8949, allocations: 3.15 MB / 0.9729 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007398/0.8956, allocations: 74.59 kB / 0.973 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.182e-05/0.8957, allocations: 28.06 kB / 0.973 GB, free: 181.5 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): 36 * 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 {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0001226/0.8958, allocations: 219.5 kB / 0.9732 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.812e-05/0.8959, allocations: 106.6 kB / 0.9733 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.897, allocations: 0.7829 MB / 0.9741 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.897, allocations: 7.984 kB / 0.9741 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.897, allocations: 0 / 0.9741 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.8972, allocations: 219.8 kB / 0.9743 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.8974, allocations: 11.19 kB / 0.9743 GB, free: 180.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005237/0.8979, allocations: 43.88 kB / 0.9744 GB, free: 180 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.898, allocations: 47.92 kB / 0.9744 GB, free: 180 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001243/0.8992, allocations: 0.8463 MB / 0.9752 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000955/0.9002, allocations: 0.9917 MB / 0.9762 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002751/0.9005, allocations: 207.8 kB / 0.9764 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007032/0.9012, allocations: 0.8365 MB / 0.9772 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of Backend: time 5.21e-07/0.9012, allocations: 0 / 0.9772 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002257/0.9035, allocations: 1.233 MB / 0.9784 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of SimCode: time 0.003007/0.9065, allocations: 2.776 MB / 0.9811 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.02511/0.9316, allocations: 22.02 MB / 1.003 GB, free: 151.4 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)