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.902/1.902, allocations: 288.4 MB / 303.4 MB, free: 8.129 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.001851/0.001851, allocations: 187.5 kB / 372 MB, free: 10.27 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.681/1.681, allocations: 205.4 MB / 0.6307 GB, free: 9.984 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.000823/0.0008231, allocations: 98.8 kB / 0.7441 GB, free: 5.902 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000383/0.0003827, allocations: 10.59 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2008/0.2012, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.001864/0.2031, allocations: 1.449 MB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0016/0.2047, allocations: 1.527 MB / 0.9825 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.008e-05/0.2048, allocations: 7.875 kB / 0.9825 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.205, allocations: 27.84 kB / 0.9825 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.547e-05/0.2051, allocations: 15.86 kB / 0.9825 GB, free: 24.59 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.0004249/0.2055, allocations: 187.6 kB / 0.9827 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001676/0.2057, allocations: 187.5 kB / 0.9829 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.2058, allocations: 50.11 kB / 0.983 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.313e-05/0.2059, allocations: 75.75 kB / 0.983 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.225e-05/0.206, allocations: 63.69 kB / 0.9831 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.885e-05/0.206, allocations: 8 kB / 0.9831 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002418/0.2063, allocations: 163.7 kB / 0.9832 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.49e-05/0.2063, allocations: 63.81 kB / 0.9833 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.991e-05/0.2064, allocations: 49.64 kB / 0.9834 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.2066, allocations: 263.4 kB / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.2066, allocations: 4 kB / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2066, allocations: 0 / 0.9836 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.2067, allocations: 0 / 0.9836 GB, free: 23.49 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.0007569/0.2074, allocations: 0.5298 MB / 0.9841 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.118e-05/0.2075, allocations: 11.97 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.2075, allocations: 27.67 kB / 0.9842 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001844/0.2077, allocations: 229.3 kB / 0.9844 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.487e-05/0.2077, allocations: 16 kB / 0.9844 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.775e-05/0.2078, allocations: 24 kB / 0.9844 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002999/0.2081, allocations: 193.3 kB / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.916e-06/0.2081, allocations: 0 / 0.9846 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.816e-05/0.2081, allocations: 4 kB / 0.9846 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.423e-06/0.2081, allocations: 7.953 kB / 0.9846 GB, free: 22.36 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.2084, allocations: 123.9 kB / 0.9847 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001053/0.2094, allocations: 0.5665 MB / 0.9853 GB, free: 21.62 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006965/0.2101, allocations: 274.7 kB / 0.9856 GB, free: 21.35 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001368/0.2103, allocations: 92.98 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.803e-05/0.2103, allocations: 4 kB / 0.9856 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002431/0.2106, allocations: 152.8 kB / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.693e-06/0.2106, allocations: 0 / 0.9858 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0005446/0.2111, allocations: 357.7 kB / 0.9861 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.338e-05/0.2112, allocations: 71.39 kB / 0.9862 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.2113, allocations: 178.6 kB / 0.9864 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.2113, allocations: 45.69 kB / 0.9864 GB, free: 20.42 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.2114, allocations: 120.5 kB / 0.9865 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.2114, allocations: 71.14 kB / 0.9866 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.091e-05/0.2114, allocations: 4 kB / 0.9866 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.054e-05/0.2115, allocations: 338.8 kB / 0.9869 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000155/0.2116, allocations: 95.94 kB / 0.987 GB, free: 19.79 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002299/0.2119, allocations: 236 kB / 0.9872 GB, free: 19.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.2122, allocations: 135.8 kB / 0.9874 GB, free: 19.37 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.2122, allocations: 7.938 kB / 0.9874 GB, free: 19.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006465/0.2128, allocations: 365.3 kB / 0.9877 GB, free: 19 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.2129, allocations: 9.406 kB / 0.9877 GB, free: 18.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.2129, allocations: 8 kB / 0.9877 GB, free: 18.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.2129, allocations: 11.95 kB / 0.9878 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001687/0.2131, allocations: 59.84 kB / 0.9878 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.2131, allocations: 8 kB / 0.9878 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.2133, allocations: 39.77 kB / 0.9879 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.015e-05/0.2133, allocations: 20 kB / 0.9879 GB, free: 18.84 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.0001193/0.2134, allocations: 176.1 kB / 0.988 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.2134, allocations: 23.7 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.536e-05/0.2135, allocations: 17.88 kB / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.288e-06/0.2135, allocations: 7.953 kB / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.2135, allocations: 0 / 0.9881 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.2135, allocations: 4 kB / 0.9881 GB, free: 18.61 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007092/0.2142, allocations: 0.6311 MB / 0.9887 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2142, allocations: 0 / 0.9887 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.2143, allocations: 23.94 kB / 0.9887 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2144, allocations: 4 kB / 0.9887 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.081e-05/0.2144, allocations: 11.98 kB / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2144, allocations: 0 / 0.9887 GB, free: 17.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2144, allocations: 4 kB / 0.9888 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005333/0.2149, allocations: 485.8 kB / 0.9892 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.215, allocations: 100.9 kB / 0.9893 GB, free: 17.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.215, allocations: 11.98 kB / 0.9893 GB, free: 17.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001617/0.2152, allocations: 27.97 kB / 0.9894 GB, free: 17.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.64e-05/0.2152, allocations: 23.97 kB / 0.9894 GB, free: 17.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.178e-05/0.2153, allocations: 11.98 kB / 0.9894 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.225e-05/0.2153, allocations: 128.3 kB / 0.9895 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2154, allocations: 0 / 0.9895 GB, free: 17.08 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003388/0.2157, allocations: 103.8 kB / 0.9896 GB, free: 16.98 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.0005697/0.2163, allocations: 325.6 kB / 0.9899 GB, free: 16.71 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003907/0.2167, allocations: 260 kB / 0.9902 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.2167, allocations: 0 / 0.9902 GB, free: 16.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.2168, allocations: 103.8 kB / 0.9903 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002732/0.2171, allocations: 19.98 kB / 0.9903 GB, free: 16.34 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006616/0.2178, allocations: 0.513 MB / 0.9908 GB, free: 15.8 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001382/0.2179, allocations: 0.7442 MB / 0.9915 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001288/0.2181, allocations: 49.91 kB / 0.9916 GB, free: 14.98 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.2181, allocations: 19.44 kB / 0.9916 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.2181, allocations: 0 / 0.9916 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of Templates: time 0.004749/0.2229, allocations: 2.84 MB / 0.9944 GB, free: 12.13 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)