Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 87.23 kB / 16.66 MB, free: 5.863 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.001355/0.001355, allocations: 175.6 kB / 17.58 MB, free: 5.531 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.352/1.352, allocations: 223.3 MB / 241.6 MB, free: 192 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7402/0.7402, allocations: 115.5 MB / 408.2 MB, free: 7.074 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003423, allocations: 12.23 kB / 496.5 MB, free: 15.69 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4124/0.4128, allocations: 77.52 MB / 0.5606 GB, free: 36.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1693/0.5822, allocations: 157.3 MB / 0.7142 GB, free: 5.617 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.005167/0.5874, allocations: 3.586 MB / 0.7177 GB, free: 2.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003974/0.5878, allocations: 11.88 kB / 0.7177 GB, free: 2.008 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005727/0.5884, allocations: 139.2 kB / 0.7178 GB, free: 1.871 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.5898, allocations: 0.4941 MB / 0.7183 GB, free: 1.375 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001197/0.591, allocations: 389.3 kB / 0.7187 GB, free: 1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003302/0.5943, allocations: 3.487 MB / 0.7221 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001047/0.5954, allocations: 0.7505 MB / 0.7228 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001709/0.5971, allocations: 0.9063 MB / 0.7237 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008653/0.598, allocations: 0.7194 MB / 0.7244 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.723e-05/0.5981, allocations: 32 kB / 0.7244 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001528/0.5996, allocations: 0.799 MB / 0.7252 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002848/0.5999, allocations: 278.9 kB / 0.7255 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006214/0.6005, allocations: 0.5262 MB / 0.726 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.6016, allocations: 1.009 MB / 0.727 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.6016, allocations: 4 kB / 0.727 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.475e-06/0.6016, allocations: 0 / 0.727 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.308e-05/0.6016, allocations: 0 / 0.727 GB, free: 8.461 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.00193/0.6036, allocations: 1.276 MB / 0.7282 GB, free: 7.125 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6036, allocations: 15.97 kB / 0.7282 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007383/0.6044, allocations: 182.5 kB / 0.7284 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001128/0.6055, allocations: 0.7984 MB / 0.7292 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.113e-05/0.6056, allocations: 48.98 kB / 0.7293 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.076e-05/0.6057, allocations: 60 kB / 0.7293 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001181/0.6069, allocations: 0.7965 MB / 0.7301 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.6069, allocations: 3.938 kB / 0.7301 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.645e-05/0.6069, allocations: 24 kB / 0.7301 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.54e-05/0.607, allocations: 19.94 kB / 0.7301 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008945/0.6079, allocations: 0.5383 MB / 0.7307 GB, free: 4.504 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.004061/0.6119, allocations: 4.603 MB / 0.7352 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000741/0.6127, allocations: 428 kB / 0.7356 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003912/0.6131, allocations: 257.5 kB / 0.7358 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.6134, allocations: 190.2 kB / 0.736 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005139/0.6139, allocations: 305.1 kB / 0.7363 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 2.324e-06/0.6139, allocations: 0 / 0.7363 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.004022/0.618, allocations: 1.35 MB / 0.7376 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.021e-05/0.618, allocations: 89.11 kB / 0.7377 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001459/0.6195, allocations: 1.11 MB / 0.7388 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.98e-05/0.6196, allocations: 37.7 kB / 0.7388 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004163/0.62, allocations: 496.1 kB / 0.7393 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.6201, allocations: 106.5 kB / 0.7394 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.876e-05/0.6202, allocations: 45.69 kB / 0.7394 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6203, allocations: 322 kB / 0.7397 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000398/0.6207, allocations: 216.7 kB / 0.7399 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006114/0.6214, allocations: 0.5224 MB / 0.7404 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009107/0.6223, allocations: 0.6406 MB / 0.7411 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.6223, allocations: 0 / 0.7411 GB, free: 9.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002377/0.6247, allocations: 1.056 MB / 0.7421 GB, free: 8.008 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002116/0.6249, allocations: 275.2 kB / 0.7424 GB, free: 7.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.6249, allocations: 4 kB / 0.7424 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001369/0.6263, allocations: 364.3 kB / 0.7427 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002464/0.6266, allocations: 68.12 kB / 0.7428 GB, free: 7.227 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001069/0.6276, allocations: 1.006 MB / 0.7438 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000882/0.6285, allocations: 103.5 kB / 0.7439 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.879e-05/0.6286, allocations: 27.98 kB / 0.7439 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.395e-06/0.6286, allocations: 0 / 0.7439 GB, free: 6.066 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001361/0.63, allocations: 0.7285 MB / 0.7446 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.63, allocations: 4 kB / 0.7446 GB, free: 5.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005094/0.6305, allocations: 206.7 kB / 0.7448 GB, free: 5.121 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002122/0.6308, allocations: 67.91 kB / 0.7449 GB, free: 5.055 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003641/0.6344, allocations: 3.083 MB / 0.7479 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008723/0.6353, allocations: 95.53 kB / 0.748 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.281e-05/0.6353, allocations: 23.94 kB / 0.748 GB, free: 1.699 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 (34): * Single equations (assignments): 32 * 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,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006511/0.636, allocations: 465.4 kB / 0.7484 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001531/0.6362, allocations: 102.8 kB / 0.7485 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/0.6375, allocations: 0.7141 MB / 0.7492 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.6375, allocations: 4 kB / 0.7492 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.6375, allocations: 3.938 kB / 0.7492 GB, free: 408 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.142e-06/0.6375, allocations: 3.984 kB / 0.7492 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.313/0.9505, allocations: 1.609 MB / 0.7508 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.286e-06/0.9506, allocations: 4.938 kB / 0.7508 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.9507, allocations: 29.39 kB / 0.7508 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005517/0.9513, allocations: 220.4 kB / 0.7511 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.347e-05/0.9513, allocations: 10.72 kB / 0.7511 GB, free: 173.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001037/0.9524, allocations: 0.9813 MB / 0.752 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.9524, allocations: 2.828 kB / 0.752 GB, free: 173.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001566/0.954, allocations: 0.8478 MB / 0.7529 GB, free: 172.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/0.9544, allocations: 218.9 kB / 0.7531 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.9545, allocations: 9.953 kB / 0.7531 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000501/0.955, allocations: 55.44 kB / 0.7531 GB, free: 172.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.52e-05/0.9551, allocations: 29.97 kB / 0.7532 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.9552, allocations: 9.844 kB / 0.7532 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001256/0.9564, allocations: 0.794 MB / 0.7539 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9564, allocations: 0 / 0.7539 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001506/0.9579, allocations: 434.3 kB / 0.7544 GB, free: 172.3 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 (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005052/0.9584, allocations: 170.9 kB / 0.7545 GB, free: 172.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002234/0.9607, allocations: 1.08 MB / 0.7556 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.9607, allocations: 4.812 kB / 0.7556 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005268/0.9612, allocations: 236 kB / 0.7558 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.9637, allocations: 456.3 kB / 0.7562 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.9668, allocations: 2.124 MB / 0.7583 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008051/0.9676, allocations: 1.183 MB / 0.7595 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001557/0.9678, allocations: 63.97 kB / 0.7595 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of SimCode: time 2.023e-06/0.9678, allocations: 0 / 0.7595 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.03645/1.004, allocations: 20.23 MB / 0.7793 GB, free: 162.6 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)