Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.004028/0.004028, allocations: 185.5 kB / 7.459 MB, free: 2.512 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7073/0.7073, allocations: 133.5 MB / 141.4 MB, free: 15.68 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.551/1.551, allocations: 221.3 MB / 395 MB, free: 10.22 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.001032/0.001032, allocations: 95.62 kB / 477.8 MB, free: 10.87 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.5122/0.5133, allocations: 88.43 MB / 0.5529 GB, free: 89.14 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.7213, allocations: 82.31 MB / 0.6333 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.476/5.197, allocations: 1.831 GB / 2.465 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003223/5.198, allocations: 99.41 kB / 2.465 GB, free: 131.7 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 6.268/11.47, allocations: 1.803 GB / 4.268 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/11.47, allocations: 12.06 kB / 4.268 GB, free: 170.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008477/11.47, allocations: 187.1 kB / 4.268 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/11.47, allocations: 1.091 MB / 4.269 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.631e-05/11.47, allocations: 20.5 kB / 4.269 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.503e-05/11.47, allocations: 37.47 kB / 4.269 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008946/11.47, allocations: 493.7 kB / 4.27 GB, free: 169.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001026/11.47, allocations: 0.6808 MB / 4.27 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/11.47, allocations: 5.875 kB / 4.27 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.626e-05/11.47, allocations: 6 kB / 4.27 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.21e-05/11.47, allocations: 13.62 kB / 4.27 GB, free: 169 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003896/11.48, allocations: 4.656 MB / 4.275 GB, free: 164.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004826/11.48, allocations: 452.8 kB / 4.275 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002758/11.48, allocations: 255.5 kB / 4.276 GB, free: 164.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002965/11.48, allocations: 198.1 kB / 4.276 GB, free: 163.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002828/11.48, allocations: 268.5 kB / 4.276 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=31): time 1.964e-06/11.48, allocations: 224 / 4.276 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=31): time 0.001026/11.48, allocations: 0.4896 MB / 4.276 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/11.48, allocations: 100.9 kB / 4.277 GB, free: 162.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009379/11.48, allocations: 0.8707 MB / 4.277 GB, free: 162 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.261e-05/11.48, allocations: 33.7 kB / 4.277 GB, free: 162 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/11.48, allocations: 336.2 kB / 4.278 GB, free: 161.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-05/11.48, allocations: 98.5 kB / 4.278 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.362e-05/11.48, allocations: 4 kB / 4.278 GB, free: 161.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.224e-05/11.48, allocations: 322 kB / 4.278 GB, free: 161.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/11.48, allocations: 188.8 kB / 4.278 GB, free: 161.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003753/11.48, allocations: 0.5094 MB / 4.279 GB, free: 160.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002872/11.48, allocations: 274.7 kB / 4.279 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/11.48, allocations: 7.906 kB / 4.279 GB, free: 160.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0007468/11.48, allocations: 0.6264 MB / 4.28 GB, free: 159.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003365/11.48, allocations: 2.094 MB / 4.282 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/11.48, allocations: 7.906 kB / 4.282 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/11.48, allocations: 12 kB / 4.282 GB, free: 157.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000478/11.48, allocations: 119.3 kB / 4.282 GB, free: 157.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/11.48, allocations: 15.92 kB / 4.282 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008357/11.48, allocations: 83.22 kB / 4.282 GB, free: 157.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-05/11.48, allocations: 27 kB / 4.282 GB, free: 157 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/11.48, allocations: 4 kB / 4.282 GB, free: 157 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005201/11.48, allocations: 418.7 kB / 4.282 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/11.48, allocations: 4 kB / 4.282 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.003e-06/11.48, allocations: 8 kB / 4.282 GB, free: 156.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003934/11.48, allocations: 119.2 kB / 4.283 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/11.48, allocations: 15.92 kB / 4.283 GB, free: 156.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005996/11.48, allocations: 78.81 kB / 4.283 GB, free: 156.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.513e-05/11.48, allocations: 20 kB / 4.283 GB, free: 156.4 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001129/11.48, allocations: 124.8 kB / 4.283 GB, free: 156.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.456e-05/11.48, allocations: 98.81 kB / 4.283 GB, free: 156.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000612/11.49, allocations: 461.9 kB / 4.283 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/11.49, allocations: 4 kB / 4.283 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.68e-06/11.49, allocations: 4 kB / 4.283 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/11.49, allocations: 0 / 4.283 GB, free: 155.7 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001549/11.49, allocations: 1.272 MB / 4.285 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/11.49, allocations: 4 kB / 4.285 GB, free: 154.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002956/11.49, allocations: 82.81 kB / 4.285 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/11.49, allocations: 4 kB / 4.285 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.991e-05/11.49, allocations: 4 kB / 4.285 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/11.49, allocations: 4 kB / 4.285 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/11.49, allocations: 3.938 kB / 4.285 GB, free: 154.3 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005053/11.49, allocations: 0.6401 MB / 4.285 GB, free: 153.6 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0006575/11.49, allocations: 1.072 MB / 4.286 GB, free: 152.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002567/11.49, allocations: 219.2 kB / 4.287 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/11.49, allocations: 3.984 kB / 4.287 GB, free: 152.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004875/11.49, allocations: 51.02 kB / 4.287 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.031e-05/11.49, allocations: 23.97 kB / 4.287 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/11.49, allocations: 13.44 kB / 4.287 GB, free: 152.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006732/11.49, allocations: 0.6845 MB / 4.287 GB, free: 151.4 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002808/11.49, allocations: 0.6206 MB / 4.288 GB, free: 150.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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001247/11.49, allocations: 1.039 MB / 4.289 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0009879/11.5, allocations: 0.7298 MB / 4.29 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/11.5, allocations: 448 / 4.29 GB, free: 149.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002275/11.5, allocations: 187.8 kB / 4.29 GB, free: 148.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001636/11.5, allocations: 368.3 kB / 4.29 GB, free: 148.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002181/11.5, allocations: 1.39 MB / 4.292 GB, free: 147.1 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007229/11.5, allocations: 1.275 MB / 4.293 GB, free: 145.8 MB / 0.6823 GB Notification: Performance of SimCode: time 6.51e-07/11.5, allocations: 0 / 4.293 GB, free: 145.8 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)