Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009683/0.0009683, allocations: 106 kB / 15.98 MB, free: 6.348 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.001133/0.001133, allocations: 195.2 kB / 16.91 MB, free: 6.191 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.332/1.332, allocations: 222.9 MB / 240.6 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.757/0.757, allocations: 126.1 MB / 416.8 MB, free: 13.07 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001237, allocations: 64.09 kB / 0.4945 GB, free: 3.898 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3441, allocations: 78.7 MB / 0.5713 GB, free: 30.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1728/0.5169, allocations: 159.4 MB / 0.727 GB, free: 6.953 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002995/0.5199, allocations: 1.733 MB / 0.7287 GB, free: 5.215 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000296/0.5202, allocations: 11.94 kB / 0.7287 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005554/0.5208, allocations: 139.2 kB / 0.7288 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001257/0.5221, allocations: 0.5058 MB / 0.7293 GB, free: 4.559 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.5231, allocations: 350.4 kB / 0.7296 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00258/0.5257, allocations: 2.553 MB / 0.7321 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001069/0.5268, allocations: 0.8942 MB / 0.733 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.5283, allocations: 1.07 MB / 0.7341 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008426/0.5292, allocations: 0.7429 MB / 0.7348 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.5293, allocations: 56 kB / 0.7348 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.5306, allocations: 0.76 MB / 0.7356 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003161/0.531, allocations: 310.9 kB / 0.7359 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005891/0.5316, allocations: 0.5362 MB / 0.7364 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.5331, allocations: 1.417 MB / 0.7378 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.5331, allocations: 0 / 0.7378 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5331, allocations: 4 kB / 0.7378 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.5331, allocations: 0 / 0.7378 GB, free: 11.84 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002229/0.5354, allocations: 1.443 MB / 0.7392 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.5354, allocations: 8.031 kB / 0.7392 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007816/0.5362, allocations: 190.5 kB / 0.7394 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.5374, allocations: 0.8022 MB / 0.7402 GB, free: 9.281 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.643e-05/0.5374, allocations: 41 kB / 0.7402 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/0.5376, allocations: 60 kB / 0.7403 GB, free: 9.184 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001176/0.5387, allocations: 0.795 MB / 0.741 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.5388, allocations: 0 / 0.741 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.137e-05/0.5388, allocations: 27.98 kB / 0.7411 GB, free: 8.289 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.329e-05/0.5389, allocations: 12 kB / 0.7411 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008892/0.5398, allocations: 0.5422 MB / 0.7416 GB, free: 7.734 MB / 0.5762 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.004065/0.5438, allocations: 4.587 MB / 0.7461 GB, free: 2.766 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007074/0.5445, allocations: 412.9 kB / 0.7465 GB, free: 2.355 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003798/0.5449, allocations: 249.5 kB / 0.7467 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003201/0.5453, allocations: 194.2 kB / 0.7469 GB, free: 1.883 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005165/0.5458, allocations: 297 kB / 0.7472 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/0.5458, allocations: 0 / 0.7472 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001391/0.5472, allocations: 0.632 MB / 0.7478 GB, free: 0.9375 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.152e-05/0.5473, allocations: 81.11 kB / 0.7479 GB, free: 0.8398 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.292/0.8393, allocations: 1.115 MB / 0.749 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001499/0.8395, allocations: 39.12 kB / 0.749 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000486/0.84, allocations: 497.1 kB / 0.7495 GB, free: 170 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001133/0.8401, allocations: 107.9 kB / 0.7496 GB, free: 170 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002196/0.8403, allocations: 111.4 kB / 0.7497 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.747e-05/0.8404, allocations: 325.9 kB / 0.75 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004988/0.8409, allocations: 214.2 kB / 0.7502 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006663/0.8416, allocations: 0.5166 MB / 0.7507 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009803/0.8426, allocations: 0.637 MB / 0.7513 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/0.8426, allocations: 2.906 kB / 0.7513 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001503/0.8441, allocations: 0.72 MB / 0.752 GB, free: 168.5 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.266e-05/0.8442, allocations: 38.17 kB / 0.7521 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.8442, allocations: 6.188 kB / 0.7521 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.252e-05/0.8442, allocations: 8.375 kB / 0.7521 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.8447, allocations: 106.8 kB / 0.7522 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.926e-05/0.8448, allocations: 15.33 kB / 0.7522 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007805/0.8455, allocations: 101 kB / 0.7523 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-05/0.8456, allocations: 25.77 kB / 0.7523 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008269/0.8464, allocations: 0.497 MB / 0.7528 GB, free: 168.2 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005746/0.847, allocations: 494.2 kB / 0.7533 GB, free: 167.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008087/0.8478, allocations: 0.5554 MB / 0.7538 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.93e-06/0.8479, allocations: 1.719 kB / 0.7538 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001264/0.8491, allocations: 0.6406 MB / 0.7545 GB, free: 167.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.451e-05/0.8492, allocations: 41.05 kB / 0.7545 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.8492, allocations: 6 kB / 0.7545 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.8492, allocations: 16.42 kB / 0.7545 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000411/0.8496, allocations: 97.23 kB / 0.7546 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/0.8497, allocations: 14.05 kB / 0.7546 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008572/0.8505, allocations: 90.38 kB / 0.7547 GB, free: 167.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.8506, allocations: 22.8 kB / 0.7547 GB, free: 167.1 MB / 0.5762 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_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002624/0.8509, allocations: 215.4 kB / 0.7549 GB, free: 166.9 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001828/0.8511, allocations: 98.66 kB / 0.755 GB, free: 166.8 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001327/0.8524, allocations: 0.4934 MB / 0.7555 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.8524, allocations: 7.375 kB / 0.7555 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.478e-06/0.8524, allocations: 1.234 kB / 0.7555 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.635e-06/0.8524, allocations: 2.516 kB / 0.7555 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.8549, allocations: 1.386 MB / 0.7569 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.8549, allocations: 2.375 kB / 0.7569 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002634/0.8551, allocations: 64.33 kB / 0.7569 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.8552, allocations: 3.375 kB / 0.7569 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.8552, allocations: 10.23 kB / 0.7569 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.081e-06/0.8552, allocations: 3.938 kB / 0.757 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.8552, allocations: 3.438 kB / 0.757 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009147/0.8561, allocations: 0.6045 MB / 0.7575 GB, free: 165.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003403/0.8565, allocations: 217.3 kB / 0.7578 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001212/0.8566, allocations: 9.703 kB / 0.7578 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004629/0.8571, allocations: 41.7 kB / 0.7578 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.8572, allocations: 32.91 kB / 0.7578 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.573e-05/0.8572, allocations: 13.58 kB / 0.7578 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001206/0.8585, allocations: 0.7908 MB / 0.7586 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8585, allocations: 4.875 kB / 0.7586 GB, free: 165.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00149/0.86, allocations: 408.1 kB / 0.759 GB, free: 165.1 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004725/0.8604, allocations: 178.5 kB / 0.7592 GB, free: 165 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001586/0.862, allocations: 0.8617 MB / 0.76 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.8621, allocations: 1.875 kB / 0.76 GB, free: 164.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003652/0.8624, allocations: 200.6 kB / 0.7602 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002021/0.8645, allocations: 459.4 kB / 0.7607 GB, free: 164.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.8676, allocations: 2.044 MB / 0.7627 GB, free: 163.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/0.8684, allocations: 1.176 MB / 0.7638 GB, free: 162.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001172/0.8695, allocations: 407.5 kB / 0.7642 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.8697, allocations: 79.05 kB / 0.7643 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.032e-06/0.8697, allocations: 0 / 0.7643 GB, free: 162.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.02937/0.8991, allocations: 16.95 MB / 0.7808 GB, free: 150.8 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)