Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Rooms.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain") translateModel(Buildings.Rooms.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.629/0.629, allocations: 94.78 MB / 102.2 MB, free: 10.15 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002231/0.002231, allocations: 178.1 kB / 125.6 MB, free: 11.89 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.848/1.848, allocations: 170.6 MB / 319.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001719/0.001719, allocations: 101.6 kB / 381.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.788e-05/2.786e-05, allocations: 7.984 kB / 449.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2172, allocations: 61.51 MB / 0.4987 GB, free: 4.137 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.29/17.51, allocations: 5.308 GB / 5.806 GB, free: 59.43 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003633/17.51, allocations: 89 kB / 5.806 GB, free: 59.39 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Rooms/BaseClasses/HeatGain.mo:38:31-38:42:writable] Warning: Non-array modification 'false' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 1.773/19.28, allocations: 336.1 MB / 6.135 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.675e-06/19.28, allocations: 0 / 6.135 GB, free: 93.68 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0002049/19.28, allocations: 21.89 kB / 6.135 GB, free: 93.67 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.004845/19.29, allocations: 1.135 MB / 6.136 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/19.29, allocations: 9.719 kB / 6.136 GB, free: 93.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009835/19.29, allocations: 97.77 kB / 6.136 GB, free: 92.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1092/19.4, allocations: 47.79 MB / 6.183 GB, free: 84.8 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002114/19.4, allocations: 91.23 kB / 6.183 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004245/19.4, allocations: 38.06 kB / 6.183 GB, free: 84.73 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001998/19.4, allocations: 0.6081 MB / 6.183 GB, free: 84.53 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001948/19.4, allocations: 0.6388 MB / 6.184 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.64e-05/19.4, allocations: 0 / 6.184 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001638/19.4, allocations: 7.891 kB / 6.184 GB, free: 84.25 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.275e-05/19.4, allocations: 16.66 kB / 6.184 GB, free: 84.25 MB / 0.5261 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00659/19.41, allocations: 2.568 MB / 6.186 GB, free: 82.54 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/19.41, allocations: 418.5 kB / 6.187 GB, free: 82.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003722/19.41, allocations: 211.4 kB / 6.187 GB, free: 82.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006673/19.41, allocations: 329.4 kB / 6.187 GB, free: 81.99 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/19.41, allocations: 38.86 kB / 6.187 GB, free: 81.95 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 5.901e-06/19.41, allocations: 2.156 kB / 6.187 GB, free: 81.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.007798/19.42, allocations: 1.99 MB / 6.189 GB, free: 81.17 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.52e-05/19.42, allocations: 57.44 kB / 6.189 GB, free: 81.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008919/19.42, allocations: 431.9 kB / 6.19 GB, free: 80.88 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001425/19.42, allocations: 32.83 kB / 6.19 GB, free: 80.85 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003295/19.42, allocations: 368.1 kB / 6.19 GB, free: 80.56 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001812/19.42, allocations: 153.6 kB / 6.19 GB, free: 80.45 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.437e-05/19.42, allocations: 0 / 6.19 GB, free: 80.45 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001666/19.42, allocations: 364.5 kB / 6.191 GB, free: 80.11 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/19.42, allocations: 229.3 kB / 6.191 GB, free: 80.02 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/19.42, allocations: 363 kB / 6.191 GB, free: 79.78 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001812/19.43, allocations: 0.4906 MB / 6.192 GB, free: 79.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.155e-06/19.43, allocations: 0 / 6.192 GB, free: 79.64 MB / 0.5261 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002751/19.43, allocations: 0.9185 MB / 6.193 GB, free: 79.34 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001341/19.43, allocations: 91.94 kB / 6.193 GB, free: 79.25 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.99e-05/19.43, allocations: 9.406 kB / 6.193 GB, free: 79.25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.347e-05/19.43, allocations: 7.531 kB / 6.193 GB, free: 79.25 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006706/19.43, allocations: 132.7 kB / 6.193 GB, free: 79.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-05/19.43, allocations: 15.61 kB / 6.193 GB, free: 79.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008817/19.43, allocations: 43.89 kB / 6.193 GB, free: 79.22 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001124/19.43, allocations: 29.09 kB / 6.193 GB, free: 79.21 MB / 0.5261 GB Warning: Assuming fixed start value for the following 2 variables: vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = vol.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0))))))))))) start = 0.01 unit = "1" nominal = 0.1 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 2 (QSen_flow.i_x,QLat_flow.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 3 * 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.0004569/19.43, allocations: 178.4 kB / 6.193 GB, free: 79.08 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002427/19.43, allocations: 58.88 kB / 6.193 GB, free: 79.05 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/19.43, allocations: 0.8705 MB / 6.194 GB, free: 78.76 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/19.43, allocations: 7.844 kB / 6.194 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/19.43, allocations: 0 / 6.194 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/19.43, allocations: 11.8 kB / 6.194 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004236/19.44, allocations: 1.654 MB / 6.196 GB, free: 77.98 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/19.44, allocations: 4.172 kB / 6.196 GB, free: 77.98 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005555/19.44, allocations: 108.4 kB / 6.196 GB, free: 77.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.768e-05/19.44, allocations: 3.938 kB / 6.196 GB, free: 77.97 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/19.44, allocations: 7.875 kB / 6.196 GB, free: 77.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.958e-06/19.44, allocations: 11.62 kB / 6.196 GB, free: 77.96 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/19.44, allocations: 3.375 kB / 6.196 GB, free: 77.96 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/19.44, allocations: 1.299 MB / 6.197 GB, free: 77.29 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005953/19.44, allocations: 218 kB / 6.197 GB, free: 77.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001949/19.44, allocations: 7.438 kB / 6.197 GB, free: 77.12 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007615/19.44, allocations: 37.17 kB / 6.197 GB, free: 77.11 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/19.44, allocations: 33.52 kB / 6.197 GB, free: 77.11 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.691e-05/19.44, allocations: 32.69 kB / 6.197 GB, free: 77.1 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0005779/19.44, allocations: 327.3 kB / 6.198 GB, free: 76.94 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.51e-07/19.44, allocations: 0 / 6.198 GB, free: 76.94 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002804/19.45, allocations: 474.5 kB / 6.198 GB, free: 76.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (vol.dynBal.medium.Xi[1],vol.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.00452/19.45, allocations: 1.438 MB / 6.199 GB, free: 76.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001492/19.45, allocations: 0.7448 MB / 6.2 GB, free: 76 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.575e-06/19.45, allocations: 0 / 6.2 GB, free: 76 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0004727/19.45, allocations: 295.7 kB / 6.2 GB, free: 75.89 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002092/19.46, allocations: 289.6 kB / 6.201 GB, free: 75.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003732/19.46, allocations: 1.155 MB / 6.202 GB, free: 75.26 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/19.46, allocations: 0.9864 MB / 6.203 GB, free: 74.54 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001131/19.46, allocations: 175.8 kB / 6.203 GB, free: 74.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002882/19.46, allocations: 60.08 kB / 6.203 GB, free: 74.48 MB / 0.5261 GB Notification: Performance of SimCode: time 4.017e-06/19.46, allocations: 3.969 kB / 6.203 GB, free: 74.48 MB / 0.5261 GB Notification: Performance of Templates: time 0.04503/19.51, allocations: 20.95 MB / 6.224 GB, free: 56.56 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain.sim & ./Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Rooms.BaseClasses.Examples.HeatGain.pipe 2>&1)