Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.845/2.845, allocations: 287.5 MB / 302.4 MB, free: 8.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001287/0.001287, allocations: 182.4 kB / 371 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.171/2.171, allocations: 205.4 MB / 0.6297 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009789/0.0009782, allocations: 90.98 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004922/0.0004924, allocations: 10.72 kB / 0.8658 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2241, allocations: 115.3 MB / 0.9783 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.SimpleRoom): time 0.002417/0.2266, allocations: 1.461 MB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002711/0.2294, allocations: 1.523 MB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.2296, allocations: 7.938 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002138/0.2298, allocations: 27.8 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.2299, allocations: 19.84 kB / 0.9813 GB, free: 25.3 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/Utilities/IO/Python36/Functions/exchange.mo:2:1-113:13:writable] Warning: Pure function ‘Buildings.Utilities.IO.Python36.Functions.exchange‘ contains a call to impure function ‘Modelica.Utilities.System.getEnvironmentVariable‘. Notification: Performance of NFTyping.typeClassSections: time 0.0008516/0.2308, allocations: 191.6 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003314/0.2312, allocations: 219.4 kB / 0.9817 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000169/0.2313, allocations: 45.89 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001638/0.2315, allocations: 75.75 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001442/0.2317, allocations: 67.67 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.467e-05/0.2317, allocations: 8 kB / 0.9819 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005021/0.2322, allocations: 171.7 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001109/0.2324, allocations: 63.81 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.631e-05/0.2325, allocations: 53.64 kB / 0.9822 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004248/0.2329, allocations: 275.7 kB / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.2329, allocations: 0 / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2329, allocations: 0 / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.2329, allocations: 0 / 0.9824 GB, free: 24.14 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.001196/0.2341, allocations: 0.5302 MB / 0.983 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2342, allocations: 20.02 kB / 0.983 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.77e-05/0.2343, allocations: 23.72 kB / 0.983 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.2346, allocations: 236 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.577e-05/0.2346, allocations: 20.33 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.189e-05/0.2347, allocations: 27.92 kB / 0.9833 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004986/0.2352, allocations: 200.2 kB / 0.9835 GB, free: 23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2352, allocations: 4 kB / 0.9835 GB, free: 22.99 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.014e-05/0.2353, allocations: 7.953 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.2353, allocations: 4 kB / 0.9835 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003597/0.2357, allocations: 124.5 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002008/0.2377, allocations: 0.5938 MB / 0.9842 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.2391, allocations: 298.4 kB / 0.9845 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000244/0.2394, allocations: 100.8 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.679e-05/0.2394, allocations: 0 / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000419/0.2399, allocations: 171.5 kB / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 2.836e-06/0.2399, allocations: 3.938 kB / 0.9847 GB, free: 21.63 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0009815/0.2409, allocations: 389.2 kB / 0.9851 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.2409, allocations: 67.34 kB / 0.9852 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.2411, allocations: 178.3 kB / 0.9853 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.492e-05/0.2412, allocations: 49.69 kB / 0.9854 GB, free: 20.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.939e-05/0.2413, allocations: 132.6 kB / 0.9855 GB, free: 20.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.111e-05/0.2414, allocations: 79.02 kB / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.2414, allocations: 8 kB / 0.9856 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.624e-05/0.2415, allocations: 338.8 kB / 0.9859 GB, free: 20.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.2418, allocations: 112.8 kB / 0.986 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.2422, allocations: 250.6 kB / 0.9863 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003596/0.2426, allocations: 159.9 kB / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/0.2426, allocations: 0 / 0.9864 GB, free: 19.8 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009082/0.2435, allocations: 421.1 kB / 0.9868 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.2436, allocations: 8 kB / 0.9868 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.2436, allocations: 7.984 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.432e-05/0.2436, allocations: 4 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003594/0.244, allocations: 67.81 kB / 0.9869 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/0.244, allocations: 7.984 kB / 0.9869 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002917/0.2443, allocations: 43.67 kB / 0.9869 GB, free: 19.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.493e-05/0.2444, allocations: 24 kB / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 ($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_temp[1],pyt.uRWri_temp[1],$PRE.pyt.uRWri[4],pyt.uRWri[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri_temp[4],$whenCondition1,pyt.sampleTrigger,$PRE.pyt.yR[1],pyt.yR[1],$PRE.pyt.uRWri[3],pyt.uRWri[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri_temp[3],$PRE.onOffCon.y,onOffCon.y,$PRE.pyt.uRWri[2],pyt.uRWri[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri_temp[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 50 * 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.0002496/0.2446, allocations: 180.3 kB / 0.9871 GB, free: 19.03 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.518e-05/0.2447, allocations: 15.81 kB / 0.9871 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.887e-05/0.2448, allocations: 21.86 kB / 0.9872 GB, free: 19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.2448, allocations: 8 kB / 0.9872 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.2448, allocations: 3.953 kB / 0.9872 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.2448, allocations: 0 / 0.9872 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001456/0.2463, allocations: 0.6747 MB / 0.9878 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.2463, allocations: 0 / 0.9878 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002077/0.2465, allocations: 15.98 kB / 0.9879 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.388e-06/0.2466, allocations: 4 kB / 0.9879 GB, free: 18.24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.887e-05/0.2466, allocations: 19.94 kB / 0.9879 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.2466, allocations: 0 / 0.9879 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.2466, allocations: 192 / 0.9879 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009968/0.2477, allocations: 0.5108 MB / 0.9884 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.015e-05/0.2477, allocations: 100.9 kB / 0.9885 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.709e-05/0.2478, allocations: 20.12 kB / 0.9885 GB, free: 17.55 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.2481, allocations: 35.86 kB / 0.9885 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.2482, allocations: 15.97 kB / 0.9885 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.2482, allocations: 15.98 kB / 0.9886 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001164/0.2484, allocations: 128.3 kB / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.3e-07/0.2484, allocations: 0 / 0.9887 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0006065/0.249, allocations: 115.8 kB / 0.9888 GB, free: 17.25 MB / 0.6198 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: 18 (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],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[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 (25): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.0008811/0.2499, allocations: 327.5 kB / 0.9891 GB, free: 16.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007741/0.2507, allocations: 275.5 kB / 0.9894 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.2507, allocations: 0 / 0.9894 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002686/0.251, allocations: 108.8 kB / 0.9895 GB, free: 16.61 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004394/0.2514, allocations: 19.98 kB / 0.9895 GB, free: 16.59 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001223/0.2527, allocations: 0.556 MB / 0.99 GB, free: 16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00022/0.2529, allocations: 0.7445 MB / 0.9908 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002334/0.2532, allocations: 50.25 kB / 0.9908 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.566e-05/0.2533, allocations: 19.44 kB / 0.9908 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of SimCode: time 1.142e-06/0.2533, allocations: 0 / 0.9908 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of Templates: time 0.009194/0.2625, allocations: 3.009 MB / 0.9938 GB, free: 12.16 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe 2>&1)