Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1") translateModel(Buildings.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1") [: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.1.4-maint.8.1.x/package.mo): time 1.566/1.566, allocations: 289.8 MB / 297.1 MB, free: 6.715 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.001179/0.001179, allocations: 177.3 kB / 366.3 MB, free: 2.008 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.682/1.682, allocations: 205.1 MB / 0.6256 GB, free: 5.812 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.000926/0.0009259, allocations: 87.31 kB / 0.7396 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 8.426e-06/8.446e-06, allocations: 0 / 0.859 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8045/0.8045, allocations: 116.3 MB / 0.9725 GB, free: 68.36 MB / 0.6511 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.152/1.957, allocations: 421.6 MB / 1.384 GB, free: 62.42 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003243/1.957, allocations: 99.44 kB / 1.384 GB, free: 62.37 MB / 0.823 GB Notification: Performance of FrontEnd: time 5.031/6.988, allocations: 1.308 GB / 2.692 GB, free: 165.5 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.001019/6.99, allocations: 97.31 kB / 2.692 GB, free: 165.5 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.0171/7.007, allocations: 3.408 MB / 2.695 GB, free: 164.6 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 6.919e-05/7.007, allocations: 9.844 kB / 2.695 GB, free: 164.6 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004474/7.011, allocations: 0.5535 MB / 2.696 GB, free: 164.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/7.024, allocations: 4.349 MB / 2.7 GB, free: 163.9 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.902e-05/7.024, allocations: 57.44 kB / 2.7 GB, free: 163.9 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004713/7.025, allocations: 115.7 kB / 2.7 GB, free: 163.9 MB / 0.9636 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002807/7.028, allocations: 1.635 MB / 2.702 GB, free: 163.9 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002507/7.03, allocations: 1.836 MB / 2.704 GB, free: 163.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.427e-05/7.03, allocations: 3.938 kB / 2.704 GB, free: 163.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/7.03, allocations: 10.12 kB / 2.704 GB, free: 163.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/7.03, allocations: 36.88 kB / 2.704 GB, free: 163.5 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01374/7.044, allocations: 11.53 MB / 2.715 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001565/7.046, allocations: 1.215 MB / 2.716 GB, free: 157.2 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001028/7.047, allocations: 0.9066 MB / 2.717 GB, free: 157.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005492/7.052, allocations: 3.369 MB / 2.72 GB, free: 155.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000829/7.053, allocations: 0.6509 MB / 2.721 GB, free: 155.5 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=98): time 2.615e-06/7.053, allocations: 0 / 2.721 GB, free: 155.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=98): time 0.004245/7.058, allocations: 2.014 MB / 2.723 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/7.058, allocations: 66.97 kB / 2.723 GB, free: 155.2 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003229/7.061, allocations: 2.235 MB / 2.725 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.000134/7.061, allocations: 29.58 kB / 2.725 GB, free: 154.9 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007205/7.062, allocations: 0.8432 MB / 2.726 GB, free: 154.5 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003323/7.062, allocations: 330.4 kB / 2.726 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.173e-05/7.062, allocations: 0 / 2.726 GB, free: 154.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001123/7.062, allocations: 360.8 kB / 2.727 GB, free: 154 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007462/7.063, allocations: 0.5545 MB / 2.727 GB, free: 154 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/7.064, allocations: 1.297 MB / 2.729 GB, free: 153.1 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/7.066, allocations: 0.8615 MB / 2.729 GB, free: 153 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/7.066, allocations: 3.469 kB / 2.729 GB, free: 153 MB / 0.9636 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005061/7.071, allocations: 2.471 MB / 2.732 GB, free: 152.8 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001326/7.073, allocations: 5.894 MB / 2.738 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/7.073, allocations: 16.47 kB / 2.738 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009787/7.074, allocations: 445.5 kB / 2.738 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001234/7.075, allocations: 297 kB / 2.738 GB, free: 146.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/7.077, allocations: 2.071 MB / 2.74 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00299/7.08, allocations: 220.2 kB / 2.741 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/7.08, allocations: 85.23 kB / 2.741 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.104e-05/7.08, allocations: 6.188 kB / 2.741 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003787/7.084, allocations: 2.063 MB / 2.743 GB, free: 145.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/7.084, allocations: 11.62 kB / 2.743 GB, free: 145.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008652/7.085, allocations: 416.7 kB / 2.743 GB, free: 145.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/7.086, allocations: 281.9 kB / 2.743 GB, free: 145.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005822/7.092, allocations: 5.397 MB / 2.749 GB, free: 142.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003585/7.095, allocations: 182.5 kB / 2.749 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003568/7.095, allocations: 78.06 kB / 2.749 GB, free: 142.4 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * 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,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006272/7.096, allocations: 157.5 kB / 2.749 GB, free: 142.3 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009292/7.097, allocations: 277.6 kB / 2.749 GB, free: 142.2 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005872/7.103, allocations: 2.342 MB / 2.752 GB, free: 142 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.323e-05/7.103, allocations: 14.31 kB / 2.752 GB, free: 142 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/7.103, allocations: 5.438 kB / 2.752 GB, free: 142 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002962/7.106, allocations: 1.894 MB / 2.753 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009589/7.116, allocations: 3.927 MB / 2.757 GB, free: 141.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/7.116, allocations: 3.938 kB / 2.757 GB, free: 141.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008852/7.117, allocations: 172.2 kB / 2.757 GB, free: 141.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007764/7.117, allocations: 387.5 kB / 2.758 GB, free: 141.2 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.271e-05/7.117, allocations: 20.98 kB / 2.758 GB, free: 141.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001448/7.119, allocations: 1.91 MB / 2.76 GB, free: 140.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/7.119, allocations: 0 / 2.76 GB, free: 140.1 MB / 0.9636 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004599/7.123, allocations: 2.912 MB / 2.763 GB, free: 139.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001616/7.125, allocations: 497.6 kB / 2.763 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003743/7.126, allocations: 7.422 kB / 2.763 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/7.127, allocations: 119.2 kB / 2.763 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/7.127, allocations: 80.09 kB / 2.763 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.785e-05/7.127, allocations: 47.11 kB / 2.763 GB, free: 139.4 MB / 0.9636 GB Notification: Performance of sort global known variables: time 0.002471/7.13, allocations: 1.705 MB / 2.765 GB, free: 139.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005091/7.135, allocations: 1.372 MB / 2.766 GB, free: 139 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * 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 (84): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.00228/7.137, allocations: 1.037 MB / 2.767 GB, free: 138.8 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00494/7.142, allocations: 2.724 MB / 2.77 GB, free: 138.5 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 5.981e-06/7.142, allocations: 3.969 kB / 2.77 GB, free: 138.5 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001024/7.143, allocations: 0.678 MB / 2.771 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005354/7.149, allocations: 1.017 MB / 2.772 GB, free: 138.4 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009434/7.158, allocations: 4.06 MB / 2.776 GB, free: 137.5 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002326/7.16, allocations: 2.348 MB / 2.778 GB, free: 136.8 MB / 0.9636 GB Notification: Performance of SimCode: time 1.533e-06/7.16, allocations: 3.375 kB / 2.778 GB, free: 136.8 MB / 0.9636 GB Notification: Performance of Templates: time 0.1049/7.265, allocations: 58.97 MB / 2.835 GB, free: 134 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.makefile (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.sim & ./Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Examples.Performance.Example1v1.pipe 2>&1)