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.001698/0.001698, allocations: 99.83 kB / 16.26 MB, free: 5.934 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.001845/0.001845, allocations: 186.1 kB / 17.2 MB, free: 5.574 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.362/1.362, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7507/0.7507, allocations: 122.9 MB / 413.9 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 59.91 kB / 0.4911 GB, free: 7.395 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3701/0.3716, allocations: 77.93 MB / 0.5672 GB, free: 32.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1738/0.5454, allocations: 161.6 MB / 0.725 GB, free: 8.621 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003084/0.5485, allocations: 1.771 MB / 0.7267 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002434/0.5487, allocations: 15.88 kB / 0.7267 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.5493, allocations: 158.9 kB / 0.7269 GB, free: 6.676 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.5507, allocations: 0.5289 MB / 0.7274 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.5517, allocations: 387.1 kB / 0.7278 GB, free: 5.773 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002506/0.5542, allocations: 2.52 MB / 0.7302 GB, free: 3.246 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001126/0.5553, allocations: 0.9294 MB / 0.7312 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001589/0.5569, allocations: 1.028 MB / 0.7322 GB, free: 1.27 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008173/0.5578, allocations: 0.7 MB / 0.7328 GB, free: 0.5664 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001141/0.5579, allocations: 56 kB / 0.7329 GB, free: 0.5117 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001379/0.5593, allocations: 0.7406 MB / 0.7336 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003196/0.5596, allocations: 306.9 kB / 0.7339 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005994/0.5602, allocations: 0.5401 MB / 0.7344 GB, free: 14.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.5617, allocations: 1.382 MB / 0.7358 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/0.5618, allocations: 4 kB / 0.7358 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5618, allocations: 0 / 0.7358 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.355e-05/0.5618, allocations: 0 / 0.7358 GB, free: 13.54 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.002299/0.5641, allocations: 1.447 MB / 0.7372 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.5641, allocations: 12.62 kB / 0.7372 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007564/0.5649, allocations: 186.5 kB / 0.7374 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001079/0.566, allocations: 0.8021 MB / 0.7382 GB, free: 10.97 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.999e-05/0.566, allocations: 45 kB / 0.7382 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.465e-05/0.5661, allocations: 67.88 kB / 0.7383 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/0.5672, allocations: 0.7888 MB / 0.7391 GB, free: 9.992 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/0.5673, allocations: 4 kB / 0.7391 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.74e-05/0.5673, allocations: 20 kB / 0.7391 GB, free: 9.969 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.5673, allocations: 16 kB / 0.7391 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008689/0.5682, allocations: 0.5344 MB / 0.7396 GB, free: 9.422 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.003768/0.572, allocations: 4.614 MB / 0.7441 GB, free: 4.422 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007063/0.5727, allocations: 418.3 kB / 0.7445 GB, free: 4.004 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003937/0.5731, allocations: 246.2 kB / 0.7448 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002836/0.5734, allocations: 194.2 kB / 0.7449 GB, free: 3.535 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004706/0.5739, allocations: 289 kB / 0.7452 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.643e-06/0.5739, allocations: 0 / 0.7452 GB, free: 3.234 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001327/0.5752, allocations: 0.6303 MB / 0.7458 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.065e-05/0.5753, allocations: 81.11 kB / 0.7459 GB, free: 2.5 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.5766, allocations: 1.114 MB / 0.747 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.204e-05/0.5766, allocations: 33.7 kB / 0.747 GB, free: 1.328 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004119/0.5771, allocations: 0.4923 MB / 0.7475 GB, free: 0.832 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.454e-05/0.5772, allocations: 106.5 kB / 0.7476 GB, free: 0.7266 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001686/0.5773, allocations: 109.9 kB / 0.7477 GB, free: 0.6133 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5775, allocations: 329.9 kB / 0.748 GB, free: 292 kB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003773/0.5778, allocations: 210.4 kB / 0.7482 GB, free: 80 kB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2306/0.8085, allocations: 0.5164 MB / 0.7487 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.8096, allocations: 0.6356 MB / 0.7494 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.622e-06/0.8096, allocations: 1.5 kB / 0.7494 GB, free: 171.4 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001603/0.8112, allocations: 0.7243 MB / 0.7501 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 6.55e-05/0.8113, allocations: 34.77 kB / 0.7501 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.949e-05/0.8113, allocations: 5.594 kB / 0.7501 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.622e-05/0.8114, allocations: 8.656 kB / 0.7501 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006009/0.812, allocations: 106.3 kB / 0.7502 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.195e-05/0.812, allocations: 13.78 kB / 0.7502 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008063/0.8128, allocations: 69.56 kB / 0.7503 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-05/0.8129, allocations: 29.42 kB / 0.7503 GB, free: 171.2 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009083/0.8138, allocations: 0.4936 MB / 0.7508 GB, free: 171 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005729/0.8144, allocations: 494.5 kB / 0.7513 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009032/0.8153, allocations: 0.5538 MB / 0.7518 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.831e-06/0.8153, allocations: 8 kB / 0.7518 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001452/0.8168, allocations: 0.6405 MB / 0.7524 GB, free: 170 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.113e-05/0.8168, allocations: 38.48 kB / 0.7525 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.8169, allocations: 9.375 kB / 0.7525 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.8169, allocations: 13.45 kB / 0.7525 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.8173, allocations: 98.31 kB / 0.7526 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.8174, allocations: 13.56 kB / 0.7526 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007392/0.8181, allocations: 71.03 kB / 0.7527 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/0.8182, allocations: 23.17 kB / 0.7527 GB, free: 169.9 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.0002532/0.8184, allocations: 222.2 kB / 0.7529 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.8186, allocations: 101.8 kB / 0.753 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001189/0.8198, allocations: 0.4897 MB / 0.7535 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.8199, allocations: 3.156 kB / 0.7535 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.8199, allocations: 1.438 kB / 0.7535 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.8199, allocations: 2.016 kB / 0.7535 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002405/0.8223, allocations: 1.394 MB / 0.7549 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.815e-06/0.8223, allocations: 5.438 kB / 0.7549 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002951/0.8226, allocations: 64.38 kB / 0.7549 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.103e-05/0.8226, allocations: 3.125 kB / 0.7549 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.231e-05/0.8227, allocations: 10.78 kB / 0.7549 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.061e-05/0.8227, allocations: 3.125 kB / 0.7549 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/0.8227, allocations: 2.062 kB / 0.7549 GB, free: 168.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009917/0.8237, allocations: 0.6042 MB / 0.7555 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000265/0.824, allocations: 215.6 kB / 0.7557 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.8241, allocations: 8.578 kB / 0.7557 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.8245, allocations: 21.42 kB / 0.7558 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/0.8246, allocations: 28.92 kB / 0.7558 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.8246, allocations: 14.53 kB / 0.7558 GB, free: 168.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001067/0.8257, allocations: 0.7906 MB / 0.7566 GB, free: 168 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.443e-06/0.8257, allocations: 0 / 0.7566 GB, free: 168 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00125/0.827, allocations: 410.6 kB / 0.757 GB, free: 168 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.0004109/0.8274, allocations: 177.2 kB / 0.7571 GB, free: 167.9 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.829, allocations: 0.8573 MB / 0.758 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.829, allocations: 2.031 kB / 0.758 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00038/0.8294, allocations: 202.9 kB / 0.7582 GB, free: 167.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001877/0.8312, allocations: 449 kB / 0.7586 GB, free: 167.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.8338, allocations: 1.756 MB / 0.7603 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006594/0.8344, allocations: 1.177 MB / 0.7615 GB, free: 165.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001062/0.8355, allocations: 404.7 kB / 0.7618 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.8357, allocations: 79.48 kB / 0.7619 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of SimCode: time 4.8e-07/0.8357, allocations: 0 / 0.7619 GB, free: 165.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.02767/0.8634, allocations: 17.07 MB / 0.7786 GB, free: 156.2 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)