Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001184/0.001184, allocations: 191.4 kB / 7.801 MB, free: 2.496 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4632/0.4632, allocations: 90.85 MB / 99.07 MB, free: 14.91 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.274/1.274, allocations: 221.4 MB / 342.8 MB, free: 5.117 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.001027/0.001027, allocations: 90.88 kB / 415.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 1.01e-05/1.014e-05, allocations: 4 kB / 493.9 MB, free: 8.055 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3851, allocations: 72.31 MB / 0.5529 GB, free: 73.31 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.63/4.015, allocations: 1.822 GB / 2.375 GB, free: 3.418 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002437/4.015, allocations: 92.94 kB / 2.375 GB, free: 3.328 MB / 0.6042 GB Notification: Performance of FrontEnd: time 6.894/10.91, allocations: 1.998 GB / 4.373 GB, free: 102.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001749/10.91, allocations: 37.55 kB / 4.373 GB, free: 102.5 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004603/10.91, allocations: 1.355 MB / 4.374 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/10.91, allocations: 15.97 kB / 4.374 GB, free: 101.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/10.92, allocations: 202.3 kB / 4.374 GB, free: 101 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004059/10.92, allocations: 1.426 MB / 4.376 GB, free: 99.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.76e-05/10.92, allocations: 16 kB / 4.376 GB, free: 99.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001655/10.92, allocations: 40 kB / 4.376 GB, free: 99.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001069/10.92, allocations: 0.7248 MB / 4.377 GB, free: 98.74 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001091/10.92, allocations: 0.8705 MB / 4.377 GB, free: 97.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.997e-05/10.92, allocations: 6.781 kB / 4.377 GB, free: 97.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.977e-05/10.92, allocations: 4 kB / 4.377 GB, free: 97.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.522e-05/10.92, allocations: 12 kB / 4.377 GB, free: 97.78 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004112/10.93, allocations: 4.722 MB / 4.382 GB, free: 92.79 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006967/10.93, allocations: 0.518 MB / 4.383 GB, free: 92.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003999/10.93, allocations: 456.3 kB / 4.383 GB, free: 91.82 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/10.93, allocations: 188.8 kB / 4.383 GB, free: 91.6 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003215/10.93, allocations: 302.4 kB / 4.384 GB, free: 91.29 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 2.675e-06/10.93, allocations: 0 / 4.384 GB, free: 91.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.002041/10.93, allocations: 0.955 MB / 4.384 GB, free: 90.34 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.054e-05/10.93, allocations: 81.11 kB / 4.385 GB, free: 90.24 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/10.93, allocations: 0.9178 MB / 4.385 GB, free: 89.3 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/10.93, allocations: 25.7 kB / 4.385 GB, free: 89.27 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002026/10.93, allocations: 364.1 kB / 4.386 GB, free: 88.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 8.157e-05/10.93, allocations: 118.3 kB / 4.386 GB, free: 88.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/10.93, allocations: 4 kB / 4.386 GB, free: 88.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.803e-05/10.93, allocations: 322 kB / 4.386 GB, free: 88.47 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002483/10.93, allocations: 224.9 kB / 4.386 GB, free: 88.25 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/10.93, allocations: 0.5498 MB / 4.387 GB, free: 87.56 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003398/10.93, allocations: 321.6 kB / 4.387 GB, free: 87.25 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.259e-06/10.93, allocations: 7.906 kB / 4.387 GB, free: 87.24 MB / 0.6042 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00174/10.93, allocations: 1.069 MB / 4.388 GB, free: 86.17 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004088/10.93, allocations: 2.095 MB / 4.39 GB, free: 83.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.358e-05/10.93, allocations: 7.906 kB / 4.39 GB, free: 83.91 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006358/10.94, allocations: 341.9 kB / 4.391 GB, free: 83.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/10.94, allocations: 67.84 kB / 4.391 GB, free: 83.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001172/10.94, allocations: 1.351 MB / 4.392 GB, free: 82.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/10.94, allocations: 111.5 kB / 4.392 GB, free: 82.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-05/10.94, allocations: 28 kB / 4.392 GB, free: 82 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.416e-06/10.94, allocations: 4 kB / 4.392 GB, free: 81.99 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001173/10.94, allocations: 0.7616 MB / 4.393 GB, free: 81.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/10.94, allocations: 4 kB / 4.393 GB, free: 81.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007445/10.94, allocations: 312.9 kB / 4.393 GB, free: 80.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002042/10.94, allocations: 67.89 kB / 4.393 GB, free: 80.86 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003703/10.94, allocations: 3.437 MB / 4.397 GB, free: 77.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001104/10.94, allocations: 107.8 kB / 4.397 GB, free: 77.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/10.94, allocations: 23.94 kB / 4.397 GB, free: 77.18 MB / 0.6042 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 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of prepare postOptimizeDAE: time 0.000184/10.94, allocations: 130.9 kB / 4.397 GB, free: 77.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/10.95, allocations: 98.78 kB / 4.397 GB, free: 76.95 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001323/10.95, allocations: 0.8526 MB / 4.398 GB, free: 76.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/10.95, allocations: 7.938 kB / 4.398 GB, free: 76.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/10.95, allocations: 0 / 4.398 GB, free: 76.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/10.95, allocations: 0 / 4.398 GB, free: 76.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002551/10.95, allocations: 1.781 MB / 4.4 GB, free: 74.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.589e-06/10.95, allocations: 0 / 4.4 GB, free: 74.26 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/10.95, allocations: 28.14 kB / 4.4 GB, free: 74.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005214/10.95, allocations: 296.4 kB / 4.4 GB, free: 73.94 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.624e-05/10.95, allocations: 4 kB / 4.4 GB, free: 73.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008998/10.95, allocations: 1.207 MB / 4.401 GB, free: 72.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/10.95, allocations: 0 / 4.401 GB, free: 72.7 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001116/10.95, allocations: 1.037 MB / 4.402 GB, free: 71.6 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004436/10.95, allocations: 231.7 kB / 4.402 GB, free: 71.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002268/10.95, allocations: 0 / 4.402 GB, free: 71.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008022/10.95, allocations: 87.69 kB / 4.402 GB, free: 71.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.488e-05/10.95, allocations: 31.94 kB / 4.402 GB, free: 71.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/10.95, allocations: 15.94 kB / 4.402 GB, free: 71.22 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0007926/10.95, allocations: 0.7178 MB / 4.403 GB, free: 70.5 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001838/10.96, allocations: 0.5578 MB / 4.404 GB, free: 69.94 MB / 0.6042 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001658/10.96, allocations: 1.203 MB / 4.405 GB, free: 68.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001726/10.96, allocations: 1.069 MB / 4.406 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/10.96, allocations: 0 / 4.406 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000405/10.96, allocations: 272.5 kB / 4.406 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002885/10.96, allocations: 0.5714 MB / 4.407 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002694/10.97, allocations: 1.482 MB / 4.408 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000755/10.97, allocations: 1.292 MB / 4.409 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of SimCode: time 8.11e-07/10.97, allocations: 0 / 4.409 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of Templates: time 0.04114/11.01, allocations: 27.36 MB / 4.436 GB, free: 37 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)