Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3") translateModel(Buildings.Fluid.Examples.Performance.Example3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3") [: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/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.576/1.576, allocations: 285.5 MB / 292.8 MB, free: 10.46 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001107/0.001107, allocations: 181.3 kB / 361.1 MB, free: 7.098 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.435/1.435, allocations: 205.1 MB / 0.6195 GB, free: 11.92 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009052/0.0009053, allocations: 96.12 kB / 0.7326 GB, free: 44.46 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.183e-06/7.213e-06, allocations: 0 / 0.8511 GB, free: 3.234 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7589/0.759, allocations: 115.3 MB / 0.9637 GB, free: 77.83 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.007/1.766, allocations: 403.5 MB / 1.358 GB, free: 162.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.766, allocations: 93.31 kB / 1.358 GB, free: 162.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.719/4.485, allocations: 0.6863 GB / 2.044 GB, free: 184.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0003711/4.486, allocations: 49.23 kB / 2.044 GB, free: 184.8 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.005679/4.491, allocations: 1.84 MB / 2.046 GB, free: 183.9 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.865e-05/4.492, allocations: 15.16 kB / 2.046 GB, free: 183.9 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/4.494, allocations: 293.9 kB / 2.046 GB, free: 183.8 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01007/4.504, allocations: 2.547 MB / 2.049 GB, free: 183.4 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/4.504, allocations: 29.91 kB / 2.049 GB, free: 183.4 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004886/4.505, allocations: 66.34 kB / 2.049 GB, free: 183.4 MB / 0.9323 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002406/4.507, allocations: 0.8543 MB / 2.05 GB, free: 183.4 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001629/4.509, allocations: 1.078 MB / 2.051 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.377e-05/4.509, allocations: 3.281 kB / 2.051 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.319e-05/4.509, allocations: 6.703 kB / 2.051 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.387e-05/4.509, allocations: 26.38 kB / 2.051 GB, free: 183.2 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007698/4.517, allocations: 6.555 MB / 2.057 GB, free: 179.3 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008431/4.517, allocations: 0.5628 MB / 2.058 GB, free: 179.2 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004292/4.518, allocations: 373.6 kB / 2.058 GB, free: 179.2 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002763/4.521, allocations: 1.67 MB / 2.06 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004146/4.521, allocations: 322.6 kB / 2.06 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=47): time 2.705e-06/4.521, allocations: 0 / 2.06 GB, free: 178.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=47): time 0.001935/4.523, allocations: 0.8324 MB / 2.061 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.87e-05/4.523, allocations: 59.28 kB / 2.061 GB, free: 178.1 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001736/4.525, allocations: 1.386 MB / 2.062 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 6.317e-05/4.525, allocations: 32.86 kB / 2.062 GB, free: 177.9 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/4.525, allocations: 0.534 MB / 2.063 GB, free: 177.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/4.526, allocations: 159.5 kB / 2.063 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.521e-05/4.526, allocations: 0 / 2.063 GB, free: 177.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.252e-05/4.526, allocations: 342.9 kB / 2.063 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/4.526, allocations: 262 kB / 2.063 GB, free: 177.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/4.527, allocations: 0.6882 MB / 2.064 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009593/4.528, allocations: 435 kB / 2.065 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.353e-06/4.528, allocations: 3.938 kB / 2.065 GB, free: 176.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002136/4.53, allocations: 1.138 MB / 2.066 GB, free: 176.5 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000968/4.531, allocations: 4.066 MB / 2.07 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.786e-05/4.531, allocations: 11.09 kB / 2.07 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003199/4.531, allocations: 131.1 kB / 2.07 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007499/4.532, allocations: 177.6 kB / 2.07 GB, free: 172.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006485/4.532, allocations: 0.8008 MB / 2.071 GB, free: 171.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001374/4.534, allocations: 127.8 kB / 2.071 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.661e-05/4.534, allocations: 50.3 kB / 2.071 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/4.534, allocations: 8.219 kB / 2.071 GB, free: 171.6 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001876/4.536, allocations: 0.9339 MB / 2.072 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/4.536, allocations: 11.06 kB / 2.072 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002212/4.536, allocations: 112.5 kB / 2.072 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006073/4.537, allocations: 175.5 kB / 2.072 GB, free: 171.5 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/4.539, allocations: 1.985 MB / 2.074 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/4.54, allocations: 113 kB / 2.074 GB, free: 170.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.1e-05/4.54, allocations: 50.58 kB / 2.074 GB, free: 170.2 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,mergeDp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 82 * Array equations: 1 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0002559/4.54, allocations: 132.9 kB / 2.074 GB, free: 170.1 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002489/4.54, allocations: 164.5 kB / 2.074 GB, free: 170 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002308/4.543, allocations: 0.9827 MB / 2.075 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/4.543, allocations: 11.7 kB / 2.075 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/4.543, allocations: 3.375 kB / 2.075 GB, free: 169.9 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001299/4.544, allocations: 0.8943 MB / 2.076 GB, free: 169.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003948/4.548, allocations: 1.939 MB / 2.078 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/4.548, allocations: 7.281 kB / 2.078 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/4.549, allocations: 92.16 kB / 2.078 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002328/4.549, allocations: 104.2 kB / 2.078 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.957e-05/4.549, allocations: 13.56 kB / 2.078 GB, free: 169.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005097/4.549, allocations: 0.7501 MB / 2.079 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/4.549, allocations: 0 / 2.079 GB, free: 168.7 MB / 0.9323 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001915/4.551, allocations: 1.311 MB / 2.08 GB, free: 168.4 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006339/4.552, allocations: 309.2 kB / 2.081 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002825/4.552, allocations: 3.75 kB / 2.081 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000867/4.553, allocations: 67.92 kB / 2.081 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/4.553, allocations: 43.45 kB / 2.081 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.915e-05/4.553, allocations: 25.14 kB / 2.081 GB, free: 168.2 MB / 0.9323 GB Notification: Performance of sort global known variables: time 0.001418/4.555, allocations: 1.068 MB / 2.082 GB, free: 168.1 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002802/4.558, allocations: 0.8423 MB / 2.083 GB, free: 167.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump.vol.dynBal.U) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.001394/4.559, allocations: 0.7693 MB / 2.083 GB, free: 167.8 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.002/4.561, allocations: 1.306 MB / 2.085 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/4.561, allocations: 0 / 2.085 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0004424/4.561, allocations: 312.3 kB / 2.085 GB, free: 167.6 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002435/4.564, allocations: 0.5857 MB / 2.086 GB, free: 167.5 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00411/4.568, allocations: 2.28 MB / 2.088 GB, free: 167 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/4.569, allocations: 1.678 MB / 2.09 GB, free: 166.3 MB / 0.9323 GB Notification: Performance of SimCode: time 1.192e-06/4.569, allocations: 0 / 2.09 GB, free: 166.3 MB / 0.9323 GB Notification: Performance of Templates: time 0.06063/4.63, allocations: 33.23 MB / 2.122 GB, free: 164.9 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example3.pipe 2>&1)