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.00139/0.00139, allocations: 107.1 kB / 15.98 MB, free: 5.875 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.001544/0.001544, allocations: 197.6 kB / 16.91 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.344/1.344, allocations: 222.9 MB / 240.6 MB, free: 4.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7344/0.7344, allocations: 122.9 MB / 413.6 MB, free: 11.14 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0015/0.0015, allocations: 64.67 kB / 0.4906 GB, free: 14.28 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1631, allocations: 77.93 MB / 0.5667 GB, free: 0.5508 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4611/0.6242, allocations: 159.4 MB / 0.7223 GB, free: 8.441 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003282/0.6276, allocations: 1.758 MB / 0.7241 GB, free: 6.684 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002852/0.6279, allocations: 7.938 kB / 0.7241 GB, free: 6.676 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005391/0.6285, allocations: 147.2 kB / 0.7242 GB, free: 6.531 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001258/0.6297, allocations: 0.4942 MB / 0.7247 GB, free: 6.035 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.6309, allocations: 343.9 kB / 0.725 GB, free: 5.703 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.00261/0.6336, allocations: 2.554 MB / 0.7275 GB, free: 3.145 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001041/0.6346, allocations: 0.8935 MB / 0.7284 GB, free: 2.242 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.6361, allocations: 1.059 MB / 0.7294 GB, free: 1.18 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007893/0.6369, allocations: 0.7507 MB / 0.7302 GB, free: 436 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.413e-05/0.637, allocations: 52 kB / 0.7302 GB, free: 384 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001341/0.6384, allocations: 0.7561 MB / 0.7309 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003102/0.6387, allocations: 310.9 kB / 0.7312 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005813/0.6393, allocations: 0.5479 MB / 0.7318 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.6407, allocations: 1.406 MB / 0.7331 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.6407, allocations: 0 / 0.7331 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6407, allocations: 4 kB / 0.7331 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.159e-05/0.6408, allocations: 4 kB / 0.7332 GB, free: 13.34 MB / 0.5606 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.002136/0.6429, allocations: 1.451 MB / 0.7346 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.6429, allocations: 8.031 kB / 0.7346 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007263/0.6437, allocations: 190.5 kB / 0.7348 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001113/0.6448, allocations: 0.8021 MB / 0.7355 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.6449, allocations: 52.98 kB / 0.7356 GB, free: 10.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.527e-05/0.645, allocations: 56 kB / 0.7356 GB, free: 10.67 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.6461, allocations: 0.7934 MB / 0.7364 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.6462, allocations: 4 kB / 0.7364 GB, free: 9.801 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.954e-05/0.6462, allocations: 20 kB / 0.7364 GB, free: 9.781 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.892e-05/0.6462, allocations: 16.88 kB / 0.7365 GB, free: 9.766 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008768/0.6471, allocations: 0.5305 MB / 0.737 GB, free: 9.234 MB / 0.5606 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.003839/0.651, allocations: 4.591 MB / 0.7415 GB, free: 4.258 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007013/0.6517, allocations: 419.8 kB / 0.7419 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003738/0.6521, allocations: 241.4 kB / 0.7421 GB, free: 3.602 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/0.6524, allocations: 198.7 kB / 0.7423 GB, free: 3.371 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004786/0.6529, allocations: 293 kB / 0.7426 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.823e-06/0.6529, allocations: 0 / 0.7426 GB, free: 3.066 MB / 0.5606 GB Notification: Performance of matching and sorting (n=31): time 0.001328/0.6542, allocations: 0.636 MB / 0.7432 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.387e-05/0.6543, allocations: 81.11 kB / 0.7433 GB, free: 2.328 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/0.6555, allocations: 1.114 MB / 0.7443 GB, free: 1.195 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.298e-05/0.6556, allocations: 33.7 kB / 0.7444 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003747/0.6559, allocations: 492.1 kB / 0.7448 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.225e-05/0.656, allocations: 110.5 kB / 0.745 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.6562, allocations: 113.9 kB / 0.7451 GB, free: 456 kB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.6563, allocations: 337.9 kB / 0.7454 GB, free: 112 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003831/0.6567, allocations: 210.5 kB / 0.7456 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005955/0.6573, allocations: 0.5174 MB / 0.7461 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008688/0.6582, allocations: 0.6359 MB / 0.7467 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.6582, allocations: 3.938 kB / 0.7467 GB, free: 14.53 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001156/0.6594, allocations: 0.7157 MB / 0.7474 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.081e-05/0.6594, allocations: 38.34 kB / 0.7475 GB, free: 13.76 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.6595, allocations: 8 kB / 0.7475 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.6595, allocations: 12 kB / 0.7475 GB, free: 13.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004166/0.6599, allocations: 99.88 kB / 0.7476 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.6599, allocations: 15.92 kB / 0.7476 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006616/0.6606, allocations: 91.53 kB / 0.7477 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.248e-05/0.6607, allocations: 24 kB / 0.7477 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006676/0.6613, allocations: 0.5005 MB / 0.7482 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000594/0.662, allocations: 497.9 kB / 0.7487 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000749/0.6627, allocations: 0.5609 MB / 0.7492 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.428e-06/0.6627, allocations: 112 / 0.7492 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009878/0.6637, allocations: 0.6501 MB / 0.7498 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.762e-05/0.6638, allocations: 41.58 kB / 0.7499 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.6638, allocations: 4 kB / 0.7499 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.6638, allocations: 8 kB / 0.7499 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003519/0.6641, allocations: 103.9 kB / 0.75 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.979e-06/0.6642, allocations: 11.94 kB / 0.75 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006171/0.6648, allocations: 92.19 kB / 0.7501 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.514e-05/0.6648, allocations: 20 kB / 0.7501 GB, free: 10.8 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.0001689/0.665, allocations: 231.9 kB / 0.7503 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.6651, allocations: 98.78 kB / 0.7504 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008548/0.666, allocations: 490.1 kB / 0.7509 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.666, allocations: 4 kB / 0.7509 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.666, allocations: 0 / 0.7509 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.666, allocations: 4 kB / 0.7509 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001899/0.6679, allocations: 1.39 MB / 0.7523 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.569e-06/0.668, allocations: 4 kB / 0.7523 GB, free: 8.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000243/0.6682, allocations: 63.83 kB / 0.7523 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.6682, allocations: 4 kB / 0.7523 GB, free: 8.449 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.323e-05/0.6682, allocations: 8 kB / 0.7523 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.6682, allocations: 4 kB / 0.7523 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.6683, allocations: 4 kB / 0.7523 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007953/0.6691, allocations: 0.6064 MB / 0.7529 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002753/0.6693, allocations: 215.7 kB / 0.7531 GB, free: 7.559 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000107/0.6695, allocations: 8 kB / 0.7531 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000442/0.6699, allocations: 46.2 kB / 0.7532 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.661e-05/0.67, allocations: 27.97 kB / 0.7532 GB, free: 7.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.062e-05/0.67, allocations: 15.94 kB / 0.7532 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009374/0.671, allocations: 0.7914 MB / 0.754 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.671, allocations: 0 / 0.754 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001041/0.672, allocations: 407.4 kB / 0.7544 GB, free: 6.266 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.0004101/0.6724, allocations: 179.2 kB / 0.7546 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001367/0.6738, allocations: 0.8515 MB / 0.7554 GB, free: 5.215 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/0.6738, allocations: 3.938 kB / 0.7554 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.6742, allocations: 207.6 kB / 0.7556 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00177/0.676, allocations: 453.6 kB / 0.756 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.6786, allocations: 2.036 MB / 0.758 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006789/0.6793, allocations: 1.184 MB / 0.7592 GB, free: 1.266 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001002/0.6803, allocations: 407.6 kB / 0.7596 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001637/0.6805, allocations: 75.42 kB / 0.7596 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of SimCode: time 9.42e-07/0.6805, allocations: 0 / 0.7596 GB, free: 0.7891 MB / 0.5762 GB Notification: Performance of Templates: time 0.02794/0.7084, allocations: 16.95 MB / 0.7762 GB, free: 60 kB / 0.5919 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)