Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.005832/0.005831, allocations: 181.6 kB / 7.454 MB, free: 2.516 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7662/0.7662, allocations: 133.5 MB / 141.4 MB, free: 15.78 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.731/1.731, allocations: 221.3 MB / 395 MB, free: 10.26 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.001397/0.001397, allocations: 94.22 kB / 477.8 MB, free: 10.88 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5639/0.5654, allocations: 88.43 MB / 0.5529 GB, free: 88.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.7958, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.578/5.374, allocations: 1.834 GB / 2.467 GB, free: 113.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003398/5.375, allocations: 95.88 kB / 2.467 GB, free: 113 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 6.678/12.05, allocations: 1.815 GB / 4.283 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/12.05, allocations: 12 kB / 4.283 GB, free: 144.6 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/12.05, allocations: 190.5 kB / 4.283 GB, free: 144.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002861/12.06, allocations: 1.105 MB / 4.284 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.31e-05/12.06, allocations: 20 kB / 4.284 GB, free: 143.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001365/12.06, allocations: 36 kB / 4.284 GB, free: 143.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008457/12.06, allocations: 493.7 kB / 4.284 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008936/12.06, allocations: 0.6811 MB / 4.285 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/12.06, allocations: 7.938 kB / 4.285 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.969e-05/12.06, allocations: 4 kB / 4.285 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/12.06, allocations: 15.94 kB / 4.285 GB, free: 142 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004625/12.06, allocations: 4.672 MB / 4.29 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005028/12.06, allocations: 449.4 kB / 4.29 GB, free: 136.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002649/12.06, allocations: 252.6 kB / 4.29 GB, free: 136.2 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003013/12.06, allocations: 193.7 kB / 4.29 GB, free: 136 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002979/12.06, allocations: 273.1 kB / 4.291 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 2.054e-06/12.06, allocations: 0 / 4.291 GB, free: 135.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001869/12.07, allocations: 0.7621 MB / 4.291 GB, free: 135 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/12.07, allocations: 89.08 kB / 4.292 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/12.07, allocations: 0.8795 MB / 4.292 GB, free: 134 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/12.07, allocations: 29.7 kB / 4.292 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/12.07, allocations: 332.2 kB / 4.293 GB, free: 133.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.097e-05/12.07, allocations: 102.5 kB / 4.293 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/12.07, allocations: 3.938 kB / 4.293 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.523e-05/12.07, allocations: 330 kB / 4.293 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/12.07, allocations: 184.8 kB / 4.293 GB, free: 133 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/12.07, allocations: 0.5114 MB / 4.294 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000286/12.07, allocations: 270.2 kB / 4.294 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/12.07, allocations: 4.219 kB / 4.294 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001571/12.07, allocations: 0.8936 MB / 4.295 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004221/12.07, allocations: 2.105 MB / 4.297 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/12.07, allocations: 8 kB / 4.297 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004204/12.07, allocations: 226.1 kB / 4.297 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/12.07, allocations: 71.81 kB / 4.297 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009747/12.07, allocations: 1.134 MB / 4.298 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009832/12.07, allocations: 87.53 kB / 4.299 GB, free: 127.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.145e-05/12.07, allocations: 27.98 kB / 4.299 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/12.07, allocations: 4 kB / 4.299 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001037/12.07, allocations: 0.5853 MB / 4.299 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/12.07, allocations: 8 kB / 4.299 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005159/12.08, allocations: 208.4 kB / 4.299 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002127/12.08, allocations: 67.84 kB / 4.299 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00339/12.08, allocations: 2.751 MB / 4.302 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/12.08, allocations: 75.69 kB / 4.302 GB, free: 123.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.845e-05/12.08, allocations: 24 kB / 4.302 GB, free: 123.5 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.0002673/12.08, allocations: 132.8 kB / 4.302 GB, free: 123.4 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/12.08, allocations: 98.78 kB / 4.302 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001304/12.08, allocations: 0.6457 MB / 4.303 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/12.08, allocations: 4 kB / 4.303 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/12.08, allocations: 0 / 4.303 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/12.08, allocations: 3.984 kB / 4.303 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002498/12.08, allocations: 1.486 MB / 4.304 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/12.08, allocations: 4 kB / 4.304 GB, free: 121.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001267/12.08, allocations: 27.92 kB / 4.305 GB, free: 121 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002955/12.08, allocations: 189.8 kB / 4.305 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.133e-05/12.08, allocations: 4 kB / 4.305 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000769/12.09, allocations: 1.017 MB / 4.306 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.65e-06/12.09, allocations: 4 kB / 4.306 GB, free: 119.8 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009339/12.09, allocations: 0.8503 MB / 4.307 GB, free: 118.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.001076/12.09, allocations: 1.283 MB / 4.308 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004323/12.09, allocations: 219.8 kB / 4.308 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/12.09, allocations: 4 kB / 4.308 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006034/12.09, allocations: 55.78 kB / 4.308 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.188e-05/12.09, allocations: 23.97 kB / 4.308 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.393e-05/12.09, allocations: 11.98 kB / 4.308 GB, free: 117.2 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.000769/12.09, allocations: 0.6925 MB / 4.309 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003181/12.09, allocations: 0.6704 MB / 4.309 GB, free: 115.8 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001665/12.09, allocations: 1.102 MB / 4.31 GB, free: 114.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001733/12.1, allocations: 0.912 MB / 4.311 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/12.1, allocations: 0 / 4.311 GB, free: 113.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000375/12.1, allocations: 210.4 kB / 4.312 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001972/12.1, allocations: 378.3 kB / 4.312 GB, free: 113.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002454/12.1, allocations: 1.396 MB / 4.313 GB, free: 111.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007049/12.1, allocations: 1.259 MB / 4.315 GB, free: 110.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.102e-06/12.1, allocations: 0 / 4.315 GB, free: 110.6 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IDEAS_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)