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.0008159/0.0008158, allocations: 99.12 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008979/0.0008979, allocations: 183.9 kB / 16.92 MB, free: 6.754 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.334/1.334, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7539/0.7539, allocations: 123 MB / 415.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 8.625 kB / 0.4933 GB, free: 13.97 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3864, allocations: 79.29 MB / 0.5707 GB, free: 9.895 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1719/0.5584, allocations: 157.3 MB / 0.7243 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003266/0.5617, allocations: 1.771 MB / 0.7261 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005376/0.5622, allocations: 7.938 kB / 0.7261 GB, free: 13.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0006662/0.5629, allocations: 139.2 kB / 0.7262 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001549/0.5645, allocations: 0.4902 MB / 0.7267 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.5656, allocations: 347.1 kB / 0.727 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003541/0.5692, allocations: 3.479 MB / 0.7304 GB, free: 8.559 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001176/0.5704, allocations: 0.7505 MB / 0.7311 GB, free: 7.793 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001714/0.5721, allocations: 0.8947 MB / 0.732 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001142/0.5732, allocations: 0.7233 MB / 0.7327 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001638/0.5734, allocations: 32 kB / 0.7327 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001615/0.575, allocations: 0.799 MB / 0.7335 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004279/0.5755, allocations: 278.9 kB / 0.7338 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009352/0.5764, allocations: 0.5262 MB / 0.7343 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001843/0.5783, allocations: 1.37 MB / 0.7356 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.5783, allocations: 0 / 0.7356 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5783, allocations: 0 / 0.7356 GB, free: 3.152 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.051e-05/0.5783, allocations: 0 / 0.7356 GB, free: 3.152 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.002186/0.5805, allocations: 1.269 MB / 0.7369 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.5806, allocations: 8.031 kB / 0.7369 GB, free: 1.816 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008389/0.5814, allocations: 178.5 kB / 0.7371 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001299/0.5827, allocations: 0.806 MB / 0.7379 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.581e-05/0.5828, allocations: 41 kB / 0.7379 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.354e-05/0.5829, allocations: 60 kB / 0.7379 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.5842, allocations: 0.8043 MB / 0.7387 GB, free: 15.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.5842, allocations: 8 kB / 0.7387 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.518e-05/0.5843, allocations: 20 kB / 0.7388 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.5843, allocations: 19.94 kB / 0.7388 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001011/0.5853, allocations: 0.5423 MB / 0.7393 GB, free: 15.21 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.004516/0.5899, allocations: 4.606 MB / 0.7438 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007392/0.5906, allocations: 418.3 kB / 0.7442 GB, free: 9.801 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004048/0.591, allocations: 249.2 kB / 0.7444 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003131/0.5913, allocations: 198.2 kB / 0.7446 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005284/0.5919, allocations: 309 kB / 0.7449 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 3.537e-06/0.5919, allocations: 3.984 kB / 0.7449 GB, free: 9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001371/0.5933, allocations: 0.6438 MB / 0.7456 GB, free: 8.352 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.5933, allocations: 81.11 kB / 0.7456 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.5947, allocations: 1.118 MB / 0.7467 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.965e-05/0.5948, allocations: 37.7 kB / 0.7468 GB, free: 7.074 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003999/0.5952, allocations: 488.1 kB / 0.7472 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.56e-05/0.5953, allocations: 110.5 kB / 0.7473 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.535e-05/0.5954, allocations: 49.92 kB / 0.7474 GB, free: 6.426 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.5955, allocations: 325.9 kB / 0.7477 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.5959, allocations: 212.6 kB / 0.7479 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/0.5965, allocations: 0.5292 MB / 0.7484 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009108/0.5974, allocations: 0.6399 MB / 0.749 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.5974, allocations: 4 kB / 0.749 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001229/0.5987, allocations: 0.7273 MB / 0.7498 GB, free: 3.773 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001763/0.5989, allocations: 281.8 kB / 0.75 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.089e-05/0.5989, allocations: 4 kB / 0.75 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.296e-05/0.5989, allocations: 11.94 kB / 0.75 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004437/0.5994, allocations: 119.8 kB / 0.7502 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.337e-05/0.5994, allocations: 11.94 kB / 0.7502 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000685/0.6001, allocations: 91.53 kB / 0.7502 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.167e-05/0.6001, allocations: 27.98 kB / 0.7503 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.6002, allocations: 4 kB / 0.7503 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009076/0.6011, allocations: 0.5327 MB / 0.7508 GB, free: 2.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.6011, allocations: 8.094 kB / 0.7508 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.885e-06/0.6011, allocations: 8 kB / 0.7508 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003636/0.6015, allocations: 107.8 kB / 0.7509 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.6015, allocations: 11.94 kB / 0.7509 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006389/0.6021, allocations: 95.56 kB / 0.751 GB, free: 2.387 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.6022, allocations: 20 kB / 0.751 GB, free: 2.367 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.0004786/0.6027, allocations: 483.2 kB / 0.7515 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.6028, allocations: 102.7 kB / 0.7516 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009354/0.6037, allocations: 0.495 MB / 0.7521 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.12e-06/0.6038, allocations: 4 kB / 0.7521 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.182e-06/0.6038, allocations: 4.375 kB / 0.7521 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.6038, allocations: 0 / 0.7521 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.6058, allocations: 1.397 MB / 0.7535 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.6058, allocations: 4 kB / 0.7535 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.6061, allocations: 63.95 kB / 0.7535 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.774e-06/0.6061, allocations: 12.14 kB / 0.7535 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.33e-05/0.6061, allocations: 12 kB / 0.7535 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.6061, allocations: 7.938 kB / 0.7535 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6061, allocations: 0 / 0.7535 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008324/0.607, allocations: 0.61 MB / 0.7541 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002823/0.6073, allocations: 219.8 kB / 0.7544 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001074/0.6074, allocations: 12 kB / 0.7544 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004817/0.6079, allocations: 47.83 kB / 0.7544 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.902e-05/0.608, allocations: 35.95 kB / 0.7544 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/0.608, allocations: 8 kB / 0.7545 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009478/0.6089, allocations: 0.7875 MB / 0.7552 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6089, allocations: 0 / 0.7552 GB, free: 13.92 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001063/0.61, allocations: 411.4 kB / 0.7556 GB, free: 13.52 MB / 0.5919 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.0003766/0.6104, allocations: 165.2 kB / 0.7558 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001368/0.6118, allocations: 0.8351 MB / 0.7566 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6118, allocations: 0 / 0.7566 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003804/0.6122, allocations: 213.2 kB / 0.7568 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.6145, allocations: 456 kB / 0.7572 GB, free: 11.85 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0028/0.6173, allocations: 2.046 MB / 0.7592 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007428/0.6181, allocations: 1.181 MB / 0.7604 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001105/0.6192, allocations: 423.6 kB / 0.7608 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.6194, allocations: 71.44 kB / 0.7608 GB, free: 8.043 MB / 0.5919 GB Notification: Performance of SimCode: time 4.61e-07/0.6194, allocations: 4 kB / 0.7609 GB, free: 8.039 MB / 0.5919 GB Notification: Performance of Templates: time 0.02702/0.6464, allocations: 16.41 MB / 0.7769 GB, free: 7.84 MB / 0.6075 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)