Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 111 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.001009/0.001009, allocations: 188.3 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.265/1.265, allocations: 222.9 MB / 241 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.002135/0.002135, allocations: 299.1 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.9208/0.9208, allocations: 169.2 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 91.86 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3519/0.3536, allocations: 86.97 MB / 0.7671 GB, free: 3.816 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised): time 0.1606/0.5143, allocations: 167.8 MB / 0.9309 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.005165/0.5195, allocations: 4.069 MB / 0.9349 GB, free: 7.324 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003545/0.5199, allocations: 11.94 kB / 0.9349 GB, free: 7.312 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006368/0.5205, allocations: 242.5 kB / 0.9351 GB, free: 7.074 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001455/0.522, allocations: 0.6766 MB / 0.9358 GB, free: 6.395 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001152/0.5231, allocations: 483.2 kB / 0.9362 GB, free: 5.926 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.002802/0.5259, allocations: 2.779 MB / 0.939 GB, free: 3.141 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002957/0.5289, allocations: 2.556 MB / 0.9414 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00208/0.531, allocations: 1.285 MB / 0.9427 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.5323, allocations: 0.8597 MB / 0.9435 GB, free: 14.42 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002059/0.5325, allocations: 76 kB / 0.9436 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.5339, allocations: 0.8147 MB / 0.9444 GB, free: 13.53 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003752/0.5343, allocations: 366.7 kB / 0.9448 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007552/0.5351, allocations: 0.6218 MB / 0.9454 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001708/0.5368, allocations: 1.619 MB / 0.9469 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.5368, allocations: 4 kB / 0.9469 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.5368, allocations: 0 / 0.9469 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.924e-05/0.5368, allocations: 0 / 0.9469 GB, free: 10.92 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.002661/0.5395, allocations: 1.619 MB / 0.9485 GB, free: 9.238 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.5395, allocations: 15.97 kB / 0.9485 GB, free: 9.223 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008573/0.5404, allocations: 202.3 kB / 0.9487 GB, free: 9.023 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.5418, allocations: 0.928 MB / 0.9496 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.126e-05/0.5419, allocations: 57.3 kB / 0.9497 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.788e-05/0.542, allocations: 60 kB / 0.9498 GB, free: 7.926 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/0.5434, allocations: 0.987 MB / 0.9507 GB, free: 6.867 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.5434, allocations: 11.94 kB / 0.9507 GB, free: 6.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.712e-05/0.5435, allocations: 20 kB / 0.9508 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.5435, allocations: 16 kB / 0.9508 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001283/0.5448, allocations: 0.796 MB / 0.9515 GB, free: 6.023 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.004162/0.549, allocations: 4.761 MB / 0.9562 GB, free: 0.918 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.2989/0.8479, allocations: 4.001 MB / 0.9601 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006867/0.8487, allocations: 349.5 kB / 0.9604 GB, free: 187.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002691/0.8489, allocations: 193.4 kB / 0.9606 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005892/0.8495, allocations: 320.5 kB / 0.9609 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002986/0.8499, allocations: 33.66 kB / 0.961 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=35): time 2.295e-06/0.8499, allocations: 3.906 kB / 0.961 GB, free: 187.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=35): time 0.005492/0.8554, allocations: 1.743 MB / 0.9627 GB, free: 186.8 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.8554, allocations: 81.95 kB / 0.9627 GB, free: 186.7 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.8568, allocations: 1.181 MB / 0.9639 GB, free: 186.3 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 4.152e-05/0.8568, allocations: 39.42 kB / 0.9639 GB, free: 186.2 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000323/0.8572, allocations: 0.5137 MB / 0.9644 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.066e-05/0.8572, allocations: 118.6 kB / 0.9645 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001573/0.8574, allocations: 123.6 kB / 0.9647 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.8574, allocations: 326.9 kB / 0.965 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003964/0.8579, allocations: 238.8 kB / 0.9652 GB, free: 185.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005462/0.8584, allocations: 0.5614 MB / 0.9658 GB, free: 184.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000853/0.8593, allocations: 0.6935 MB / 0.9664 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.8593, allocations: 1.094 kB / 0.9664 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.002171/0.8615, allocations: 1.145 MB / 0.9675 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.942e-05/0.8615, allocations: 34.8 kB / 0.9676 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.237e-06/0.8615, allocations: 5.5 kB / 0.9676 GB, free: 184.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001283/0.8628, allocations: 398.9 kB / 0.968 GB, free: 184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003078/0.8631, allocations: 78.45 kB / 0.968 GB, free: 184 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000895/0.864, allocations: 1.055 MB / 0.9691 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007738/0.8648, allocations: 57.94 kB / 0.9691 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.912e-05/0.8649, allocations: 31.06 kB / 0.9692 GB, free: 183.3 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006384/0.8655, allocations: 0.5258 MB / 0.9697 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004311/0.866, allocations: 0.5144 MB / 0.9702 GB, free: 182.6 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005961/0.8666, allocations: 0.6071 MB / 0.9708 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.196e-06/0.8666, allocations: 3.969 kB / 0.9708 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.001282/0.8679, allocations: 0.9212 MB / 0.9717 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.8679, allocations: 33.92 kB / 0.9717 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.8679, allocations: 7.438 kB / 0.9717 GB, free: 181.9 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004766/0.8684, allocations: 254.1 kB / 0.972 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002821/0.8687, allocations: 77.69 kB / 0.972 GB, free: 181.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002767/0.8714, allocations: 3.342 MB / 0.9753 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007564/0.8722, allocations: 75.97 kB / 0.9754 GB, free: 179 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.158e-05/0.8723, allocations: 20 kB / 0.9754 GB, free: 178.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 (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 {(1,22)} Notification: Performance of prepare postOptimizeDAE: time 0.0001178/0.8724, allocations: 224 kB / 0.9756 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.881e-05/0.8725, allocations: 110.6 kB / 0.9757 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001157/0.8737, allocations: 0.82 MB / 0.9765 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.8737, allocations: 0 / 0.9765 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.8737, allocations: 0 / 0.9765 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.8739, allocations: 227.7 kB / 0.9767 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/0.874, allocations: 15.36 kB / 0.9767 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005572/0.8746, allocations: 43.94 kB / 0.9768 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.283e-05/0.8747, allocations: 43.92 kB / 0.9768 GB, free: 177.4 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001289/0.876, allocations: 0.8512 MB / 0.9776 GB, free: 176.6 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009775/0.877, allocations: 1.007 MB / 0.9786 GB, free: 175.6 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002806/0.8773, allocations: 207.8 kB / 0.9788 GB, free: 175.4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007187/0.878, allocations: 0.8367 MB / 0.9796 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of Backend: time 4.61e-07/0.878, allocations: 0 / 0.9796 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002145/0.8801, allocations: 1.229 MB / 0.9808 GB, free: 173.3 MB / 0.7169 GB Notification: Performance of SimCode: time 0.00307/0.8832, allocations: 2.803 MB / 0.9836 GB, free: 170.5 MB / 0.7169 GB Notification: Performance of Templates: time 0.025/0.9082, allocations: 22.25 MB / 1.005 GB, free: 148.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)