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.5873/0.5873, allocations: 94.69 MB / 107.3 MB, free: 5.172 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.001428/0.001428, allocations: 170.6 kB / 130.7 MB, free: 7.527 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.777/1.777, allocations: 170.5 MB / 324.5 MB, free: 4.055 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.00198/0.00198, allocations: 107.2 kB / 386.6 MB, free: 16.27 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.374e-05/5.377e-05, allocations: 4 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7253/0.7254, allocations: 61.51 MB / 0.5054 GB, free: 49.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 17.83/18.56, allocations: 5.308 GB / 5.814 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003477/18.56, allocations: 84.39 kB / 5.814 GB, free: 119.5 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.707/20.26, allocations: 340.2 MB / 6.146 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.324e-06/20.26, allocations: 0 / 6.146 GB, free: 84.5 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.999e-05/20.26, allocations: 23.8 kB / 6.146 GB, free: 84.5 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.002608/20.27, allocations: 1.126 MB / 6.147 GB, free: 84.02 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.263e-05/20.27, allocations: 10.47 kB / 6.147 GB, free: 84.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003753/20.27, allocations: 93.44 kB / 6.147 GB, free: 83.98 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1205/20.39, allocations: 48.47 MB / 6.195 GB, free: 80.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001964/20.39, allocations: 112.9 kB / 6.195 GB, free: 80.14 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001645/20.39, allocations: 61.81 kB / 6.195 GB, free: 80.14 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/20.39, allocations: 0.7315 MB / 6.195 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/20.39, allocations: 1.188 kB / 6.195 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.155e-05/20.39, allocations: 25.03 kB / 6.195 GB, free: 80.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.133e-05/20.39, allocations: 18.42 kB / 6.195 GB, free: 80.04 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001484/20.39, allocations: 0.6491 MB / 6.196 GB, free: 80.04 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.005759/20.4, allocations: 2.74 MB / 6.199 GB, free: 78.75 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/20.4, allocations: 428.9 kB / 6.199 GB, free: 78.73 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004677/20.4, allocations: 225.9 kB / 6.199 GB, free: 78.72 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006417/20.4, allocations: 331.3 kB / 6.2 GB, free: 78.44 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.025e-05/20.4, allocations: 42.92 kB / 6.2 GB, free: 78.4 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=39): time 4.879e-06/20.4, allocations: 0 / 6.2 GB, free: 78.4 MB / 0.5261 GB Notification: Performance of matching and sorting (n=44): time 0.005661/20.41, allocations: 1.656 MB / 6.201 GB, free: 77.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/20.41, allocations: 56.19 kB / 6.201 GB, free: 77.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009318/20.41, allocations: 0.5962 MB / 6.202 GB, free: 77.79 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-05/20.41, allocations: 36.42 kB / 6.202 GB, free: 77.76 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002828/20.41, allocations: 352.2 kB / 6.202 GB, free: 77.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/20.41, allocations: 155.5 kB / 6.203 GB, free: 77.51 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.635e-05/20.41, allocations: 13.69 kB / 6.203 GB, free: 77.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001679/20.41, allocations: 377.6 kB / 6.203 GB, free: 77.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004263/20.41, allocations: 248 kB / 6.203 GB, free: 77.19 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/20.41, allocations: 390.6 kB / 6.204 GB, free: 77.05 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005379/20.41, allocations: 389.7 kB / 6.204 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/20.41, allocations: 0 / 6.204 GB, free: 76.95 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00144/20.41, allocations: 0.8708 MB / 6.205 GB, free: 76.79 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-05/20.41, allocations: 94.58 kB / 6.205 GB, free: 76.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/20.41, allocations: 7.578 kB / 6.205 GB, free: 76.69 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.481e-05/20.41, allocations: 6.938 kB / 6.205 GB, free: 76.69 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/20.41, allocations: 138.7 kB / 6.205 GB, free: 76.69 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.603e-05/20.41, allocations: 12.08 kB / 6.205 GB, free: 76.69 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007537/20.41, allocations: 56.06 kB / 6.205 GB, free: 76.68 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/20.41, allocations: 36.5 kB / 6.205 GB, free: 76.68 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 (73): * Single equations (assignments): 70 * 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.0003704/20.41, allocations: 192.9 kB / 6.205 GB, free: 76.56 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/20.41, allocations: 76.81 kB / 6.205 GB, free: 76.53 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001371/20.41, allocations: 0.7373 MB / 6.206 GB, free: 76.46 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/20.41, allocations: 8.266 kB / 6.206 GB, free: 76.45 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.065e-05/20.41, allocations: 3.875 kB / 6.206 GB, free: 76.45 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/20.41, allocations: 6.016 kB / 6.206 GB, free: 76.45 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002773/20.42, allocations: 1.611 MB / 6.208 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.383e-06/20.42, allocations: 3.5 kB / 6.208 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000496/20.42, allocations: 101.9 kB / 6.208 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/20.42, allocations: 3.281 kB / 6.208 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/20.42, allocations: 16.75 kB / 6.208 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.524e-06/20.42, allocations: 6.656 kB / 6.208 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/20.42, allocations: 3.938 kB / 6.208 GB, free: 76.08 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/20.42, allocations: 1.173 MB / 6.209 GB, free: 75.72 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004911/20.42, allocations: 235.1 kB / 6.209 GB, free: 75.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001001/20.42, allocations: 21.81 kB / 6.209 GB, free: 75.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005781/20.42, allocations: 41.77 kB / 6.209 GB, free: 75.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.267e-05/20.42, allocations: 45.05 kB / 6.209 GB, free: 75.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.165e-05/20.42, allocations: 29.72 kB / 6.209 GB, free: 75.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0006782/20.42, allocations: 478.7 kB / 6.21 GB, free: 75.48 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.6e-07/20.42, allocations: 2.719 kB / 6.21 GB, free: 75.48 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.002558/20.42, allocations: 0.5156 MB / 6.21 GB, free: 75.41 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.003065/20.43, allocations: 1.259 MB / 6.211 GB, free: 75.16 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001542/20.43, allocations: 0.7883 MB / 6.212 GB, free: 74.97 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/20.43, allocations: 0 / 6.212 GB, free: 74.97 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000428/20.43, allocations: 302.3 kB / 6.213 GB, free: 74.96 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/20.43, allocations: 383.1 kB / 6.213 GB, free: 74.96 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/20.43, allocations: 1.202 MB / 6.214 GB, free: 74.63 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006129/20.43, allocations: 0.9945 MB / 6.215 GB, free: 73.93 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0008828/20.44, allocations: 183.9 kB / 6.215 GB, free: 73.92 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/20.44, allocations: 71.33 kB / 6.215 GB, free: 73.91 MB / 0.5261 GB Notification: Performance of SimCode: time 1.313e-06/20.44, allocations: 4.906 kB / 6.215 GB, free: 73.91 MB / 0.5261 GB Notification: Performance of Templates: time 0.05844/20.49, allocations: 33.7 MB / 6.248 GB, free: 72.06 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)