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.0008578/0.000858, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008871/0.0008874, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.681/1.681, allocations: 205.4 MB / 222.1 MB, free: 5.727 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.654/1.654, allocations: 252 MB / 0.5102 GB, free: 4.809 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.0007507/0.0007509, allocations: 12 kB / 0.6243 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6392/0.64, allocations: 106.3 MB / 0.7281 GB, free: 11.4 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002123/0.6421, allocations: 1.461 MB / 0.7296 GB, free: 9.926 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002165/0.6443, allocations: 1.546 MB / 0.7311 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.6445, allocations: 0 / 0.7311 GB, free: 8.367 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002354/0.6447, allocations: 19.86 kB / 0.7311 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001462/0.6449, allocations: 15.86 kB / 0.7311 GB, free: 8.332 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.0006582/0.6455, allocations: 187.5 kB / 0.7313 GB, free: 8.148 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002551/0.6458, allocations: 191.5 kB / 0.7315 GB, free: 7.961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.646, allocations: 55.8 kB / 0.7315 GB, free: 7.906 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001268/0.6461, allocations: 71.75 kB / 0.7316 GB, free: 7.836 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001277/0.6462, allocations: 55.75 kB / 0.7316 GB, free: 7.781 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.989e-05/0.6463, allocations: 8 kB / 0.7316 GB, free: 7.773 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003189/0.6466, allocations: 163.7 kB / 0.7318 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001019/0.6467, allocations: 63.86 kB / 0.7319 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.903e-05/0.6468, allocations: 53.58 kB / 0.7319 GB, free: 7.492 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003045/0.6471, allocations: 263.5 kB / 0.7322 GB, free: 7.234 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.6471, allocations: 0 / 0.7322 GB, free: 7.234 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.913e-06/0.6471, allocations: 4 kB / 0.7322 GB, free: 7.23 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.6471, allocations: 0 / 0.7322 GB, free: 7.23 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.0009386/0.6481, allocations: 0.5298 MB / 0.7327 GB, free: 6.652 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.6481, allocations: 8.031 kB / 0.7327 GB, free: 6.645 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.899e-05/0.6482, allocations: 19.81 kB / 0.7327 GB, free: 6.625 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002725/0.6485, allocations: 240.8 kB / 0.7329 GB, free: 6.352 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.6485, allocations: 15.98 kB / 0.733 GB, free: 6.336 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.319e-05/0.6486, allocations: 20 kB / 0.733 GB, free: 6.316 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003615/0.6489, allocations: 193.4 kB / 0.7332 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.177e-06/0.6489, allocations: 0 / 0.7332 GB, free: 6.121 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.008e-05/0.649, allocations: 11.89 kB / 0.7332 GB, free: 6.109 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.649, allocations: 4 kB / 0.7332 GB, free: 6.105 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002525/0.6492, allocations: 119.9 kB / 0.7333 GB, free: 5.988 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.6505, allocations: 0.5819 MB / 0.7339 GB, free: 5.355 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006583/0.6511, allocations: 270.7 kB / 0.7341 GB, free: 5.082 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.6513, allocations: 89 kB / 0.7342 GB, free: 4.992 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.221e-05/0.6513, allocations: 7.938 kB / 0.7342 GB, free: 4.984 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002931/0.6516, allocations: 160.2 kB / 0.7344 GB, free: 4.82 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 1.452e-06/0.6517, allocations: 0 / 0.7344 GB, free: 4.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0007123/0.6524, allocations: 358.4 kB / 0.7347 GB, free: 4.465 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.6524, allocations: 67.39 kB / 0.7348 GB, free: 4.387 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.6526, allocations: 176 kB / 0.7349 GB, free: 4.203 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.008e-05/0.6527, allocations: 49.62 kB / 0.735 GB, free: 4.148 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.6528, allocations: 124.5 kB / 0.7351 GB, free: 4.023 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/0.6529, allocations: 63.2 kB / 0.7352 GB, free: 3.961 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.479e-05/0.6529, allocations: 8 kB / 0.7352 GB, free: 3.953 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001924/0.6531, allocations: 334.8 kB / 0.7355 GB, free: 3.617 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001849/0.6533, allocations: 99.92 kB / 0.7356 GB, free: 3.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002854/0.6536, allocations: 232 kB / 0.7358 GB, free: 3.234 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/0.6538, allocations: 131.9 kB / 0.7359 GB, free: 3.105 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.6538, allocations: 4 kB / 0.7359 GB, free: 3.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005884/0.6544, allocations: 372.8 kB / 0.7363 GB, free: 2.73 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.6544, allocations: 15.94 kB / 0.7363 GB, free: 2.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.814e-06/0.6545, allocations: 4.469 kB / 0.7363 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.6545, allocations: 12 kB / 0.7363 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001776/0.6547, allocations: 51.92 kB / 0.7364 GB, free: 2.648 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.6547, allocations: 15.92 kB / 0.7364 GB, free: 2.633 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001657/0.6549, allocations: 47.61 kB / 0.7364 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-05/0.6549, allocations: 16 kB / 0.7364 GB, free: 2.57 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 ($PRE.pyt.firstTrigger,pyt.firstTrigger,$PRE.pyt.yR[2],pyt.yR[2],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[4],pyt.uRIntPre[4],$PRE.pyt.uRWri[1],pyt.uRWri[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.6551, allocations: 167.5 kB / 0.7366 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.507e-05/0.6551, allocations: 15.81 kB / 0.7366 GB, free: 2.383 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.637e-05/0.6552, allocations: 25.81 kB / 0.7366 GB, free: 2.355 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.6552, allocations: 4 kB / 0.7366 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6552, allocations: 0 / 0.7366 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.6552, allocations: 0 / 0.7366 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008945/0.6561, allocations: 0.6448 MB / 0.7373 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.6561, allocations: 0 / 0.7373 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001116/0.6562, allocations: 19.98 kB / 0.7373 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.6562, allocations: 0 / 0.7373 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.677e-05/0.6563, allocations: 19.92 kB / 0.7373 GB, free: 1.613 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.6563, allocations: 4 kB / 0.7373 GB, free: 1.609 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6563, allocations: 4 kB / 0.7373 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006596/0.6569, allocations: 483 kB / 0.7378 GB, free: 1.117 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.46e-05/0.657, allocations: 104.7 kB / 0.7379 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.955e-05/0.6571, allocations: 12.03 kB / 0.7379 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001501/0.6572, allocations: 27.97 kB / 0.7379 GB, free: 0.957 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.441e-05/0.6573, allocations: 15.97 kB / 0.7379 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.368e-05/0.6573, allocations: 12 kB / 0.7379 GB, free: 0.9297 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.877e-05/0.6574, allocations: 131.5 kB / 0.7381 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6574, allocations: 0 / 0.7381 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004604/0.6579, allocations: 99.92 kB / 0.7382 GB, free: 0.7031 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 (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.000654/0.6586, allocations: 320.7 kB / 0.7385 GB, free: 456 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004567/0.659, allocations: 245.9 kB / 0.7387 GB, free: 212 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.659, allocations: 4.125 kB / 0.7387 GB, free: 208 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001808/0.6592, allocations: 103.9 kB / 0.7388 GB, free: 104 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003018/0.6595, allocations: 19.92 kB / 0.7388 GB, free: 84 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009299/0.6605, allocations: 0.5183 MB / 0.7393 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.6608, allocations: 0.7482 MB / 0.7401 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000134/0.661, allocations: 49.91 kB / 0.7401 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.369e-05/0.661, allocations: 19.44 kB / 0.7401 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.661, allocations: 0 / 0.7401 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.00626/0.6673, allocations: 2.838 MB / 0.7429 GB, free: 11.86 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: