Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.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.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised") [: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.7467/0.7467, allocations: 141.8 MB / 149.1 MB, free: 4.48 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.001104/0.001104, allocations: 181.3 kB / 181.9 MB, free: 140 kB / 138.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 221.3 MB / 436 MB, free: 9.328 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.0011/0.0011, allocations: 96.89 kB / 0.507 GB, free: 24.14 MB / 394.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002149/0.002149, allocations: 265.9 kB / 0.5884 GB, free: 12.31 MB / 442.9 MB Notification: Performance of FrontEnd - loaded program: time 9.537e-06/9.648e-06, allocations: 3.938 kB / 0.6759 GB, free: 2.66 MB / 0.5107 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5214/0.5214, allocations: 82.76 MB / 0.7567 GB, free: 112.9 MB / 0.5263 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.216/4.737, allocations: 1.831 GB / 2.588 GB, free: 254.2 MB / 0.6982 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003171/4.738, allocations: 91.52 kB / 2.588 GB, free: 254.2 MB / 0.6982 GB Notification: Performance of FrontEnd: time 5.665/10.4, allocations: 1.816 GB / 4.404 GB, free: 40.02 MB / 0.6982 GB Notification: Performance of Transformations before backend: time 0.0001703/10.4, allocations: 31.98 kB / 4.404 GB, free: 39.99 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.004336/10.41, allocations: 1.198 MB / 4.405 GB, free: 38.74 MB / 0.6982 GB Notification: Performance of prepare preOptimizeDAE: time 4.404e-05/10.41, allocations: 8.031 kB / 4.405 GB, free: 38.73 MB / 0.6982 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001352/10.41, allocations: 190.4 kB / 4.406 GB, free: 38.54 MB / 0.6982 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004171/10.41, allocations: 1.401 MB / 4.407 GB, free: 37.09 MB / 0.6982 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.236e-05/10.41, allocations: 16 kB / 4.407 GB, free: 37.07 MB / 0.6982 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001574/10.41, allocations: 43.98 kB / 4.407 GB, free: 37.03 MB / 0.6982 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008877/10.41, allocations: 0.5055 MB / 4.407 GB, free: 36.52 MB / 0.6982 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/10.42, allocations: 0.7071 MB / 4.408 GB, free: 35.73 MB / 0.6982 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/10.42, allocations: 3.938 kB / 4.408 GB, free: 35.73 MB / 0.6982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.922e-05/10.42, allocations: 8 kB / 4.408 GB, free: 35.72 MB / 0.6982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.713e-05/10.42, allocations: 12 kB / 4.408 GB, free: 35.71 MB / 0.6982 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004594/10.42, allocations: 4.148 MB / 4.412 GB, free: 31.32 MB / 0.6982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005288/10.42, allocations: 458.3 kB / 4.413 GB, free: 30.86 MB / 0.6982 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003524/10.42, allocations: 331.5 kB / 4.413 GB, free: 30.53 MB / 0.6982 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003573/10.42, allocations: 202.2 kB / 4.413 GB, free: 30.3 MB / 0.6982 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003256/10.42, allocations: 275 kB / 4.413 GB, free: 30.01 MB / 0.6982 GB Notification: Performance of pre-optimization done (n=33): time 2.275e-06/10.42, allocations: 3.938 kB / 4.413 GB, free: 30 MB / 0.6982 GB Notification: Performance of matching and sorting (n=33): time 0.001024/10.42, allocations: 0.528 MB / 4.414 GB, free: 29.47 MB / 0.6982 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/10.42, allocations: 89.05 kB / 4.414 GB, free: 29.36 MB / 0.6982 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008907/10.42, allocations: 0.8756 MB / 4.415 GB, free: 28.47 MB / 0.6982 GB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/10.42, allocations: 33.69 kB / 4.415 GB, free: 28.43 MB / 0.6982 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/10.42, allocations: 328.2 kB / 4.415 GB, free: 28.1 MB / 0.6982 GB Notification: Performance of collectInitialBindings (initialization): time 7.075e-05/10.42, allocations: 110.4 kB / 4.415 GB, free: 27.99 MB / 0.6982 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.185e-05/10.42, allocations: 0 / 4.415 GB, free: 27.99 MB / 0.6982 GB Notification: Performance of setup shared object (initialization): time 8.006e-05/10.42, allocations: 330 kB / 4.416 GB, free: 27.66 MB / 0.6982 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000229/10.42, allocations: 208.8 kB / 4.416 GB, free: 27.46 MB / 0.6982 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003915/10.42, allocations: 0.5123 MB / 4.416 GB, free: 26.8 MB / 0.6982 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002999/10.42, allocations: 286 kB / 4.417 GB, free: 26.53 MB / 0.6982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/10.42, allocations: 4 kB / 4.417 GB, free: 26.52 MB / 0.6982 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007504/10.43, allocations: 0.646 MB / 4.417 GB, free: 25.87 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004072/10.43, allocations: 2.1 MB / 4.419 GB, free: 23.61 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/10.43, allocations: 8 kB / 4.419 GB, free: 23.61 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/10.43, allocations: 12 kB / 4.419 GB, free: 23.59 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/10.43, allocations: 119.8 kB / 4.419 GB, free: 23.48 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/10.43, allocations: 11.98 kB / 4.419 GB, free: 23.46 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009507/10.43, allocations: 103.3 kB / 4.42 GB, free: 23.36 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.103e-05/10.43, allocations: 27.98 kB / 4.42 GB, free: 23.34 MB / 0.6982 GB Notification: Performance of prepare postOptimizeDAE: time 5.54e-06/10.43, allocations: 4 kB / 4.42 GB, free: 23.33 MB / 0.6982 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005146/10.43, allocations: 449.4 kB / 4.42 GB, free: 22.89 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.931e-06/10.43, allocations: 8.656 kB / 4.42 GB, free: 22.89 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.632e-06/10.43, allocations: 8 kB / 4.42 GB, free: 22.88 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/10.43, allocations: 111.8 kB / 4.42 GB, free: 22.77 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/10.43, allocations: 15.92 kB / 4.42 GB, free: 22.75 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006767/10.43, allocations: 95.53 kB / 4.42 GB, free: 22.66 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/10.43, allocations: 28 kB / 4.42 GB, free: 22.63 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 (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.0001182/10.43, allocations: 125.6 kB / 4.42 GB, free: 22.5 MB / 0.6982 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/10.43, allocations: 90.88 kB / 4.42 GB, free: 22.41 MB / 0.6982 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006558/10.43, allocations: 494.7 kB / 4.421 GB, free: 21.91 MB / 0.6982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/10.43, allocations: 4 kB / 4.421 GB, free: 21.91 MB / 0.6982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/10.43, allocations: 0 / 4.421 GB, free: 21.91 MB / 0.6982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/10.43, allocations: 8.234 kB / 4.421 GB, free: 21.9 MB / 0.6982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/10.43, allocations: 1.347 MB / 4.422 GB, free: 20.49 MB / 0.6982 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/10.43, allocations: 8.062 kB / 4.422 GB, free: 20.48 MB / 0.6982 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003199/10.43, allocations: 79.81 kB / 4.422 GB, free: 20.4 MB / 0.6982 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/10.43, allocations: 11.89 kB / 4.422 GB, free: 20.39 MB / 0.6982 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.252e-05/10.43, allocations: 4 kB / 4.422 GB, free: 20.39 MB / 0.6982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.025e-06/10.43, allocations: 4 kB / 4.422 GB, free: 20.38 MB / 0.6982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/10.43, allocations: 3.938 kB / 4.422 GB, free: 20.38 MB / 0.6982 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005235/10.43, allocations: 0.6759 MB / 4.423 GB, free: 19.63 MB / 0.6982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002528/10.43, allocations: 215.9 kB / 4.423 GB, free: 19.4 MB / 0.6982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/10.43, allocations: 4 kB / 4.423 GB, free: 19.39 MB / 0.6982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006052/10.43, allocations: 71.77 kB / 4.423 GB, free: 19.32 MB / 0.6982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.53e-05/10.43, allocations: 35.8 kB / 4.423 GB, free: 19.29 MB / 0.6982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.428e-05/10.43, allocations: 12 kB / 4.423 GB, free: 19.28 MB / 0.6982 GB Notification: Performance of sort global known variables: time 0.0006165/10.43, allocations: 0.6847 MB / 4.424 GB, free: 18.58 MB / 0.6982 GB Notification: Performance of remove unused functions: time 0.001169/10.44, allocations: 475.3 kB / 4.425 GB, free: 18.12 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 (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.001169/10.44, allocations: 1.117 MB / 4.426 GB, free: 17 MB / 0.6982 GB Notification: Performance of simCode: created initialization part: time 0.0008304/10.44, allocations: 0.7836 MB / 4.426 GB, free: 16.21 MB / 0.6982 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/10.44, allocations: 0 / 4.426 GB, free: 16.21 MB / 0.6982 GB Notification: Performance of simCode: created simulation system equations: time 0.000235/10.44, allocations: 209.7 kB / 4.427 GB, free: 16 MB / 0.6982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002392/10.44, allocations: 0.5327 MB / 4.427 GB, free: 15.48 MB / 0.6982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/10.44, allocations: 1.394 MB / 4.428 GB, free: 14.03 MB / 0.6982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000643/10.44, allocations: 1.283 MB / 4.43 GB, free: 12.72 MB / 0.6982 GB Notification: Performance of SimCode: time 3.1e-07/10.44, allocations: 0 / 4.43 GB, free: 12.72 MB / 0.6982 GB Notification: Performance of Templates: time 0.3238/10.77, allocations: 23.34 MB / 4.452 GB, free: 231.2 MB / 0.6982 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.ParallelDpOptimised.pipe 2>&1)