Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised") [: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/BuildingSystems 2.0.0-master/package.mo): time 0.7936/0.7936, allocations: 141.8 MB / 149.1 MB, free: 3.805 MB / 122.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001271/0.00127, allocations: 175.3 kB / 181.9 MB, free: 15.57 MB / 154.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.593/1.593, allocations: 221.4 MB / 436 MB, free: 8.711 MB / 330.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 90.66 kB / 0.507 GB, free: 24.23 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001957/0.001957, allocations: 279.4 kB / 0.5884 GB, free: 11.77 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.588e-06/9.628e-06, allocations: 4 kB / 0.6759 GB, free: 2.121 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5533/0.5533, allocations: 82.76 MB / 0.7567 GB, free: 112.4 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.156/4.709, allocations: 1.831 GB / 2.588 GB, free: 250.8 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002356/4.709, allocations: 104.1 kB / 2.588 GB, free: 250.7 MB / 0.6982 GB Notification: Performance of FrontEnd: time 5.388/10.1, allocations: 1.814 GB / 4.402 GB, free: 34.47 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 9.051e-05/10.1, allocations: 27.98 kB / 4.402 GB, free: 34.45 MB / 0.6982 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 0.001625/10.1, allocations: 1.136 MB / 4.404 GB, free: 33.26 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 3.983e-05/10.1, allocations: 8.031 kB / 4.404 GB, free: 33.25 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007731/10.1, allocations: 190.4 kB / 4.404 GB, free: 33.06 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/10.1, allocations: 1.116 MB / 4.405 GB, free: 31.89 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.372e-05/10.1, allocations: 16 kB / 4.405 GB, free: 31.87 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.074e-05/10.1, allocations: 36 kB / 4.405 GB, free: 31.84 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006386/10.1, allocations: 497.7 kB / 4.405 GB, free: 31.35 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007262/10.1, allocations: 0.6772 MB / 4.406 GB, free: 30.59 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.708e-05/10.1, allocations: 4 kB / 4.406 GB, free: 30.59 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.355e-05/10.1, allocations: 0 / 4.406 GB, free: 30.59 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/10.1, allocations: 20 kB / 4.406 GB, free: 30.57 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003035/10.11, allocations: 4.666 MB / 4.411 GB, free: 25.54 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/10.11, allocations: 447.9 kB / 4.411 GB, free: 25.09 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002516/10.11, allocations: 250.5 kB / 4.411 GB, free: 24.84 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/10.11, allocations: 198.1 kB / 4.411 GB, free: 24.61 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/10.11, allocations: 267 kB / 4.412 GB, free: 24.33 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=31): time 1.884e-06/10.11, allocations: 0 / 4.412 GB, free: 24.33 MB / 0.6982 GB Notification: Performance of matching and sorting (n=31): time 0.001628/10.11, allocations: 0.7836 MB / 4.412 GB, free: 23.54 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.734e-05/10.11, allocations: 85.09 kB / 4.413 GB, free: 23.44 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008123/10.11, allocations: 0.8717 MB / 4.413 GB, free: 22.55 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 3.628e-05/10.11, allocations: 29.7 kB / 4.413 GB, free: 22.52 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001626/10.11, allocations: 340.2 kB / 4.414 GB, free: 22.18 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 5.655e-05/10.11, allocations: 106.5 kB / 4.414 GB, free: 22.07 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/10.11, allocations: 0 / 4.414 GB, free: 22.07 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 4.935e-05/10.11, allocations: 329.9 kB / 4.414 GB, free: 21.74 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/10.11, allocations: 188.8 kB / 4.414 GB, free: 21.56 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003378/10.11, allocations: 0.496 MB / 4.415 GB, free: 20.92 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/10.11, allocations: 269.8 kB / 4.415 GB, free: 20.66 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/10.11, allocations: 4 kB / 4.415 GB, free: 20.66 MB / 0.6982 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001432/10.11, allocations: 0.8989 MB / 4.416 GB, free: 19.75 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003468/10.11, allocations: 2.105 MB / 4.418 GB, free: 17.48 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.847e-06/10.11, allocations: 4 kB / 4.418 GB, free: 17.48 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003976/10.11, allocations: 235.2 kB / 4.418 GB, free: 17.25 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/10.11, allocations: 59.91 kB / 4.418 GB, free: 17.19 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008615/10.12, allocations: 1.145 MB / 4.419 GB, free: 16.02 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007842/10.12, allocations: 83.59 kB / 4.419 GB, free: 15.93 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.496e-05/10.12, allocations: 31.98 kB / 4.42 GB, free: 15.9 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 6.603e-06/10.12, allocations: 4 kB / 4.42 GB, free: 15.9 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009653/10.12, allocations: 0.5862 MB / 4.42 GB, free: 15.31 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/10.12, allocations: 4 kB / 4.42 GB, free: 15.3 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004729/10.12, allocations: 205 kB / 4.42 GB, free: 15.1 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/10.12, allocations: 71.78 kB / 4.42 GB, free: 15.03 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/10.12, allocations: 2.759 MB / 4.423 GB, free: 12.17 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007366/10.12, allocations: 83.53 kB / 4.423 GB, free: 12.09 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/10.12, allocations: 24 kB / 4.423 GB, free: 12.06 MB / 0.6982 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.0001324/10.12, allocations: 133.7 kB / 4.423 GB, free: 11.93 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.34e-05/10.12, allocations: 94.88 kB / 4.423 GB, free: 11.83 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009661/10.12, allocations: 0.655 MB / 4.424 GB, free: 11.16 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.488e-06/10.12, allocations: 4 kB / 4.424 GB, free: 11.16 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.663e-06/10.12, allocations: 0 / 4.424 GB, free: 11.16 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/10.12, allocations: 7.984 kB / 4.424 GB, free: 11.15 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001803/10.12, allocations: 1.485 MB / 4.425 GB, free: 9.598 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/10.12, allocations: 8 kB / 4.425 GB, free: 9.59 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000132/10.12, allocations: 23.92 kB / 4.426 GB, free: 9.566 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002883/10.12, allocations: 184.7 kB / 4.426 GB, free: 9.383 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/10.12, allocations: 12.08 kB / 4.426 GB, free: 9.371 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006543/10.13, allocations: 1.012 MB / 4.427 GB, free: 8.336 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/10.13, allocations: 0 / 4.427 GB, free: 8.336 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008131/10.13, allocations: 0.8594 MB / 4.428 GB, free: 7.395 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002562/10.13, allocations: 211.9 kB / 4.428 GB, free: 7.168 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/10.13, allocations: 3.906 kB / 4.428 GB, free: 7.164 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005178/10.13, allocations: 55.8 kB / 4.428 GB, free: 7.109 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.046e-05/10.13, allocations: 27.95 kB / 4.428 GB, free: 7.082 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/10.13, allocations: 12 kB / 4.428 GB, free: 7.07 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0006332/10.13, allocations: 0.6886 MB / 4.428 GB, free: 6.371 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001278/10.13, allocations: 475.5 kB / 4.429 GB, free: 5.906 MB / 0.6982 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.001185/10.13, allocations: 1.111 MB / 4.43 GB, free: 4.793 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.001271/10.13, allocations: 0.9219 MB / 4.431 GB, free: 3.852 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/10.13, allocations: 3.938 kB / 4.431 GB, free: 3.848 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.0003402/10.13, allocations: 210.7 kB / 4.431 GB, free: 3.641 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001617/10.13, allocations: 384.1 kB / 4.432 GB, free: 3.27 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002063/10.14, allocations: 1.39 MB / 4.433 GB, free: 1.828 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005832/10.14, allocations: 1.262 MB / 4.434 GB, free: 0.5391 MB / 0.6982 GB Notification: Performance of SimCode: time 7.31e-07/10.14, allocations: 0 / 4.434 GB, free: 0.5391 MB / 0.6982 GB Notification: Performance of Templates: time 0.3177/10.45, allocations: 23.38 MB / 4.457 GB, free: 230.8 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1)