Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IDEAS_IDEAS_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.003192/0.003192, allocations: 182.9 kB / 7.461 MB, free: 2.5 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7241/0.7241, allocations: 133.5 MB / 141.4 MB, free: 15.67 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.592/1.592, allocations: 221.3 MB / 395 MB, free: 10.17 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 100.5 kB / 477.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5004/0.5015, allocations: 88.43 MB / 0.5529 GB, free: 89.16 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2084/0.71, allocations: 82.29 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.765/5.475, allocations: 1.834 GB / 2.467 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002508/5.475, allocations: 87.94 kB / 2.468 GB, free: 129.3 MB / 0.6823 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 7.97/13.45, allocations: 2.01 GB / 4.477 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.17e-05/13.45, allocations: 7.812 kB / 4.477 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001729/13.45, allocations: 207 kB / 4.477 GB, free: 163.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005096/13.45, allocations: 1.456 MB / 4.479 GB, free: 163 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/13.45, allocations: 19.47 kB / 4.479 GB, free: 163 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002474/13.45, allocations: 36.84 kB / 4.479 GB, free: 163 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001489/13.45, allocations: 0.7241 MB / 4.479 GB, free: 163 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00147/13.46, allocations: 0.8667 MB / 4.48 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.242e-05/13.46, allocations: 3.844 kB / 4.48 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-05/13.46, allocations: 6.5 kB / 4.48 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.57e-05/13.46, allocations: 15 kB / 4.48 GB, free: 162.8 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00546/13.46, allocations: 4.688 MB / 4.485 GB, free: 159.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000693/13.46, allocations: 0.5078 MB / 4.485 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005669/13.46, allocations: 440.8 kB / 4.486 GB, free: 159.6 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003603/13.46, allocations: 193.2 kB / 4.486 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004121/13.46, allocations: 299.2 kB / 4.486 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=35): time 2.745e-06/13.46, allocations: 0 / 4.486 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.002032/13.47, allocations: 0.8783 MB / 4.487 GB, free: 159.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/13.47, allocations: 82.14 kB / 4.487 GB, free: 159.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/13.47, allocations: 0.9154 MB / 4.488 GB, free: 159 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.103e-05/13.47, allocations: 36.55 kB / 4.488 GB, free: 159 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002472/13.47, allocations: 346.8 kB / 4.489 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.802e-05/13.47, allocations: 119.7 kB / 4.489 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.387e-05/13.47, allocations: 0 / 4.489 GB, free: 158.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.463e-05/13.47, allocations: 324.2 kB / 4.489 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/13.47, allocations: 217 kB / 4.489 GB, free: 158.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/13.47, allocations: 0.5481 MB / 4.49 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/13.47, allocations: 305.7 kB / 4.49 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/13.47, allocations: 3.969 kB / 4.49 GB, free: 158.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001714/13.47, allocations: 1.003 MB / 4.491 GB, free: 158 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.000549/13.47, allocations: 2.108 MB / 4.493 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.493e-05/13.47, allocations: 3.719 kB / 4.493 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005837/13.47, allocations: 273.1 kB / 4.493 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003301/13.47, allocations: 72.16 kB / 4.493 GB, free: 155.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001146/13.47, allocations: 1.216 MB / 4.495 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/13.47, allocations: 121.3 kB / 4.495 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.577e-05/13.47, allocations: 24.09 kB / 4.495 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 8.956e-06/13.47, allocations: 3.969 kB / 4.495 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001198/13.47, allocations: 0.6847 MB / 4.495 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/13.47, allocations: 6.828 kB / 4.495 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000663/13.48, allocations: 240.5 kB / 4.496 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002932/13.48, allocations: 79.48 kB / 4.496 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/13.48, allocations: 2.911 MB / 4.498 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0011/13.48, allocations: 106.1 kB / 4.499 GB, free: 153.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.733e-05/13.48, allocations: 23.25 kB / 4.499 GB, free: 153.9 MB / 0.6823 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.0002348/13.48, allocations: 124.1 kB / 4.499 GB, free: 153.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000183/13.48, allocations: 103.8 kB / 4.499 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/13.48, allocations: 0.7692 MB / 4.5 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/13.48, allocations: 11.03 kB / 4.5 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/13.48, allocations: 0 / 4.5 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/13.48, allocations: 3.516 kB / 4.5 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/13.49, allocations: 1.693 MB / 4.501 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-06/13.49, allocations: 3.781 kB / 4.501 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002415/13.49, allocations: 37.58 kB / 4.501 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004848/13.49, allocations: 229 kB / 4.502 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/13.49, allocations: 7.656 kB / 4.502 GB, free: 153.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001054/13.49, allocations: 1.073 MB / 4.503 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/13.49, allocations: 0 / 4.503 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001133/13.49, allocations: 0.9759 MB / 4.504 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001622/13.49, allocations: 1.408 MB / 4.505 GB, free: 151.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005892/13.49, allocations: 227.1 kB / 4.505 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001403/13.49, allocations: 7.516 kB / 4.505 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007745/13.49, allocations: 79.33 kB / 4.505 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/13.49, allocations: 29.02 kB / 4.505 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.073e-05/13.49, allocations: 16.88 kB / 4.505 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0009728/13.49, allocations: 0.7189 MB / 4.506 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00348/13.5, allocations: 0.7981 MB / 4.507 GB, free: 151.2 MB / 0.6823 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.001574/13.5, allocations: 1.285 MB / 4.508 GB, free: 150.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001706/13.5, allocations: 1.024 MB / 4.509 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/13.5, allocations: 0 / 4.509 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003565/13.5, allocations: 245.4 kB / 4.509 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/13.5, allocations: 0.5685 MB / 4.51 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/13.51, allocations: 1.478 MB / 4.511 GB, free: 150.3 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007827/13.51, allocations: 1.295 MB / 4.512 GB, free: 149.6 MB / 0.6823 GB Notification: Performance of SimCode: time 9.32e-07/13.51, allocations: 0 / 4.512 GB, free: 149.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)