Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008933/0.0008933, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008665/0.0008665, allocations: 193 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.138/1.138, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.29/1.29, allocations: 251.6 MB / 0.5088 GB, free: 3.273 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 59.92 kB / 0.6216 GB, free: 1.949 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.344, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.00254/0.3466, allocations: 1.846 MB / 0.7256 GB, free: 11.27 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001673/0.3483, allocations: 1.616 MB / 0.7272 GB, free: 9.645 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.124e-05/0.3483, allocations: 3.938 kB / 0.7272 GB, free: 9.641 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.3485, allocations: 31.84 kB / 0.7272 GB, free: 9.609 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.183e-05/0.3486, allocations: 15.86 kB / 0.7272 GB, free: 9.594 MB / 0.545 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Obsolete/Utilities/IO/Python27/Functions/exchange.mo:2:1-109:13:writable] Warning: Pure function ‘Buildings.Obsolete.Utilities.IO.Python27.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0004144/0.349, allocations: 191.6 kB / 0.7274 GB, free: 9.406 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001928/0.3492, allocations: 203.5 kB / 0.7276 GB, free: 9.207 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.3493, allocations: 63.8 kB / 0.7277 GB, free: 9.145 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001031/0.3494, allocations: 79.75 kB / 0.7278 GB, free: 9.066 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.773e-05/0.3495, allocations: 71.67 kB / 0.7278 GB, free: 8.996 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.3495, allocations: 8 kB / 0.7278 GB, free: 8.988 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002737/0.3498, allocations: 191.6 kB / 0.728 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.713e-05/0.3499, allocations: 63.81 kB / 0.7281 GB, free: 8.738 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.267e-05/0.35, allocations: 79.53 kB / 0.7281 GB, free: 8.66 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003173/0.3503, allocations: 351.1 kB / 0.7285 GB, free: 8.316 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.3503, allocations: 0 / 0.7285 GB, free: 8.316 MB / 0.545 GB Notification: Performance of FrontEnd: time 6.52e-07/0.3503, allocations: 0 / 0.7285 GB, free: 8.316 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.537e-06/0.3503, allocations: 0 / 0.7285 GB, free: 8.316 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0007398/0.3511, allocations: 0.561 MB / 0.729 GB, free: 7.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 2.652e-05/0.3511, allocations: 16.03 kB / 0.729 GB, free: 7.691 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.3512, allocations: 24.69 kB / 0.7291 GB, free: 7.668 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.3514, allocations: 236.7 kB / 0.7293 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.824e-05/0.3514, allocations: 16.31 kB / 0.7293 GB, free: 7.383 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.619e-05/0.3514, allocations: 31.83 kB / 0.7293 GB, free: 7.352 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002925/0.3517, allocations: 181.4 kB / 0.7295 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.3518, allocations: 0 / 0.7295 GB, free: 7.168 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.737e-05/0.3518, allocations: 7.984 kB / 0.7295 GB, free: 7.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3518, allocations: 4 kB / 0.7295 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.352, allocations: 115.9 kB / 0.7296 GB, free: 7.043 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009958/0.353, allocations: 0.5663 MB / 0.7302 GB, free: 6.426 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.3536, allocations: 246.7 kB / 0.7304 GB, free: 6.176 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.3538, allocations: 88.75 kB / 0.7305 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.71e-05/0.3538, allocations: 4 kB / 0.7305 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.3541, allocations: 151.3 kB / 0.7307 GB, free: 5.922 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.483e-06/0.3541, allocations: 7.875 kB / 0.7307 GB, free: 5.914 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0005653/0.3546, allocations: 343.7 kB / 0.731 GB, free: 5.574 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.095e-05/0.3547, allocations: 71.33 kB / 0.7311 GB, free: 5.492 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3548, allocations: 172 kB / 0.7312 GB, free: 5.316 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.938e-05/0.3549, allocations: 41.7 kB / 0.7313 GB, free: 5.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.038e-05/0.3549, allocations: 124.5 kB / 0.7314 GB, free: 5.145 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.721e-05/0.355, allocations: 71.19 kB / 0.7315 GB, free: 5.074 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.654e-05/0.3551, allocations: 69.69 kB / 0.7315 GB, free: 5 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.3552, allocations: 334.8 kB / 0.7318 GB, free: 4.664 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000156/0.3553, allocations: 91.94 kB / 0.7319 GB, free: 4.574 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002202/0.3555, allocations: 232 kB / 0.7321 GB, free: 4.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003631/0.3559, allocations: 336 kB / 0.7325 GB, free: 3.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.3559, allocations: 0 / 0.7325 GB, free: 3.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004947/0.3564, allocations: 360.9 kB / 0.7328 GB, free: 3.543 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3564, allocations: 8 kB / 0.7328 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.3565, allocations: 4.469 kB / 0.7328 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3565, allocations: 12 kB / 0.7328 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001613/0.3566, allocations: 55.84 kB / 0.7329 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.677e-06/0.3567, allocations: 7.938 kB / 0.7329 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001631/0.3568, allocations: 47.61 kB / 0.7329 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.3568, allocations: 16 kB / 0.733 GB, free: 3.395 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 26 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,onOffCon.y,$PRE.onOffCon.y,pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1],pyt.uRWri[2],$PRE.pyt.uRWri[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001239/0.357, allocations: 167.4 kB / 0.7331 GB, free: 3.223 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.357, allocations: 15.81 kB / 0.7331 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.14e-05/0.3571, allocations: 25.86 kB / 0.7332 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.3571, allocations: 4 kB / 0.7332 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.3571, allocations: 3.938 kB / 0.7332 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.3571, allocations: 0 / 0.7332 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007567/0.3578, allocations: 0.6387 MB / 0.7338 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.3579, allocations: 4 kB / 0.7338 GB, free: 2.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001059/0.358, allocations: 19.98 kB / 0.7338 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.358, allocations: 7.938 kB / 0.7338 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.358, allocations: 4 kB / 0.7338 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.358, allocations: 3.984 kB / 0.7338 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.358, allocations: 0 / 0.7338 GB, free: 2.438 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005751/0.3586, allocations: 481.2 kB / 0.7343 GB, free: 1.953 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.052e-05/0.3586, allocations: 96.8 kB / 0.7344 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.3587, allocations: 19.97 kB / 0.7344 GB, free: 1.82 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001484/0.3588, allocations: 15.97 kB / 0.7344 GB, free: 1.805 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.3589, allocations: 20.22 kB / 0.7344 GB, free: 1.785 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.037e-05/0.3589, allocations: 7.984 kB / 0.7344 GB, free: 1.777 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.713e-05/0.359, allocations: 135.5 kB / 0.7346 GB, free: 1.645 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.359, allocations: 0 / 0.7346 GB, free: 1.645 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003576/0.3594, allocations: 95.97 kB / 0.7347 GB, free: 1.551 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (pyt.uRInt[1],pyt.uRInt[2],pyt.uRInt[3],pyt.uRInt[4]) * Number of discrete variables: 14 (pyt.sampleTrigger,$whenCondition1,pyt.firstTrigger,pyt.yR[1],pyt.yR[2],pyt.uRIntPre[1],pyt.uRIntPre[2],pyt.uRIntPre[3],pyt.uRIntPre[4],pyt.uRWri[1],pyt.uRWri[2],pyt.uRWri[3],pyt.uRWri[4],onOffCon.y) * Number of discrete states: 5 (pyt.uR[1],pyt.uR[2],pyt.uR[3],pyt.uR[4],onOffCon.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005188/0.3599, allocations: 322.6 kB / 0.735 GB, free: 1.289 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0003818/0.3603, allocations: 239.6 kB / 0.7352 GB, free: 1.055 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.3603, allocations: 0.9375 kB / 0.7352 GB, free: 1.055 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.3605, allocations: 97.02 kB / 0.7353 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.3607, allocations: 27.92 kB / 0.7353 GB, free: 0.9336 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007001/0.3614, allocations: 0.5079 MB / 0.7358 GB, free: 412 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.3617, allocations: 0.7443 MB / 0.7365 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001142/0.3618, allocations: 49.91 kB / 0.7366 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.755e-05/0.3619, allocations: 15.44 kB / 0.7366 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of SimCode: time 1.383e-06/0.3619, allocations: 0 / 0.7366 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of Templates: time 0.004921/0.3668, allocations: 2.936 MB / 0.7395 GB, free: 12.64 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile (rm -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & ./Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)