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.526/1.526, allocations: 288.4 MB / 304.3 MB, free: 8.117 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.0009301/0.00093, allocations: 195.2 kB / 372.9 MB, free: 10.13 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.266/1.266, allocations: 205.4 MB / 0.6316 GB, free: 9.898 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.0006918/0.0006921, allocations: 86.88 kB / 0.745 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003877, allocations: 15.56 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.1716, allocations: 115.3 MB / 0.9807 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Utilities.IO.Python27.Examples.SimpleRoom): time 0.001637/0.1733, allocations: 1.457 MB / 0.9822 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.175, allocations: 1.546 MB / 0.9837 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.25e-05/0.175, allocations: 4 kB / 0.9837 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001483/0.1752, allocations: 15.86 kB / 0.9837 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.449e-05/0.1753, allocations: 15.86 kB / 0.9837 GB, free: 24.27 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.0004523/0.1758, allocations: 191.5 kB / 0.9839 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001617/0.1759, allocations: 187.5 kB / 0.9841 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001101/0.176, allocations: 58.11 kB / 0.9841 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.573e-05/0.1762, allocations: 75.75 kB / 0.9842 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.551e-05/0.1763, allocations: 59.73 kB / 0.9843 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1763, allocations: 8 kB / 0.9843 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.1765, allocations: 167.7 kB / 0.9844 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.538e-05/0.1766, allocations: 63.8 kB / 0.9845 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.751e-05/0.1767, allocations: 89.31 kB / 0.9846 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1769, allocations: 267.5 kB / 0.9848 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1769, allocations: 0 / 0.9848 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1769, allocations: 4 kB / 0.9848 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1769, allocations: 0 / 0.9848 GB, free: 23.11 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.0007937/0.1777, allocations: 0.526 MB / 0.9853 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.402e-05/0.1778, allocations: 11.97 kB / 0.9854 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.129e-05/0.1779, allocations: 24.66 kB / 0.9854 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002303/0.1781, allocations: 238.5 kB / 0.9856 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.1781, allocations: 12.38 kB / 0.9856 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.35e-05/0.1782, allocations: 31.92 kB / 0.9856 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.1785, allocations: 181.4 kB / 0.9858 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.1785, allocations: 4 kB / 0.9858 GB, free: 22 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.1785, allocations: 7.984 kB / 0.9858 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.1785, allocations: 4 kB / 0.9858 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002323/0.1788, allocations: 123.9 kB / 0.9859 GB, free: 21.87 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001095/0.1799, allocations: 0.5703 MB / 0.9865 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000667/0.1806, allocations: 274.7 kB / 0.9868 GB, free: 20.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001396/0.1807, allocations: 94.44 kB / 0.9869 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1807, allocations: 0 / 0.9869 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002588/0.181, allocations: 159.2 kB / 0.987 GB, free: 20.71 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=22): time 1.714e-06/0.181, allocations: 4 kB / 0.987 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=22): time 0.0005329/0.1816, allocations: 352.3 kB / 0.9874 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.983e-05/0.1816, allocations: 67.39 kB / 0.9874 GB, free: 20.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.1817, allocations: 182.5 kB / 0.9876 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.1817, allocations: 37.7 kB / 0.9876 GB, free: 20.04 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.478e-05/0.1818, allocations: 124.5 kB / 0.9877 GB, free: 19.92 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.935e-05/0.1818, allocations: 67.11 kB / 0.9878 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/0.1818, allocations: 12 kB / 0.9878 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.1819, allocations: 330.8 kB / 0.9881 GB, free: 19.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001751/0.1821, allocations: 107.9 kB / 0.9882 GB, free: 19.4 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001882/0.1823, allocations: 224 kB / 0.9885 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003272/0.1826, allocations: 351.9 kB / 0.9888 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.1826, allocations: 4 kB / 0.9888 GB, free: 18.72 MB / 0.6198 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004489/0.1831, allocations: 369.3 kB / 0.9891 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.1831, allocations: 9.562 kB / 0.9892 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.1831, allocations: 4 kB / 0.9892 GB, free: 18.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.1831, allocations: 8 kB / 0.9892 GB, free: 18.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.1833, allocations: 63.78 kB / 0.9892 GB, free: 18.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1833, allocations: 11.94 kB / 0.9892 GB, free: 18.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001616/0.1835, allocations: 43.81 kB / 0.9893 GB, free: 18.21 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.1835, allocations: 16 kB / 0.9893 GB, free: 18.2 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.0001087/0.1836, allocations: 171.4 kB / 0.9895 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.096e-05/0.1837, allocations: 19.72 kB / 0.9895 GB, free: 18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.434e-05/0.1837, allocations: 17.88 kB / 0.9895 GB, free: 17.99 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.666e-06/0.1837, allocations: 7.984 kB / 0.9895 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.1837, allocations: 0 / 0.9895 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.694e-05/0.1837, allocations: 92.86 kB / 0.9896 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.576e-05/0.1838, allocations: 15.98 kB / 0.9896 GB, free: 17.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.1839, allocations: 23.98 kB / 0.9896 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.184, allocations: 19.97 kB / 0.9896 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004728/0.1845, allocations: 392.7 kB / 0.99 GB, free: 17.42 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005531/0.185, allocations: 0.5754 MB / 0.9906 GB, free: 16.83 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001433/0.1852, allocations: 108 kB / 0.9907 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.051e-05/0.1852, allocations: 132.3 kB / 0.9908 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of Backend: time 5.11e-07/0.1853, allocations: 0 / 0.9908 GB, free: 16.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009852/0.1862, allocations: 469.4 kB / 0.9913 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005262/0.1868, allocations: 0.8855 MB / 0.9921 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of Templates: time 0.004869/0.1917, allocations: 3.038 MB / 0.9951 GB, free: 12.24 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)