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.001221/0.001221, allocations: 106.2 kB / 16.52 MB, free: 6.656 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.001218/0.001218, allocations: 195.2 kB / 17.44 MB, free: 6.047 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.315/1.315, allocations: 222.9 MB / 241.1 MB, free: 15.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7149/0.7149, allocations: 115.3 MB / 406.6 MB, free: 6.379 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 63.91 kB / 493.6 MB, free: 0.8203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4144/0.4164, allocations: 76.18 MB / 0.5564 GB, free: 36.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.1729/0.5893, allocations: 159.4 MB / 0.712 GB, free: 4.828 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.004962/0.5943, allocations: 3.644 MB / 0.7155 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003811/0.5947, allocations: 7.938 kB / 0.7156 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005801/0.5954, allocations: 135.2 kB / 0.7157 GB, free: 1.031 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001255/0.5966, allocations: 0.4941 MB / 0.7162 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.5977, allocations: 390.6 kB / 0.7165 GB, free: 164 kB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003218/0.601, allocations: 3.486 MB / 0.7199 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001014/0.602, allocations: 0.7703 MB / 0.7207 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001677/0.6037, allocations: 0.9103 MB / 0.7216 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00088/0.6046, allocations: 0.7272 MB / 0.7223 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.295e-05/0.6047, allocations: 40 kB / 0.7223 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001532/0.6062, allocations: 0.8068 MB / 0.7231 GB, free: 9.402 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003001/0.6065, allocations: 282.9 kB / 0.7234 GB, free: 9.125 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00066/0.6072, allocations: 0.5166 MB / 0.7239 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00109/0.6083, allocations: 1.021 MB / 0.7249 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.6083, allocations: 0 / 0.7249 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.282e-06/0.6083, allocations: 0 / 0.7249 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.13e-05/0.6083, allocations: 0 / 0.7249 GB, free: 7.582 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.002241/0.6106, allocations: 1.449 MB / 0.7263 GB, free: 6.074 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.6106, allocations: 15.97 kB / 0.7263 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007586/0.6114, allocations: 186.5 kB / 0.7265 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.6126, allocations: 0.8062 MB / 0.7273 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.157e-05/0.6126, allocations: 45 kB / 0.7273 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.356e-05/0.6127, allocations: 60 kB / 0.7274 GB, free: 4.906 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001119/0.6139, allocations: 0.7964 MB / 0.7282 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.6139, allocations: 0 / 0.7282 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.302e-05/0.6139, allocations: 24 kB / 0.7282 GB, free: 4.012 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.991e-05/0.614, allocations: 16 kB / 0.7282 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008918/0.6149, allocations: 0.5382 MB / 0.7287 GB, free: 3.453 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.003975/0.6188, allocations: 4.579 MB / 0.7332 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006935/0.6196, allocations: 424.4 kB / 0.7336 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003688/0.6199, allocations: 249.3 kB / 0.7338 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002913/0.6202, allocations: 190.2 kB / 0.734 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004877/0.6207, allocations: 301 kB / 0.7343 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.944e-06/0.6207, allocations: 0 / 0.7343 GB, free: 13.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.003887/0.6246, allocations: 1.311 MB / 0.7356 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.6247, allocations: 89.11 kB / 0.7357 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/0.6261, allocations: 1.118 MB / 0.7368 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.498e-05/0.6261, allocations: 37.7 kB / 0.7368 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.6266, allocations: 492.1 kB / 0.7373 GB, free: 10.17 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.935e-05/0.6267, allocations: 114.5 kB / 0.7374 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.6269, allocations: 109.9 kB / 0.7375 GB, free: 9.945 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.627, allocations: 326 kB / 0.7378 GB, free: 9.621 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.6274, allocations: 214.4 kB / 0.738 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005898/0.628, allocations: 0.5224 MB / 0.7385 GB, free: 8.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008288/0.6288, allocations: 0.6291 MB / 0.7391 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.6288, allocations: 0 / 0.7391 GB, free: 8.043 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002364/0.6312, allocations: 1.042 MB / 0.7401 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.474e-05/0.6312, allocations: 42 kB / 0.7402 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.6313, allocations: 4 kB / 0.7402 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00145/0.6327, allocations: 364.3 kB / 0.7405 GB, free: 6.574 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.6329, allocations: 59.84 kB / 0.7406 GB, free: 6.516 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.634, allocations: 1.014 MB / 0.7416 GB, free: 5.477 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008004/0.6348, allocations: 99.44 kB / 0.7417 GB, free: 5.379 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.382e-05/0.6349, allocations: 27.98 kB / 0.7417 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007234/0.6356, allocations: 0.4889 MB / 0.7422 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005263/0.6361, allocations: 497.9 kB / 0.7427 GB, free: 4.238 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007013/0.6368, allocations: 0.545 MB / 0.7432 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.6369, allocations: 0 / 0.7432 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001573/0.6384, allocations: 0.8261 MB / 0.744 GB, free: 2.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.6385, allocations: 39.42 kB / 0.744 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.6385, allocations: 7.938 kB / 0.744 GB, free: 2.719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005108/0.639, allocations: 207 kB / 0.7442 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.6392, allocations: 59.91 kB / 0.7443 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2813/0.9205, allocations: 3.071 MB / 0.7473 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009625/0.9215, allocations: 91.83 kB / 0.7474 GB, free: 172.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.228e-05/0.9216, allocations: 23.16 kB / 0.7474 GB, free: 172.6 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.000188/0.9218, allocations: 213.5 kB / 0.7476 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.9219, allocations: 99.86 kB / 0.7477 GB, free: 172.4 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001494/0.9234, allocations: 0.7117 MB / 0.7484 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.9235, allocations: 3.375 kB / 0.7484 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.9235, allocations: 2.344 kB / 0.7484 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.146e-06/0.9235, allocations: 6.641 kB / 0.7484 GB, free: 172.3 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002505/0.926, allocations: 1.602 MB / 0.75 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.926, allocations: 6.5 kB / 0.75 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001152/0.9261, allocations: 23.14 kB / 0.75 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004867/0.9266, allocations: 226.6 kB / 0.7502 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.518e-05/0.9267, allocations: 9.562 kB / 0.7502 GB, free: 171.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008267/0.9275, allocations: 0.985 MB / 0.7512 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/0.9275, allocations: 1.938 kB / 0.7512 GB, free: 171 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001281/0.9288, allocations: 0.8285 MB / 0.752 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003253/0.9291, allocations: 218.1 kB / 0.7522 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.9292, allocations: 8.125 kB / 0.7522 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000478/0.9297, allocations: 49.28 kB / 0.7523 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.9298, allocations: 30.8 kB / 0.7523 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.9299, allocations: 10.27 kB / 0.7523 GB, free: 170.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001282/0.9312, allocations: 0.8005 MB / 0.7531 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9312, allocations: 1.531 kB / 0.7531 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001377/0.9326, allocations: 434.7 kB / 0.7535 GB, free: 170.2 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.0004783/0.9331, allocations: 169.3 kB / 0.7537 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001965/0.935, allocations: 1.054 MB / 0.7547 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/0.9351, allocations: 5.562 kB / 0.7547 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004887/0.9355, allocations: 231.3 kB / 0.7549 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001993/0.9376, allocations: 463.1 kB / 0.7554 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002988/0.9405, allocations: 2.108 MB / 0.7574 GB, free: 168.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008637/0.9414, allocations: 1.187 MB / 0.7586 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.9416, allocations: 60.11 kB / 0.7586 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of SimCode: time 1.082e-06/0.9416, allocations: 0 / 0.7586 GB, free: 167.6 MB / 0.5762 GB Notification: Performance of Templates: time 0.03893/0.9806, allocations: 20.4 MB / 0.7786 GB, free: 160.5 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)