Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="IDEAS_dev_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.005217/0.005217, allocations: 178.9 kB / 7.457 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.696/0.696, allocations: 133.5 MB / 141.4 MB, free: 15.71 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.543/1.543, allocations: 221.3 MB / 395 MB, free: 10.23 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.000994/0.000994, allocations: 101.5 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4661/0.4671, allocations: 88.43 MB / 0.5529 GB, free: 89.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1924/0.6595, allocations: 82.3 MB / 0.6333 GB, free: 14.02 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.496/5.156, allocations: 1.834 GB / 2.467 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/5.156, allocations: 95.94 kB / 2.468 GB, free: 129.4 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.153/12.31, allocations: 2.01 GB / 4.477 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/12.31, allocations: 7.688 kB / 4.477 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001067/12.31, allocations: 209.5 kB / 4.477 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003672/12.31, allocations: 1.455 MB / 4.479 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/12.31, allocations: 17.84 kB / 4.479 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.761e-05/12.31, allocations: 38.12 kB / 4.479 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001013/12.32, allocations: 0.7222 MB / 4.479 GB, free: 164.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/12.32, allocations: 0.8678 MB / 4.48 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/12.32, allocations: 3.75 kB / 4.48 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.567e-05/12.32, allocations: 3.688 kB / 4.48 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/12.32, allocations: 17.09 kB / 4.48 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003979/12.32, allocations: 4.702 MB / 4.485 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006286/12.32, allocations: 0.4966 MB / 4.485 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004528/12.32, allocations: 440.2 kB / 4.486 GB, free: 161 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003049/12.32, allocations: 201 kB / 4.486 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003401/12.32, allocations: 295 kB / 4.486 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=35): time 2.545e-06/12.32, allocations: 0 / 4.486 GB, free: 160.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=35): time 0.001846/12.32, allocations: 0.8803 MB / 4.487 GB, free: 160.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/12.32, allocations: 80.95 kB / 4.487 GB, free: 160.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009564/12.32, allocations: 0.9236 MB / 4.488 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.409e-05/12.32, allocations: 28.95 kB / 4.488 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/12.33, allocations: 349.1 kB / 4.489 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/12.33, allocations: 120.9 kB / 4.489 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/12.33, allocations: 3.719 kB / 4.489 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 5.721e-05/12.33, allocations: 327.2 kB / 4.489 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002417/12.33, allocations: 221 kB / 4.489 GB, free: 159.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003928/12.33, allocations: 0.5394 MB / 4.49 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003173/12.33, allocations: 309.8 kB / 4.49 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/12.33, allocations: 3.844 kB / 4.49 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001557/12.33, allocations: 0.9979 MB / 4.491 GB, free: 159.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003629/12.33, allocations: 2.107 MB / 4.493 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/12.33, allocations: 3.969 kB / 4.493 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005229/12.33, allocations: 274.8 kB / 4.493 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/12.33, allocations: 75.8 kB / 4.493 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/12.33, allocations: 1.215 MB / 4.495 GB, free: 156.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/12.33, allocations: 111.6 kB / 4.495 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.363e-05/12.33, allocations: 27.81 kB / 4.495 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/12.33, allocations: 3.812 kB / 4.495 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001084/12.33, allocations: 0.6847 MB / 4.495 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/12.33, allocations: 6.5 kB / 4.495 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006135/12.33, allocations: 246 kB / 4.496 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/12.33, allocations: 67.81 kB / 4.496 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/12.34, allocations: 2.91 MB / 4.498 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/12.34, allocations: 102.6 kB / 4.499 GB, free: 155.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.243e-05/12.34, allocations: 33.2 kB / 4.499 GB, free: 155.3 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.0001903/12.34, allocations: 121.6 kB / 4.499 GB, free: 155.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001345/12.34, allocations: 102.6 kB / 4.499 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/12.34, allocations: 0.7676 MB / 4.5 GB, free: 155.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/12.34, allocations: 14.36 kB / 4.5 GB, free: 155 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/12.34, allocations: 3.844 kB / 4.5 GB, free: 155 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.592e-06/12.34, allocations: 3.891 kB / 4.5 GB, free: 155 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00232/12.34, allocations: 1.689 MB / 4.501 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/12.34, allocations: 3.688 kB / 4.501 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000204/12.34, allocations: 35.83 kB / 4.501 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004339/12.34, allocations: 227.7 kB / 4.502 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.724e-05/12.34, allocations: 9.469 kB / 4.502 GB, free: 154.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008263/12.34, allocations: 1.068 MB / 4.503 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/12.34, allocations: 3.875 kB / 4.503 GB, free: 154.1 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001058/12.34, allocations: 0.985 MB / 4.504 GB, free: 153.7 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001345/12.35, allocations: 1.403 MB / 4.505 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004003/12.35, allocations: 232.7 kB / 4.505 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/12.35, allocations: 7.641 kB / 4.505 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00074/12.35, allocations: 76.86 kB / 4.505 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.454e-05/12.35, allocations: 35.8 kB / 4.505 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.273e-05/12.35, allocations: 19.12 kB / 4.505 GB, free: 152.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0008438/12.35, allocations: 0.7154 MB / 4.506 GB, free: 152.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003373/12.35, allocations: 0.8003 MB / 4.507 GB, free: 152.6 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.001494/12.35, allocations: 1.278 MB / 4.508 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001503/12.35, allocations: 1.02 MB / 4.509 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/12.35, allocations: 0 / 4.509 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003625/12.35, allocations: 240.7 kB / 4.509 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002827/12.36, allocations: 0.5701 MB / 4.51 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002557/12.36, allocations: 1.473 MB / 4.511 GB, free: 151.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008655/12.36, allocations: 1.297 MB / 4.512 GB, free: 151.1 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/12.36, allocations: 0 / 4.512 GB, free: 151.1 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)