Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised",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.0026/0.0026, allocations: 178.4 kB / 7.456 MB, free: 2.164 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.6748/0.6748, 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.458/1.458, allocations: 221.3 MB / 395 MB, free: 10.2 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.001041/0.001041, allocations: 95.41 kB / 477.8 MB, free: 10.81 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.4822/0.4833, allocations: 88.44 MB / 0.5529 GB, free: 89.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.186/0.6693, allocations: 82.31 MB / 0.6333 GB, free: 14 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.557/5.226, allocations: 1.834 GB / 2.467 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/5.227, allocations: 91.94 kB / 2.467 GB, free: 129.6 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.329/11.56, allocations: 1.817 GB / 4.284 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/11.56, allocations: 8 kB / 4.284 GB, free: 152.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009464/11.56, allocations: 190.5 kB / 4.285 GB, free: 152.7 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003414/11.56, allocations: 1.399 MB / 4.286 GB, free: 151.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.193e-05/11.56, allocations: 19.98 kB / 4.286 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.153e-05/11.56, allocations: 36 kB / 4.286 GB, free: 151.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000708/11.56, allocations: 0.5017 MB / 4.287 GB, free: 150.7 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007952/11.56, allocations: 0.7123 MB / 4.287 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/11.56, allocations: 0 / 4.287 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.653e-05/11.56, allocations: 4 kB / 4.287 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/11.56, allocations: 12 kB / 4.287 GB, free: 149.9 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003375/11.56, allocations: 4.172 MB / 4.291 GB, free: 145.5 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/11.57, allocations: 446.5 kB / 4.292 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003108/11.57, allocations: 330.2 kB / 4.292 GB, free: 144.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002861/11.57, allocations: 190.2 kB / 4.292 GB, free: 144.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003245/11.57, allocations: 285.9 kB / 4.292 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=33): time 3.016e-06/11.57, allocations: 0 / 4.292 GB, free: 144.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=33): time 0.001004/11.57, allocations: 0.5199 MB / 4.293 GB, free: 143.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.326e-05/11.57, allocations: 81.11 kB / 4.293 GB, free: 143.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008721/11.57, allocations: 0.8756 MB / 4.294 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.98e-05/11.57, allocations: 25.7 kB / 4.294 GB, free: 142.7 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/11.57, allocations: 337.5 kB / 4.294 GB, free: 142.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.902e-05/11.57, allocations: 114.4 kB / 4.294 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/11.57, allocations: 0 / 4.294 GB, free: 142.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 6.525e-05/11.57, allocations: 326 kB / 4.295 GB, free: 141.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002208/11.57, allocations: 200.9 kB / 4.295 GB, free: 141.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003694/11.57, allocations: 0.5163 MB / 4.295 GB, free: 141 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/11.57, allocations: 298.3 kB / 4.296 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/11.57, allocations: 0 / 4.296 GB, free: 140.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007579/11.57, allocations: 0.6534 MB / 4.296 GB, free: 140.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003504/11.57, allocations: 2.093 MB / 4.298 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/11.57, allocations: 8 kB / 4.298 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/11.57, allocations: 12 kB / 4.298 GB, free: 137.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005384/11.57, allocations: 115.8 kB / 4.298 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/11.57, allocations: 8 kB / 4.298 GB, free: 137.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009363/11.57, allocations: 103.4 kB / 4.299 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/11.57, allocations: 27.98 kB / 4.299 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/11.57, allocations: 4 kB / 4.299 GB, free: 137.6 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005333/11.57, allocations: 457.6 kB / 4.299 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/11.57, allocations: 8.109 kB / 4.299 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.035e-06/11.57, allocations: 15.94 kB / 4.299 GB, free: 137.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004287/11.57, allocations: 111.8 kB / 4.299 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/11.57, allocations: 12.12 kB / 4.299 GB, free: 137 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007632/11.57, allocations: 99.5 kB / 4.299 GB, free: 136.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/11.57, allocations: 24 kB / 4.299 GB, free: 136.8 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 (55): * Single equations (assignments): 54 * 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.0001248/11.57, allocations: 120.8 kB / 4.299 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.608e-05/11.57, allocations: 94.78 kB / 4.3 GB, free: 136.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007233/11.58, allocations: 491 kB / 4.3 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/11.58, allocations: 4 kB / 4.3 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/11.58, allocations: 0 / 4.3 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.772e-06/11.58, allocations: 4 kB / 4.3 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001639/11.58, allocations: 1.361 MB / 4.301 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/11.58, allocations: 4 kB / 4.301 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/11.58, allocations: 76.27 kB / 4.301 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.911e-06/11.58, allocations: 8 kB / 4.301 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.408e-05/11.58, allocations: 4 kB / 4.301 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/11.58, allocations: 0 / 4.301 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/11.58, allocations: 4 kB / 4.301 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005662/11.58, allocations: 0.6806 MB / 4.302 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0007806/11.58, allocations: 1.094 MB / 4.303 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003017/11.58, allocations: 223.8 kB / 4.303 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/11.58, allocations: 4 kB / 4.303 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006464/11.58, allocations: 67.77 kB / 4.303 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.261e-05/11.58, allocations: 28.14 kB / 4.303 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.578e-05/11.58, allocations: 12 kB / 4.303 GB, free: 132.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 0.0006659/11.58, allocations: 0.6847 MB / 4.304 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002859/11.58, allocations: 0.6788 MB / 4.305 GB, free: 131 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 (33): * Single equations (assignments): 31 * 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.001369/11.58, allocations: 1.12 MB / 4.306 GB, free: 130 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001063/11.59, allocations: 0.7931 MB / 4.307 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/11.59, allocations: 4.125 kB / 4.307 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002513/11.59, allocations: 203.8 kB / 4.307 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/11.59, allocations: 0.521 MB / 4.307 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/11.59, allocations: 1.395 MB / 4.309 GB, free: 127 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008307/11.59, allocations: 1.28 MB / 4.31 GB, free: 125.7 MB / 0.6823 GB Notification: Performance of SimCode: time 7.02e-07/11.59, allocations: 0 / 4.31 GB, free: 125.7 MB / 0.6823 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_PressureDrop_ParallelDpOptimised.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)