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.0007794/0.0007794, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.005149/0.005149, allocations: 171.1 kB / 16.27 MB, free: 6.648 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.242/1.242, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.42/1.42, allocations: 252 MB / 0.5105 GB, free: 4.723 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.0005526/0.0005526, allocations: 12 kB / 0.6249 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4254/0.426, allocations: 106.3 MB / 0.7287 GB, free: 11.23 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.001975/0.428, allocations: 1.488 MB / 0.7302 GB, free: 9.73 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.43, allocations: 1.604 MB / 0.7317 GB, free: 8.113 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.952e-05/0.4301, allocations: 4 kB / 0.7317 GB, free: 8.109 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001719/0.4303, allocations: 23.86 kB / 0.7318 GB, free: 8.086 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001135/0.4304, allocations: 15.84 kB / 0.7318 GB, free: 8.07 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.0006007/0.431, allocations: 202.4 kB / 0.732 GB, free: 7.875 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.4313, allocations: 207.5 kB / 0.7322 GB, free: 7.672 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.4314, allocations: 59.86 kB / 0.7322 GB, free: 7.613 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.4316, allocations: 63.77 kB / 0.7323 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001324/0.4317, allocations: 71.61 kB / 0.7324 GB, free: 7.48 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.4318, allocations: 4 kB / 0.7324 GB, free: 7.477 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003439/0.4321, allocations: 179.7 kB / 0.7325 GB, free: 7.301 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.924e-05/0.4322, allocations: 63.81 kB / 0.7326 GB, free: 7.238 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.946e-05/0.4323, allocations: 105.2 kB / 0.7327 GB, free: 7.129 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003751/0.4327, allocations: 347 kB / 0.733 GB, free: 6.789 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.4327, allocations: 0 / 0.733 GB, free: 6.789 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.273e-06/0.4327, allocations: 0 / 0.733 GB, free: 6.789 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.4327, allocations: 0 / 0.733 GB, free: 6.789 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.0008318/0.4336, allocations: 0.5338 MB / 0.7336 GB, free: 6.207 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.4336, allocations: 8.031 kB / 0.7336 GB, free: 6.199 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.509e-05/0.4337, allocations: 20.75 kB / 0.7336 GB, free: 6.18 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.4339, allocations: 246 kB / 0.7338 GB, free: 5.902 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.346e-05/0.4339, allocations: 12.38 kB / 0.7338 GB, free: 5.891 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.62e-05/0.434, allocations: 31.84 kB / 0.7339 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003457/0.4343, allocations: 185.4 kB / 0.734 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.725e-06/0.4343, allocations: 0 / 0.734 GB, free: 5.672 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.257e-05/0.4344, allocations: 8 kB / 0.734 GB, free: 5.664 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.4344, allocations: 4 kB / 0.734 GB, free: 5.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002654/0.4347, allocations: 131.8 kB / 0.7342 GB, free: 5.531 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001178/0.4358, allocations: 0.5742 MB / 0.7347 GB, free: 4.906 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007851/0.4366, allocations: 266.7 kB / 0.735 GB, free: 4.637 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.4368, allocations: 92.75 kB / 0.7351 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.4369, allocations: 4 kB / 0.7351 GB, free: 4.539 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002738/0.4371, allocations: 159.2 kB / 0.7352 GB, free: 4.371 MB / 0.545 GB Notification: Performance of pre-optimization done (n=22): time 3.266e-06/0.4371, allocations: 0 / 0.7352 GB, free: 4.371 MB / 0.545 GB Notification: Performance of matching and sorting (n=22): time 0.0006563/0.4378, allocations: 368 kB / 0.7356 GB, free: 4.008 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.406e-05/0.4379, allocations: 67.28 kB / 0.7356 GB, free: 3.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001418/0.438, allocations: 179.2 kB / 0.7358 GB, free: 3.742 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.294e-05/0.4381, allocations: 41.7 kB / 0.7359 GB, free: 3.695 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.987e-05/0.4381, allocations: 124.5 kB / 0.736 GB, free: 3.57 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.476e-05/0.4382, allocations: 67.19 kB / 0.736 GB, free: 3.504 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.735e-05/0.4383, allocations: 37.7 kB / 0.7361 GB, free: 3.461 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.4384, allocations: 342.8 kB / 0.7364 GB, free: 3.117 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.4386, allocations: 99.92 kB / 0.7365 GB, free: 3.02 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002492/0.4388, allocations: 232 kB / 0.7367 GB, free: 2.734 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004251/0.4392, allocations: 336 kB / 0.737 GB, free: 2.348 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.4393, allocations: 0 / 0.737 GB, free: 2.348 MB / 0.545 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005887/0.4399, allocations: 381.1 kB / 0.7374 GB, free: 1.969 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4399, allocations: 4 kB / 0.7374 GB, free: 1.965 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.698e-06/0.4399, allocations: 4 kB / 0.7374 GB, free: 1.961 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.4399, allocations: 12 kB / 0.7374 GB, free: 1.949 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.4401, allocations: 55.91 kB / 0.7375 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-05/0.4401, allocations: 15.86 kB / 0.7375 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00019/0.4403, allocations: 55.77 kB / 0.7375 GB, free: 1.824 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.013e-05/0.4404, allocations: 12 kB / 0.7376 GB, free: 1.812 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.0001526/0.4405, allocations: 168.6 kB / 0.7377 GB, free: 1.641 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.595e-05/0.4406, allocations: 19.81 kB / 0.7377 GB, free: 1.621 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.399e-05/0.4406, allocations: 21.86 kB / 0.7378 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.4406, allocations: 4 kB / 0.7378 GB, free: 1.594 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.4406, allocations: 3.938 kB / 0.7378 GB, free: 1.59 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4406, allocations: 3.938 kB / 0.7378 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008407/0.4415, allocations: 0.631 MB / 0.7384 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.4415, allocations: 144 / 0.7384 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001241/0.4416, allocations: 27.92 kB / 0.7384 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.645e-06/0.4416, allocations: 11.92 kB / 0.7384 GB, free: 0.8594 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.004e-05/0.4417, allocations: 7.984 kB / 0.7384 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.4417, allocations: 0 / 0.7384 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4417, allocations: 0 / 0.7384 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006506/0.4423, allocations: 492.9 kB / 0.7389 GB, free: 364 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.221e-05/0.4424, allocations: 96.8 kB / 0.739 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.197e-05/0.4424, allocations: 16.03 kB / 0.739 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001706/0.4426, allocations: 27.92 kB / 0.739 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.401e-05/0.4427, allocations: 19.97 kB / 0.739 GB, free: 184 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.316e-05/0.4427, allocations: 7.984 kB / 0.7391 GB, free: 176 kB / 0.545 GB Notification: Performance of sorting global known variables: time 8.567e-05/0.4428, allocations: 131.2 kB / 0.7392 GB, free: 44 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.904e-06/0.4428, allocations: 0 / 0.7392 GB, free: 44 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004226/0.4432, allocations: 99.92 kB / 0.7393 GB, free: 15.95 MB / 0.5606 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.0006329/0.4439, allocations: 313.3 kB / 0.7396 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004334/0.4443, allocations: 251.6 kB / 0.7398 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.4443, allocations: 0 / 0.7398 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000172/0.4445, allocations: 103.3 kB / 0.7399 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.4448, allocations: 27.92 kB / 0.7399 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007878/0.4456, allocations: 0.5318 MB / 0.7405 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002772/0.4459, allocations: 0.7446 MB / 0.7412 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001291/0.446, allocations: 49.91 kB / 0.7412 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.4461, allocations: 19.44 kB / 0.7413 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of SimCode: time 3e-07/0.4461, allocations: 0 / 0.7413 GB, free: 13.92 MB / 0.5606 GB Notification: Performance of Templates: time 0.005611/0.4517, allocations: 2.912 MB / 0.7441 GB, free: 11.02 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: