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.0009311/0.0009311, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.0009449/0.000945, allocations: 194.3 kB / 16.25 MB, free: 6.617 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.14/1.14, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.324/1.324, allocations: 251.7 MB / 0.5089 GB, free: 3.254 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.001198/0.001198, allocations: 60.23 kB / 0.6217 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3601/0.3613, allocations: 104.7 MB / 0.724 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.00259/0.3639, allocations: 1.835 MB / 0.7258 GB, free: 11.33 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001692/0.3656, allocations: 1.612 MB / 0.7274 GB, free: 9.707 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.179e-05/0.3657, allocations: 4 kB / 0.7274 GB, free: 9.703 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001561/0.3659, allocations: 19.86 kB / 0.7274 GB, free: 9.684 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 9.003e-05/0.366, allocations: 23.8 kB / 0.7274 GB, free: 9.66 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.0004886/0.3665, allocations: 207.5 kB / 0.7276 GB, free: 9.457 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000214/0.3667, allocations: 219.5 kB / 0.7278 GB, free: 9.242 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.3668, allocations: 59.81 kB / 0.7279 GB, free: 9.184 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.3669, allocations: 83.8 kB / 0.7279 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001024/0.367, allocations: 83.61 kB / 0.728 GB, free: 9.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.271e-05/0.3671, allocations: 12 kB / 0.728 GB, free: 9.008 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.3673, allocations: 187.7 kB / 0.7282 GB, free: 8.824 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.545e-05/0.3674, allocations: 75.8 kB / 0.7283 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.959e-05/0.3675, allocations: 83.53 kB / 0.7284 GB, free: 8.668 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.3679, allocations: 355.1 kB / 0.7287 GB, free: 8.32 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.3679, allocations: 0 / 0.7287 GB, free: 8.32 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3679, allocations: 0 / 0.7287 GB, free: 8.32 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3679, allocations: 0 / 0.7287 GB, free: 8.32 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.0008662/0.3688, allocations: 0.5649 MB / 0.7293 GB, free: 7.707 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.3688, allocations: 8.031 kB / 0.7293 GB, free: 7.699 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.771e-05/0.3689, allocations: 20.75 kB / 0.7293 GB, free: 7.68 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002141/0.3691, allocations: 241.4 kB / 0.7295 GB, free: 7.406 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.3691, allocations: 12.38 kB / 0.7295 GB, free: 7.395 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.3692, allocations: 27.84 kB / 0.7296 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003027/0.3695, allocations: 185.4 kB / 0.7297 GB, free: 7.18 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.3695, allocations: 0 / 0.7297 GB, free: 7.18 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/0.3695, allocations: 4 kB / 0.7297 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.48e-06/0.3695, allocations: 4 kB / 0.7297 GB, free: 7.172 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002246/0.3697, allocations: 123.8 kB / 0.7299 GB, free: 7.051 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001047/0.3708, allocations: 0.5702 MB / 0.7304 GB, free: 6.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006634/0.3715, allocations: 246.7 kB / 0.7306 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/0.3716, allocations: 92.69 kB / 0.7307 GB, free: 6.086 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.3717, allocations: 4 kB / 0.7307 GB, free: 6.082 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002296/0.3719, allocations: 147.9 kB / 0.7309 GB, free: 5.926 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.563e-06/0.3719, allocations: 3.938 kB / 0.7309 GB, free: 5.922 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0005886/0.3725, allocations: 347.2 kB / 0.7312 GB, free: 5.578 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.3726, allocations: 67.28 kB / 0.7313 GB, free: 5.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001323/0.3727, allocations: 179.2 kB / 0.7315 GB, free: 5.316 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.3727, allocations: 41.7 kB / 0.7315 GB, free: 5.27 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.456e-05/0.3728, allocations: 120.5 kB / 0.7316 GB, free: 5.148 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.1e-05/0.3729, allocations: 75.11 kB / 0.7317 GB, free: 5.074 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-05/0.3729, allocations: 73.69 kB / 0.7317 GB, free: 4.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.373, allocations: 334.8 kB / 0.7321 GB, free: 4.66 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.3732, allocations: 91.94 kB / 0.7322 GB, free: 4.57 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000221/0.3734, allocations: 228 kB / 0.7324 GB, free: 4.289 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.3738, allocations: 336 kB / 0.7327 GB, free: 3.902 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3738, allocations: 0 / 0.7327 GB, free: 3.902 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.000493/0.3743, allocations: 360.8 kB / 0.733 GB, free: 3.543 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3744, allocations: 11.98 kB / 0.733 GB, free: 3.531 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3744, allocations: 4 kB / 0.7331 GB, free: 3.527 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3744, allocations: 8.469 kB / 0.7331 GB, free: 3.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001644/0.3746, allocations: 51.92 kB / 0.7331 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.3746, allocations: 15.86 kB / 0.7331 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001615/0.3747, allocations: 43.67 kB / 0.7332 GB, free: 3.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.3748, allocations: 16 kB / 0.7332 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.0001326/0.3749, allocations: 164.7 kB / 0.7333 GB, free: 3.227 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.777e-05/0.3749, allocations: 19.8 kB / 0.7334 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.416e-05/0.375, allocations: 25.86 kB / 0.7334 GB, free: 3.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.375, allocations: 4 kB / 0.7334 GB, free: 3.176 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.375, allocations: 3.938 kB / 0.7334 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.375, allocations: 0 / 0.7334 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007832/0.3758, allocations: 0.6303 MB / 0.734 GB, free: 2.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.3758, allocations: 7.984 kB / 0.734 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001077/0.3759, allocations: 19.94 kB / 0.734 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.621e-06/0.3759, allocations: 11.92 kB / 0.734 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.948e-05/0.376, allocations: 4 kB / 0.734 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.376, allocations: 80 / 0.734 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.376, allocations: 3.984 kB / 0.7341 GB, free: 2.441 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/0.3766, allocations: 479 kB / 0.7345 GB, free: 1.957 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.383e-05/0.3767, allocations: 100.8 kB / 0.7346 GB, free: 1.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.619e-05/0.3767, allocations: 15.97 kB / 0.7346 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001518/0.3769, allocations: 11.98 kB / 0.7346 GB, free: 1.812 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.415e-05/0.3769, allocations: 23.97 kB / 0.7347 GB, free: 1.789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.21e-05/0.377, allocations: 7.984 kB / 0.7347 GB, free: 1.781 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.048e-05/0.3771, allocations: 131.2 kB / 0.7348 GB, free: 1.652 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3771, allocations: 4 kB / 0.7348 GB, free: 1.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003824/0.3775, allocations: 95.98 kB / 0.7349 GB, free: 1.555 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.0005875/0.3781, allocations: 326.6 kB / 0.7352 GB, free: 1.289 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004494/0.3785, allocations: 275.7 kB / 0.7355 GB, free: 1.02 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3785, allocations: 4 kB / 0.7355 GB, free: 1.016 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/0.3787, allocations: 95.08 kB / 0.7356 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.379, allocations: 27.92 kB / 0.7356 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00073/0.3797, allocations: 0.5154 MB / 0.7361 GB, free: 364 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002605/0.38, allocations: 0.7402 MB / 0.7368 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001162/0.3801, allocations: 49.91 kB / 0.7369 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.589e-05/0.3802, allocations: 19.44 kB / 0.7369 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.3802, allocations: 0 / 0.7369 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.005057/0.3852, allocations: 3.005 MB / 0.7398 GB, free: 12.52 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)