Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.373/2.373, allocations: 284.9 MB / 292.2 MB, free: 1.414 MB / 227.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002495/0.002495, allocations: 184.8 kB / 360.4 MB, free: 15.63 MB / 291.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.919/1.919, allocations: 205.1 MB / 0.6188 GB, free: 6.613 MB / 467.1 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001205/0.001205, allocations: 84.97 kB / 0.7318 GB, free: 47.02 MB / 0.5186 GB Notification: Performance of FrontEnd - loaded program: time 1.078e-05/1.105e-05, allocations: 0 / 0.8502 GB, free: 13.73 MB / 0.5967 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.6626, allocations: 115.2 MB / 0.9628 GB, free: 86.41 MB / 0.6749 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.729, allocations: 419.4 MB / 1.372 GB, free: 162.8 MB / 0.8624 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000258/1.729, allocations: 90.08 kB / 1.372 GB, free: 162.8 MB / 0.8624 GB Notification: Performance of FrontEnd: time 6.857/8.586, allocations: 1.449 GB / 2.821 GB, free: 120.7 MB / 0.9561 GB Notification: Performance of Transformations before backend: time 0.001235/8.587, allocations: 154.8 kB / 2.822 GB, free: 120.7 MB / 0.9561 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.02098/8.608, allocations: 4.619 MB / 2.826 GB, free: 119 MB / 0.9561 GB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/8.608, allocations: 7.812 kB / 2.826 GB, free: 119 MB / 0.9561 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007674/8.616, allocations: 0.8307 MB / 2.827 GB, free: 118.7 MB / 0.9561 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02902/8.645, allocations: 6.866 MB / 2.834 GB, free: 117.8 MB / 0.9561 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002927/8.645, allocations: 110.4 kB / 2.834 GB, free: 117.8 MB / 0.9561 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001761/8.647, allocations: 208.2 kB / 2.834 GB, free: 117.8 MB / 0.9561 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01535/8.663, allocations: 4.854 MB / 2.839 GB, free: 117.8 MB / 0.9561 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01718/8.68, allocations: 4.89 MB / 2.843 GB, free: 117.1 MB / 0.9561 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000142/8.68, allocations: 14.44 kB / 2.844 GB, free: 117.1 MB / 0.9561 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001109/8.681, allocations: 7.312 kB / 2.844 GB, free: 117.1 MB / 0.9561 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.031e-05/8.681, allocations: 82.19 kB / 2.844 GB, free: 117.1 MB / 0.9561 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05806/8.739, allocations: 22.29 MB / 2.865 GB, free: 107.3 MB / 0.9561 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007393/8.747, allocations: 2.654 MB / 2.868 GB, free: 107.2 MB / 0.9561 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004216/8.751, allocations: 1.717 MB / 2.87 GB, free: 107.2 MB / 0.9561 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02151/8.773, allocations: 6.814 MB / 2.876 GB, free: 105 MB / 0.9561 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004567/8.777, allocations: 1.744 MB / 2.878 GB, free: 105 MB / 0.9561 GB Notification: Performance of pre-optimization done (n=157): time 6.672e-06/8.777, allocations: 0 / 2.878 GB, free: 105 MB / 0.9561 GB Notification: Performance of matching and sorting (n=157): time 0.0194/8.797, allocations: 4.796 MB / 2.883 GB, free: 104.6 MB / 0.9561 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.1e-05/8.797, allocations: 144.8 kB / 2.883 GB, free: 104.5 MB / 0.9561 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01242/8.809, allocations: 4.062 MB / 2.887 GB, free: 104.2 MB / 0.9561 GB Notification: Performance of collectPreVariables (initialization): time 0.0009195/8.81, allocations: 33.48 kB / 2.887 GB, free: 104.1 MB / 0.9561 GB Notification: Performance of collectInitialEqns (initialization): time 0.003095/8.813, allocations: 1.606 MB / 2.888 GB, free: 103.3 MB / 0.9561 GB Notification: Performance of collectInitialBindings (initialization): time 0.002095/8.815, allocations: 0.5382 MB / 2.889 GB, free: 102.9 MB / 0.9561 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/8.816, allocations: 0.9688 kB / 2.889 GB, free: 102.9 MB / 0.9561 GB Notification: Performance of setup shared object (initialization): time 0.0002421/8.816, allocations: 412.7 kB / 2.889 GB, free: 102.6 MB / 0.9561 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004441/8.821, allocations: 1.561 MB / 2.891 GB, free: 102.6 MB / 0.9561 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005773/8.826, allocations: 2.838 MB / 2.894 GB, free: 101 MB / 0.9561 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007838/8.834, allocations: 2.151 MB / 2.896 GB, free: 101 MB / 0.9561 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.117e-05/8.835, allocations: 8.781 kB / 2.896 GB, free: 101 MB / 0.9561 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.136/8.971, allocations: 11.14 MB / 2.907 GB, free: 100.7 MB / 0.9561 GB Notification: Performance of prepare postOptimizeDAE: time 0.003551/8.974, allocations: 14.98 MB / 2.921 GB, free: 84.93 MB / 0.9561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001988/8.974, allocations: 38.12 kB / 2.921 GB, free: 84.93 MB / 0.9561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1515/9.126, allocations: 10.74 MB / 2.932 GB, free: 84.89 MB / 0.9561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00581/9.132, allocations: 0.6847 MB / 2.932 GB, free: 84.89 MB / 0.9561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02262/9.154, allocations: 5.865 MB / 2.938 GB, free: 83.3 MB / 0.9561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00943/9.164, allocations: 443.2 kB / 2.939 GB, free: 83.14 MB / 0.9561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001207/9.165, allocations: 205.1 kB / 2.939 GB, free: 83.14 MB / 0.9561 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/9.165, allocations: 3.969 kB / 2.939 GB, free: 83.14 MB / 0.9561 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.1292/9.294, allocations: 10.41 MB / 2.949 GB, free: 82.28 MB / 0.9561 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001364/9.295, allocations: 35.33 kB / 2.949 GB, free: 82.28 MB / 0.9561 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1528/9.447, allocations: 10.69 MB / 2.959 GB, free: 81.27 MB / 0.9561 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005788/9.453, allocations: 0.6814 MB / 2.96 GB, free: 81.25 MB / 0.9561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02787/9.481, allocations: 8.338 MB / 2.968 GB, free: 76.64 MB / 0.9561 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009238/9.491, allocations: 367.1 kB / 2.969 GB, free: 76.51 MB / 0.9561 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001361/9.492, allocations: 194.3 kB / 2.969 GB, free: 76.48 MB / 0.9561 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: val.port_internal.h_outflow:VARIABLE(min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 protected = true ) "Specific thermodynamic enthalpy close to the connection point if m_flow < 0" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 147 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (284): * Single equations (assignments): 277 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {12 15,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.00168/9.494, allocations: 211.1 kB / 2.969 GB, free: 76.3 MB / 0.9561 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00217/9.496, allocations: 428.8 kB / 2.969 GB, free: 76.08 MB / 0.9561 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01963/9.516, allocations: 4.455 MB / 2.974 GB, free: 74.54 MB / 0.9561 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.267e-05/9.516, allocations: 20.86 kB / 2.974 GB, free: 74.54 MB / 0.9561 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.435e-05/9.516, allocations: 4 kB / 2.974 GB, free: 74.53 MB / 0.9561 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01347/9.529, allocations: 4.812 MB / 2.978 GB, free: 70.2 MB / 0.9561 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02858/9.558, allocations: 8.981 MB / 2.987 GB, free: 61.21 MB / 0.9561 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-05/9.558, allocations: 0 / 2.987 GB, free: 61.21 MB / 0.9561 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004877/9.563, allocations: 431.5 kB / 2.988 GB, free: 60.79 MB / 0.9561 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0106/9.573, allocations: 1.86 MB / 2.989 GB, free: 58.95 MB / 0.9561 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006308/9.574, allocations: 27.97 kB / 2.989 GB, free: 58.92 MB / 0.9561 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01302/9.587, allocations: 3.549 MB / 2.993 GB, free: 55.3 MB / 0.9561 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.976e-06/9.587, allocations: 0 / 2.993 GB, free: 55.3 MB / 0.9561 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01949/9.607, allocations: 6.735 MB / 2.999 GB, free: 48.54 MB / 0.9561 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004755/9.611, allocations: 1.007 MB / 3 GB, free: 47.51 MB / 0.9561 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002187/9.614, allocations: 15.47 kB / 3 GB, free: 47.5 MB / 0.9561 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007717/9.621, allocations: 231.1 kB / 3.001 GB, free: 47.27 MB / 0.9561 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007888/9.622, allocations: 101.8 kB / 3.001 GB, free: 47.18 MB / 0.9561 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005533/9.623, allocations: 87.92 kB / 3.001 GB, free: 47.09 MB / 0.9561 GB Notification: Performance of sort global known variables: time 0.008381/9.631, allocations: 3.064 MB / 3.004 GB, free: 44.03 MB / 0.9561 GB Notification: Performance of remove unused functions: time 0.01602/9.647, allocations: 2.695 MB / 3.007 GB, free: 41.33 MB / 0.9561 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (pump.vol.dynBal.U,hea.outCon.T,val.filter.x[1],val.filter.x[2]) * 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 (138): * Single equations (assignments): 129 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {12 5,2 5,10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.003513/9.651, allocations: 1.206 MB / 3.008 GB, free: 40.24 MB / 0.9561 GB Notification: Performance of simCode: created initialization part: time 0.03475/9.686, allocations: 7.106 MB / 3.015 GB, free: 33.11 MB / 0.9561 GB Notification: Performance of simCode: created event and clocks part: time 1.225e-05/9.686, allocations: 0.6562 kB / 3.015 GB, free: 33.11 MB / 0.9561 GB Notification: Performance of simCode: created simulation system equations: time 0.01037/9.696, allocations: 2.105 MB / 3.017 GB, free: 31.01 MB / 0.9561 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0218/9.718, allocations: 2.32 MB / 3.019 GB, free: 28.78 MB / 0.9561 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02753/9.746, allocations: 7.777 MB / 3.027 GB, free: 20.94 MB / 0.9561 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007771/9.753, allocations: 3.715 MB / 3.03 GB, free: 33.19 MB / 0.9717 GB Notification: Performance of SimCode: time 2.605e-06/9.753, allocations: 0 / 3.03 GB, free: 33.19 MB / 0.9717 GB Notification: Performance of Templates: time 0.7387/10.49, allocations: 118.1 MB / 3.145 GB, free: 222.3 MB / 0.9717 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.sim & ./Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.pipe 2>&1)