Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.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.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.612/2.612, allocations: 287.5 MB / 302.4 MB, free: 8.379 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.001403/0.001403, allocations: 186.5 kB / 371 MB, free: 10.87 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.122/2.122, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.0009444/0.000944, allocations: 85.16 kB / 0.743 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004653, allocations: 11.66 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2165/0.217, allocations: 115.3 MB / 0.9784 GB, free: 28.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.002377/0.2195, allocations: 1.457 MB / 0.9798 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002595/0.2221, allocations: 1.515 MB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.991e-05/0.2223, allocations: 3.938 kB / 0.9813 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000201/0.2225, allocations: 27.8 kB / 0.9813 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.2226, allocations: 19.86 kB / 0.9813 GB, free: 25.32 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.000682/0.2233, allocations: 187.5 kB / 0.9815 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.2236, allocations: 187.5 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.2238, allocations: 46.17 kB / 0.9817 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.2239, allocations: 75.75 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001319/0.2241, allocations: 71.67 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.239e-05/0.2241, allocations: 8 kB / 0.9819 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/0.2245, allocations: 159.8 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001002/0.2246, allocations: 63.8 kB / 0.9821 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.285e-05/0.2247, allocations: 49.64 kB / 0.9821 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003777/0.2251, allocations: 263.4 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.005e-06/0.2251, allocations: 4 kB / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.054e-06/0.2252, allocations: 0 / 0.9824 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.2252, allocations: 0 / 0.9824 GB, free: 24.21 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.001156/0.2263, allocations: 0.526 MB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/0.2264, allocations: 8.031 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.14e-05/0.2265, allocations: 23.72 kB / 0.9829 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.2267, allocations: 235.4 kB / 0.9832 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.299e-05/0.2268, allocations: 19.98 kB / 0.9832 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.232e-05/0.2269, allocations: 20 kB / 0.9832 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004752/0.2273, allocations: 197.2 kB / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.37e-05/0.2274, allocations: 0 / 0.9834 GB, free: 23.1 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.763e-05/0.2274, allocations: 15.95 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2274, allocations: 4 kB / 0.9834 GB, free: 23.08 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004043/0.2278, allocations: 115.9 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001851/0.2297, allocations: 0.5665 MB / 0.9841 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001248/0.231, allocations: 274.7 kB / 0.9843 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002523/0.2312, allocations: 93 kB / 0.9844 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.35e-05/0.2313, allocations: 4 kB / 0.9844 GB, free: 21.97 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000387/0.2317, allocations: 152.8 kB / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.635e-06/0.2317, allocations: 0 / 0.9846 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.000957/0.2327, allocations: 363.6 kB / 0.9849 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.2327, allocations: 63.39 kB / 0.985 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001699/0.2329, allocations: 178.6 kB / 0.9851 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.233, allocations: 45.69 kB / 0.9852 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.087e-05/0.2331, allocations: 128.5 kB / 0.9853 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.15e-05/0.2331, allocations: 67.17 kB / 0.9854 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.011e-05/0.2332, allocations: 4 kB / 0.9854 GB, free: 20.94 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.557e-05/0.2333, allocations: 338.8 kB / 0.9857 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.2336, allocations: 99.92 kB / 0.9858 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003453/0.2339, allocations: 232.6 kB / 0.986 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003366/0.2343, allocations: 139.9 kB / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.2343, allocations: 0 / 0.9861 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0008377/0.2351, allocations: 365.1 kB / 0.9865 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.163e-05/0.2352, allocations: 17.91 kB / 0.9865 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.2352, allocations: 4 kB / 0.9865 GB, free: 19.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.238e-05/0.2352, allocations: 8 kB / 0.9865 GB, free: 19.69 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000335/0.2356, allocations: 59.86 kB / 0.9866 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.2356, allocations: 7.984 kB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002841/0.2359, allocations: 47.98 kB / 0.9866 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.059e-05/0.2359, allocations: 20 kB / 0.9867 GB, free: 19.56 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: 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.0001987/0.2361, allocations: 171.4 kB / 0.9868 GB, free: 19.38 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.2362, allocations: 19.72 kB / 0.9868 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.63e-05/0.2362, allocations: 29.81 kB / 0.9869 GB, free: 19.34 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.2363, allocations: 4 kB / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.76e-06/0.2363, allocations: 0 / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.03e-06/0.2363, allocations: 0 / 0.9869 GB, free: 19.33 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.2376, allocations: 0.6293 MB / 0.9875 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.2376, allocations: 11.91 kB / 0.9875 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002114/0.2379, allocations: 16 kB / 0.9875 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.264e-06/0.2379, allocations: 7.984 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.129e-05/0.2379, allocations: 8 kB / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.2379, allocations: 0 / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.238, allocations: 0 / 0.9875 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009626/0.2389, allocations: 491.3 kB / 0.988 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.944e-05/0.239, allocations: 100.8 kB / 0.9881 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.2391, allocations: 15.97 kB / 0.9881 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002714/0.2393, allocations: 27.97 kB / 0.9881 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.391e-05/0.2394, allocations: 19.97 kB / 0.9882 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.2395, allocations: 8 kB / 0.9882 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001094/0.2396, allocations: 136.3 kB / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.91e-07/0.2396, allocations: 0 / 0.9883 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000605/0.2402, allocations: 99.77 kB / 0.9884 GB, free: 17.7 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: 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.0008086/0.241, allocations: 322.3 kB / 0.9887 GB, free: 17.43 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007112/0.2418, allocations: 251.6 kB / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2418, allocations: 0 / 0.9889 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002696/0.2421, allocations: 100.8 kB / 0.989 GB, free: 17.09 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004071/0.2425, allocations: 23.98 kB / 0.9891 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/0.2436, allocations: 0.5085 MB / 0.9895 GB, free: 16.53 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002098/0.2439, allocations: 0.7484 MB / 0.9903 GB, free: 15.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002137/0.2441, allocations: 49.91 kB / 0.9903 GB, free: 15.71 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.245e-05/0.2442, allocations: 19.44 kB / 0.9903 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of SimCode: time 8.62e-07/0.2442, allocations: 0 / 0.9903 GB, free: 15.69 MB / 0.6198 GB Notification: Performance of Templates: time 0.008315/0.2525, allocations: 2.83 MB / 0.9931 GB, free: 12.86 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile (rm -f Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & ./Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)