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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4886/0.4886, allocations: 87.5 MB / 104.9 MB, free: 12.99 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 349.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 107.2 kB / 420 MB, free: 8.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001021/0.001021, allocations: 55.92 kB / 0.4891 GB, free: 7.672 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3108, allocations: 70.06 MB / 0.5575 GB, free: 44.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4414/0.7522, allocations: 159.3 MB / 0.7131 GB, free: 1.715 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.002966/0.7552, allocations: 1.781 MB / 0.7148 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003518/0.7556, allocations: 9.25 kB / 0.7149 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005518/0.7563, allocations: 133.4 kB / 0.715 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001235/0.7575, allocations: 0.4987 MB / 0.7155 GB, free: 1.648 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.7586, allocations: 340.1 kB / 0.7158 GB, free: 1.641 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003465/0.7621, allocations: 3.497 MB / 0.7192 GB, free: 1.629 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009097/0.763, allocations: 0.7534 MB / 0.7199 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00156/0.7646, allocations: 0.9299 MB / 0.7208 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007506/0.7654, allocations: 0.7225 MB / 0.7216 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 8.733e-05/0.7654, allocations: 37.34 kB / 0.7216 GB, free: 1.5 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001357/0.7668, allocations: 0.8038 MB / 0.7224 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002646/0.7671, allocations: 289.7 kB / 0.7227 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006554/0.7678, allocations: 0.5196 MB / 0.7232 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001445/0.7692, allocations: 1.378 MB / 0.7245 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.7692, allocations: 3.094 kB / 0.7245 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.512e-06/0.7692, allocations: 0 / 0.7245 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.18e-05/0.7692, allocations: 0 / 0.7245 GB, free: 1.387 MB / 0.5105 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.002214/0.7715, allocations: 1.445 MB / 0.7259 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.7715, allocations: 10.53 kB / 0.7259 GB, free: 16.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006868/0.7722, allocations: 188.9 kB / 0.7261 GB, free: 16.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00125/0.7735, allocations: 0.7979 MB / 0.7269 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.811e-05/0.7735, allocations: 44.25 kB / 0.7269 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.629e-05/0.7736, allocations: 59.81 kB / 0.727 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001224/0.7748, allocations: 0.7952 MB / 0.7278 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.18e-05/0.7749, allocations: 4.562 kB / 0.7278 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.728e-05/0.7749, allocations: 21.53 kB / 0.7278 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.324e-05/0.775, allocations: 13.38 kB / 0.7278 GB, free: 15.88 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001212/0.7762, allocations: 0.5422 MB / 0.7283 GB, free: 15.88 MB / 0.5261 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.004949/0.7812, allocations: 4.584 MB / 0.7328 GB, free: 12.42 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007692/0.7819, allocations: 411 kB / 0.7332 GB, free: 12.4 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003977/0.7824, allocations: 246 kB / 0.7334 GB, free: 12.39 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003495/0.7827, allocations: 195.2 kB / 0.7336 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005611/0.7833, allocations: 300.5 kB / 0.7339 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=31): time 2.485e-06/0.7833, allocations: 1.203 kB / 0.7339 GB, free: 12.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=31): time 0.00146/0.7848, allocations: 0.6279 MB / 0.7345 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.753e-05/0.7849, allocations: 89.36 kB / 0.7346 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/0.7863, allocations: 1.11 MB / 0.7357 GB, free: 11.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.313e-05/0.7864, allocations: 37.39 kB / 0.7357 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003862/0.7868, allocations: 498.2 kB / 0.7362 GB, free: 11.58 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.867e-05/0.7869, allocations: 109.8 kB / 0.7363 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001603/0.7871, allocations: 117.5 kB / 0.7364 GB, free: 11.49 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.7872, allocations: 323.7 kB / 0.7367 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003301/0.7875, allocations: 213.6 kB / 0.7369 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000544/0.7881, allocations: 0.5182 MB / 0.7374 GB, free: 10.82 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007493/0.7889, allocations: 0.6308 MB / 0.7381 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.7889, allocations: 2.531 kB / 0.7381 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001112/0.79, allocations: 0.7252 MB / 0.7388 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.473e-05/0.79, allocations: 33.08 kB / 0.7388 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.1e-05/0.7901, allocations: 9.109 kB / 0.7388 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.7901, allocations: 7.781 kB / 0.7388 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004078/0.7905, allocations: 110.6 kB / 0.7389 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.199e-05/0.7905, allocations: 8.344 kB / 0.7389 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007506/0.7913, allocations: 97.17 kB / 0.739 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.092e-05/0.7913, allocations: 32.44 kB / 0.739 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006179/0.792, allocations: 0.5019 MB / 0.7395 GB, free: 10.31 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004765/0.7925, allocations: 487.8 kB / 0.74 GB, free: 9.953 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006625/0.7931, allocations: 0.5578 MB / 0.7405 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.048e-06/0.7931, allocations: 2.812 kB / 0.7405 GB, free: 9.715 MB / 0.5261 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0009343/0.7941, allocations: 0.6375 MB / 0.7412 GB, free: 9.602 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.772e-05/0.7941, allocations: 41.3 kB / 0.7412 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.7941, allocations: 5.938 kB / 0.7412 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.406e-06/0.7941, allocations: 6.875 kB / 0.7412 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003284/0.7945, allocations: 111.6 kB / 0.7413 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.7945, allocations: 9.125 kB / 0.7413 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006541/0.7952, allocations: 93.72 kB / 0.7414 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.519e-05/0.7952, allocations: 22.16 kB / 0.7414 GB, free: 9.539 MB / 0.5261 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.0001633/0.7954, allocations: 216.6 kB / 0.7417 GB, free: 9.355 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.7955, allocations: 103.5 kB / 0.7418 GB, free: 9.301 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008196/0.7963, allocations: 0.4918 MB / 0.7422 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.3e-06/0.7963, allocations: 3.438 kB / 0.7422 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.7963, allocations: 2.906 kB / 0.7422 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7963, allocations: 2.281 kB / 0.7422 GB, free: 9.238 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001833/0.7982, allocations: 1.381 MB / 0.7436 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.7982, allocations: 4.797 kB / 0.7436 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.7984, allocations: 62.81 kB / 0.7437 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.7984, allocations: 3.406 kB / 0.7437 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/0.7985, allocations: 8.969 kB / 0.7437 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.7985, allocations: 7.656 kB / 0.7437 GB, free: 8.793 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.7985, allocations: 11.19 kB / 0.7437 GB, free: 8.785 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001401/0.7999, allocations: 1.538 MB / 0.7452 GB, free: 7.922 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000331/0.8002, allocations: 219.5 kB / 0.7454 GB, free: 7.77 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.452e-05/0.8003, allocations: 12.27 kB / 0.7454 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004221/0.8008, allocations: 42.09 kB / 0.7454 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.02e-05/0.8008, allocations: 30.97 kB / 0.7455 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.106e-05/0.8009, allocations: 13.41 kB / 0.7455 GB, free: 7.762 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008074/0.8017, allocations: 0.7923 MB / 0.7463 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8017, allocations: 0 / 0.7463 GB, free: 7.648 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001212/0.8029, allocations: 420.2 kB / 0.7467 GB, free: 7.609 MB / 0.5261 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.0003995/0.8033, allocations: 162.7 kB / 0.7468 GB, free: 7.512 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001198/0.8045, allocations: 0.8185 MB / 0.7476 GB, free: 7.371 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.8045, allocations: 3.938 kB / 0.7476 GB, free: 7.367 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0003129/0.8049, allocations: 211.2 kB / 0.7478 GB, free: 7.363 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001951/0.8068, allocations: 454.2 kB / 0.7483 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002926/0.8098, allocations: 2.27 MB / 0.7505 GB, free: 6.215 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007521/0.8105, allocations: 1.183 MB / 0.7516 GB, free: 5.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00118/0.8117, allocations: 423.7 kB / 0.752 GB, free: 5.445 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001605/0.8119, allocations: 72.89 kB / 0.7521 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of SimCode: time 7.92e-07/0.8119, allocations: 1.094 kB / 0.7521 GB, free: 5.438 MB / 0.5261 GB Notification: Performance of Templates: time 0.0275/0.8394, allocations: 16.9 MB / 0.7686 GB, free: 13.44 MB / 0.5417 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)