Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.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.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2") translateModel(Buildings.Fluid.Examples.Performance.Example2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2") [: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.516/1.516, allocations: 285.5 MB / 292.8 MB, free: 10.4 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.00134/0.00134, allocations: 177.3 kB / 361.1 MB, free: 7.035 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.593/1.593, allocations: 205.1 MB / 0.6195 GB, free: 10.22 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.0009873/0.0009873, allocations: 97.02 kB / 0.7326 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.062e-05/1.075e-05, allocations: 4 kB / 0.8511 GB, free: 2.789 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7354/0.7354, allocations: 115.3 MB / 0.9637 GB, free: 78.45 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.767, allocations: 403.5 MB / 1.358 GB, free: 158 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003351/1.767, allocations: 88.86 kB / 1.358 GB, free: 157.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.646/3.414, allocations: 478 MB / 1.825 GB, free: 163.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0003202/3.414, allocations: 43.84 kB / 1.825 GB, free: 163.7 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.00505/3.419, allocations: 1.512 MB / 1.826 GB, free: 162.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.373e-05/3.419, allocations: 12.03 kB / 1.826 GB, free: 162.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001657/3.421, allocations: 241.9 kB / 1.826 GB, free: 161.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005265/3.426, allocations: 1.97 MB / 1.828 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.73e-05/3.426, allocations: 24 kB / 1.828 GB, free: 159.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001385/3.427, allocations: 55.91 kB / 1.828 GB, free: 159.8 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001451/3.428, allocations: 0.6286 MB / 1.829 GB, free: 159.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/3.429, allocations: 0.814 MB / 1.83 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/3.429, allocations: 7.938 kB / 1.83 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.565e-05/3.43, allocations: 4 kB / 1.83 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/3.43, allocations: 20 kB / 1.83 GB, free: 158.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007955/3.438, allocations: 4.564 MB / 1.834 GB, free: 153.5 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000999/3.439, allocations: 0.5376 MB / 1.835 GB, free: 153 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004861/3.439, allocations: 302.1 kB / 1.835 GB, free: 152.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003595/3.443, allocations: 1.757 MB / 1.837 GB, free: 150.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004285/3.443, allocations: 283.1 kB / 1.837 GB, free: 150.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=46): time 4.609e-06/3.443, allocations: 7.875 kB / 1.837 GB, free: 150.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=46): time 0.002197/3.445, allocations: 0.7384 MB / 1.838 GB, free: 149.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.371e-05/3.445, allocations: 59.41 kB / 1.838 GB, free: 149.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001954/3.447, allocations: 1.003 MB / 1.839 GB, free: 148.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 7.54e-05/3.448, allocations: 29.7 kB / 1.839 GB, free: 148.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004559/3.448, allocations: 432.1 kB / 1.839 GB, free: 148.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/3.448, allocations: 157.8 kB / 1.839 GB, free: 148 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.644e-05/3.448, allocations: 0 / 1.839 GB, free: 148 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.692e-05/3.448, allocations: 330 kB / 1.84 GB, free: 147.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/3.449, allocations: 221.5 kB / 1.84 GB, free: 147.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000455/3.449, allocations: 0.5391 MB / 1.84 GB, free: 146.8 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009848/3.45, allocations: 358.9 kB / 1.841 GB, free: 146.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/3.45, allocations: 4 kB / 1.841 GB, free: 146.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002166/3.452, allocations: 0.9552 MB / 1.842 GB, free: 145.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000795/3.453, allocations: 2.924 MB / 1.845 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.678e-05/3.453, allocations: 5.062 kB / 1.845 GB, free: 142.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003297/3.453, allocations: 124.7 kB / 1.845 GB, free: 142.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006817/3.454, allocations: 151.8 kB / 1.845 GB, free: 142.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007532/3.455, allocations: 0.8137 MB / 1.846 GB, free: 141.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00121/3.456, allocations: 107.2 kB / 1.846 GB, free: 141.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.542e-05/3.456, allocations: 39.98 kB / 1.846 GB, free: 141.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.038e-05/3.456, allocations: 4 kB / 1.846 GB, free: 141.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001663/3.458, allocations: 0.8051 MB / 1.847 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/3.458, allocations: 8.5 kB / 1.847 GB, free: 140.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001855/3.458, allocations: 100.8 kB / 1.847 GB, free: 140.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005582/3.459, allocations: 148 kB / 1.847 GB, free: 140 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001747/3.461, allocations: 1.966 MB / 1.849 GB, free: 138 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/3.462, allocations: 91.94 kB / 1.849 GB, free: 137.9 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.461e-05/3.462, allocations: 40.09 kB / 1.849 GB, free: 137.8 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * 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 {5 7} Notification: Performance of prepare postOptimizeDAE: time 0.000226/3.462, allocations: 136.7 kB / 1.849 GB, free: 137.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002791/3.462, allocations: 122.4 kB / 1.849 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001994/3.464, allocations: 0.8645 MB / 1.85 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.11e-05/3.464, allocations: 8 kB / 1.85 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/3.464, allocations: 8 kB / 1.85 GB, free: 136.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/3.465, allocations: 0.8257 MB / 1.851 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003097/3.468, allocations: 1.654 MB / 1.852 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/3.469, allocations: 4 kB / 1.852 GB, free: 134.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004837/3.469, allocations: 87.88 kB / 1.852 GB, free: 134 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001922/3.469, allocations: 116.8 kB / 1.853 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.96e-05/3.469, allocations: 7.984 kB / 1.853 GB, free: 133.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005196/3.47, allocations: 0.763 MB / 1.853 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/3.47, allocations: 4 kB / 1.853 GB, free: 133.1 MB / 0.948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00161/3.471, allocations: 1.143 MB / 1.854 GB, free: 131.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006102/3.472, allocations: 275.3 kB / 1.855 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002906/3.472, allocations: 0 / 1.855 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008723/3.473, allocations: 51.92 kB / 1.855 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001082/3.473, allocations: 36.48 kB / 1.855 GB, free: 131.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.581e-05/3.473, allocations: 31.92 kB / 1.855 GB, free: 131.5 MB / 0.948 GB Notification: Performance of sort global known variables: time 0.001112/3.475, allocations: 0.7787 MB / 1.856 GB, free: 130.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002724/3.477, allocations: 0.6822 MB / 1.856 GB, free: 130.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (pump_dp.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 {5 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.001837/3.479, allocations: 0.7459 MB / 1.857 GB, free: 129.4 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002364/3.481, allocations: 1.16 MB / 1.858 GB, free: 128.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/3.481, allocations: 0 / 1.858 GB, free: 128.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005428/3.482, allocations: 301.5 kB / 1.858 GB, free: 127.9 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/3.485, allocations: 486.9 kB / 1.859 GB, free: 127.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/3.489, allocations: 1.747 MB / 1.861 GB, free: 125.6 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001139/3.49, allocations: 1.407 MB / 1.862 GB, free: 124.2 MB / 0.948 GB Notification: Performance of SimCode: time 8.92e-07/3.49, allocations: 0 / 1.862 GB, free: 124.2 MB / 0.948 GB Notification: Performance of Templates: time 0.04504/3.535, allocations: 27.94 MB / 1.889 GB, free: 96.66 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Examples.Performance.Example2.pipe 2>&1)