Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.83/1.83, allocations: 288.3 MB / 303.2 MB, free: 8.152 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.001384/0.001383, allocations: 177 kB / 371.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.811/1.811, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0009689/0.0009689, allocations: 102.9 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003855, allocations: 14.31 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2239/0.2243, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.001656/0.226, allocations: 1.45 MB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001593/0.2276, allocations: 1.535 MB / 0.9823 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.711e-05/0.2277, allocations: 7.938 kB / 0.9823 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001513/0.2278, allocations: 23.91 kB / 0.9824 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.978e-05/0.2279, allocations: 15.91 kB / 0.9824 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004855/0.2284, allocations: 195.5 kB / 0.9826 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001638/0.2286, allocations: 139.8 kB / 0.9827 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2287, allocations: 46.17 kB / 0.9828 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.936e-05/0.2288, allocations: 75.75 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2289, allocations: 55.75 kB / 0.9829 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.229, allocations: 11.94 kB / 0.9829 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002355/0.2292, allocations: 143.8 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.2293, allocations: 63.8 kB / 0.9831 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.307e-05/0.2293, allocations: 53.64 kB / 0.9831 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002519/0.2296, allocations: 263.5 kB / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.2296, allocations: 0 / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.212e-06/0.2296, allocations: 0 / 0.9834 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2296, allocations: 0 / 0.9834 GB, free: 23.6 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.0007362/0.2304, allocations: 0.5298 MB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.266e-05/0.2304, allocations: 12.03 kB / 0.9839 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.982e-05/0.2305, allocations: 27.67 kB / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.2307, allocations: 229.3 kB / 0.9842 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.606e-05/0.2307, allocations: 20 kB / 0.9842 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.2308, allocations: 31.91 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003043/0.2311, allocations: 185.4 kB / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.048e-05/0.2311, allocations: 0 / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.012e-05/0.2311, allocations: 8 kB / 0.9844 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.141e-06/0.2311, allocations: 7.938 kB / 0.9844 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002315/0.2314, allocations: 123.9 kB / 0.9845 GB, free: 22.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001097/0.2325, allocations: 0.5626 MB / 0.9851 GB, free: 21.73 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007011/0.2332, allocations: 274.7 kB / 0.9853 GB, free: 21.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.914e-05/0.2332, allocations: 4 kB / 0.9853 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002494/0.2335, allocations: 148.8 kB / 0.9855 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 2.024e-06/0.2335, allocations: 4 kB / 0.9855 GB, free: 21.29 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0005891/0.2341, allocations: 438.6 kB / 0.9859 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.2341, allocations: 67.52 kB / 0.986 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.2342, allocations: 182.6 kB / 0.9861 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.2343, allocations: 41.7 kB / 0.9862 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.344e-05/0.2343, allocations: 128.5 kB / 0.9863 GB, free: 20.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.24e-05/0.2344, allocations: 63.17 kB / 0.9864 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.122e-05/0.2344, allocations: 4 kB / 0.9864 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.438e-05/0.2345, allocations: 342.8 kB / 0.9867 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001602/0.2346, allocations: 99.92 kB / 0.9868 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.2348, allocations: 232 kB / 0.987 GB, free: 19.61 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001838/0.235, allocations: 131.9 kB / 0.9871 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.235, allocations: 4 kB / 0.9871 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004655/0.2355, allocations: 368.9 kB / 0.9875 GB, free: 19.11 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.2355, allocations: 8 kB / 0.9875 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2355, allocations: 4 kB / 0.9875 GB, free: 19.09 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.857e-05/0.2356, allocations: 12.41 kB / 0.9875 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.2357, allocations: 63.8 kB / 0.9876 GB, free: 19.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/0.2358, allocations: 8 kB / 0.9876 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.2359, allocations: 47.75 kB / 0.9876 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.786e-05/0.236, allocations: 12 kB / 0.9876 GB, free: 18.95 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.0001377/0.2361, allocations: 184.2 kB / 0.9878 GB, free: 18.76 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.211e-05/0.2361, allocations: 19.72 kB / 0.9878 GB, free: 18.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.652e-05/0.2362, allocations: 17.88 kB / 0.9879 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.215e-06/0.2362, allocations: 0 / 0.9879 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2362, allocations: 11.94 kB / 0.9879 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2362, allocations: 0 / 0.9879 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007088/0.2369, allocations: 0.6311 MB / 0.9885 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2369, allocations: 0 / 0.9885 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001124/0.237, allocations: 23.98 kB / 0.9885 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.2371, allocations: 3.953 kB / 0.9885 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.148e-05/0.2371, allocations: 7.984 kB / 0.9885 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2371, allocations: 4 kB / 0.9885 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2371, allocations: 0 / 0.9885 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005371/0.2376, allocations: 490.8 kB / 0.989 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.94e-05/0.2377, allocations: 100.8 kB / 0.9891 GB, free: 17.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.714e-05/0.2377, allocations: 19.94 kB / 0.9891 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001627/0.2379, allocations: 15.98 kB / 0.9891 GB, free: 17.35 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.22e-05/0.2379, allocations: 23.97 kB / 0.9891 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-05/0.238, allocations: 7.984 kB / 0.9891 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.404e-05/0.238, allocations: 140.3 kB / 0.9893 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.41e-07/0.238, allocations: 0 / 0.9893 GB, free: 17.18 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004015/0.2385, allocations: 107.8 kB / 0.9894 GB, free: 17.07 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.0005328/0.239, allocations: 327 kB / 0.9897 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003805/0.2394, allocations: 252.2 kB / 0.9899 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2394, allocations: 256 / 0.9899 GB, free: 16.56 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.2396, allocations: 99.89 kB / 0.99 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001987/0.2398, allocations: 23.55 kB / 0.9901 GB, free: 16.45 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006635/0.2404, allocations: 0.4969 MB / 0.9905 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.2406, allocations: 0.7482 MB / 0.9913 GB, free: 15.15 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001175/0.2407, allocations: 45.91 kB / 0.9913 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.2408, allocations: 23.44 kB / 0.9913 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of SimCode: time 2.41e-07/0.2408, allocations: 0 / 0.9913 GB, free: 15.08 MB / 0.6198 GB Notification: Performance of Templates: time 0.004805/0.2456, allocations: 2.831 MB / 0.9941 GB, free: 12.26 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.makefile (rm -f Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.sim & ./Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom.pipe 2>&1)