Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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: "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) [: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.001101/0.001102, allocations: 183.8 kB / 7.803 MB, free: 2.441 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4615/0.4615, allocations: 90.85 MB / 99.07 MB, free: 14.93 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.322/1.322, allocations: 221.4 MB / 342.8 MB, free: 5.484 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.0009542/0.0009543, allocations: 98.94 kB / 415.5 MB, free: 6.434 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1664/0.1674, allocations: 78.44 MB / 494 MB, free: 7.988 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4038/0.5712, allocations: 72.31 MB / 0.553 GB, free: 73.39 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.073/4.644, allocations: 1.825 GB / 2.378 GB, free: 237.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/4.645, allocations: 93.44 kB / 2.378 GB, free: 237.8 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 6.778/11.42, allocations: 2.01 GB / 4.387 GB, free: 73.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/11.42, allocations: 11.94 kB / 4.387 GB, free: 73.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001084/11.42, allocations: 206.3 kB / 4.387 GB, free: 72.94 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003657/11.43, allocations: 1.452 MB / 4.389 GB, free: 71.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.753e-05/11.43, allocations: 19.91 kB / 4.389 GB, free: 71.44 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001032/11.43, allocations: 43.98 kB / 4.389 GB, free: 71.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009996/11.43, allocations: 0.7209 MB / 4.39 GB, free: 70.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009528/11.43, allocations: 0.8613 MB / 4.391 GB, free: 69.74 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/11.43, allocations: 7.938 kB / 4.391 GB, free: 69.73 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.579e-05/11.43, allocations: 0 / 4.391 GB, free: 69.73 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/11.43, allocations: 19.98 kB / 4.391 GB, free: 69.71 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003727/11.43, allocations: 4.675 MB / 4.395 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006202/11.43, allocations: 0.5146 MB / 4.396 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003989/11.43, allocations: 432 kB / 4.396 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002799/11.43, allocations: 196.8 kB / 4.396 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003199/11.43, allocations: 301.2 kB / 4.396 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=35): time 2.175e-06/11.43, allocations: 0 / 4.396 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of matching and sorting (n=35): time 0.001765/11.44, allocations: 0.8815 MB / 4.397 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/11.44, allocations: 83.92 kB / 4.397 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009261/11.44, allocations: 0.922 MB / 4.398 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.495e-05/11.44, allocations: 29.7 kB / 4.398 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/11.44, allocations: 360.2 kB / 4.399 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.77e-05/11.44, allocations: 110.4 kB / 4.399 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/11.44, allocations: 0 / 4.399 GB, free: 60.85 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.685e-05/11.44, allocations: 329.9 kB / 4.399 GB, free: 60.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00024/11.44, allocations: 216.9 kB / 4.399 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003982/11.44, allocations: 0.5459 MB / 4.4 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003139/11.44, allocations: 305.7 kB / 4.4 GB, free: 59.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/11.44, allocations: 4 kB / 4.4 GB, free: 59.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001631/11.44, allocations: 1.001 MB / 4.401 GB, free: 58.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.000885/11.44, allocations: 2.097 MB / 4.403 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.463e-05/11.44, allocations: 4 kB / 4.403 GB, free: 56.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006657/11.44, allocations: 274.4 kB / 4.403 GB, free: 55.78 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/11.44, allocations: 71.89 kB / 4.404 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001376/11.44, allocations: 1.22 MB / 4.405 GB, free: 54.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001337/11.45, allocations: 111.5 kB / 4.405 GB, free: 54.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.644e-05/11.45, allocations: 35.97 kB / 4.405 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.626e-06/11.45, allocations: 4 kB / 4.405 GB, free: 54.31 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001109/11.45, allocations: 0.6732 MB / 4.406 GB, free: 53.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/11.45, allocations: 8.531 kB / 4.406 GB, free: 53.63 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006332/11.45, allocations: 249.7 kB / 4.406 GB, free: 53.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002944/11.45, allocations: 79.83 kB / 4.406 GB, free: 53.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003239/11.45, allocations: 2.901 MB / 4.409 GB, free: 50.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001079/11.45, allocations: 103.6 kB / 4.409 GB, free: 50.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.969e-05/11.45, allocations: 24 kB / 4.409 GB, free: 50.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 (35): * Single equations (assignments): 33 * 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0001735/11.45, allocations: 125 kB / 4.409 GB, free: 50.05 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/11.45, allocations: 106.7 kB / 4.409 GB, free: 49.94 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001216/11.45, allocations: 0.7726 MB / 4.41 GB, free: 49.17 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/11.45, allocations: 7.984 kB / 4.41 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/11.45, allocations: 4 kB / 4.41 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/11.45, allocations: 96 / 4.41 GB, free: 49.16 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002147/11.46, allocations: 1.704 MB / 4.411 GB, free: 47.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/11.46, allocations: 4 kB / 4.411 GB, free: 47.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002034/11.46, allocations: 40.12 kB / 4.411 GB, free: 47.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003927/11.46, allocations: 229.6 kB / 4.412 GB, free: 47.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.76e-05/11.46, allocations: 4 kB / 4.412 GB, free: 47.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007811/11.46, allocations: 1.072 MB / 4.413 GB, free: 46.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/11.46, allocations: 3.938 kB / 4.413 GB, free: 46.03 MB / 0.6042 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001067/11.46, allocations: 0.9754 MB / 4.414 GB, free: 44.99 MB / 0.6042 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001202/11.46, allocations: 1.404 MB / 4.415 GB, free: 43.51 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/11.46, allocations: 223.8 kB / 4.415 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001302/11.46, allocations: 4 kB / 4.415 GB, free: 43.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007182/11.46, allocations: 83.75 kB / 4.415 GB, free: 43.19 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.39e-05/11.46, allocations: 31.86 kB / 4.415 GB, free: 43.16 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.279e-05/11.46, allocations: 15.94 kB / 4.415 GB, free: 43.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 0.0008762/11.46, allocations: 0.718 MB / 4.416 GB, free: 42.41 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.003266/11.47, allocations: 0.8026 MB / 4.417 GB, free: 41.61 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 (13): * Single equations (assignments): 10 * 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 {1 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.001649/11.47, allocations: 1.298 MB / 4.418 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001562/11.47, allocations: 1.015 MB / 4.419 GB, free: 39.41 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/11.47, allocations: 4.062 kB / 4.419 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0003435/11.47, allocations: 239.1 kB / 4.419 GB, free: 39.17 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002854/11.47, allocations: 0.5585 MB / 4.42 GB, free: 38.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002342/11.47, allocations: 1.472 MB / 4.421 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006718/11.47, allocations: 1.304 MB / 4.423 GB, free: 35.76 MB / 0.6042 GB Notification: Performance of SimCode: time 7.52e-07/11.47, allocations: 3.938 kB / 4.423 GB, free: 35.75 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)