Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.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.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python36.Examples.SimpleRoom,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.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.593/1.593, allocations: 288.4 MB / 304.3 MB, free: 8.086 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.0009417/0.0009417, allocations: 172.5 kB / 372.9 MB, free: 10.16 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.307/1.307, allocations: 205.4 MB / 0.6316 GB, free: 9.922 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.0007325/0.0007325, allocations: 96.06 kB / 0.745 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003523/0.0003524, allocations: 10.84 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1773/0.1776, allocations: 115.3 MB / 0.9807 GB, free: 27.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.SimpleRoom): time 0.001765/0.1794, allocations: 1.457 MB / 0.9822 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00174/0.1812, allocations: 1.55 MB / 0.9837 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.269e-05/0.1813, allocations: 3.938 kB / 0.9837 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.1815, allocations: 23.84 kB / 0.9837 GB, free: 24.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000105/0.1816, allocations: 11.88 kB / 0.9837 GB, free: 24.29 MB / 0.6198 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.000612/0.1822, allocations: 201.2 kB / 0.9839 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002151/0.1825, allocations: 203.5 kB / 0.9841 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.1826, allocations: 70.09 kB / 0.9842 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001394/0.1828, allocations: 67.77 kB / 0.9842 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1829, allocations: 59.75 kB / 0.9843 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.068e-05/0.1829, allocations: 8 kB / 0.9843 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003013/0.1832, allocations: 175.7 kB / 0.9845 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.328e-05/0.1833, allocations: 67.84 kB / 0.9845 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.141e-05/0.1834, allocations: 105.2 kB / 0.9846 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002707/0.1837, allocations: 279.4 kB / 0.9849 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.1837, allocations: 0 / 0.9849 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.864e-06/0.1837, allocations: 3.984 kB / 0.9849 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.1837, allocations: 0 / 0.9849 GB, free: 23.06 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.0007411/0.1844, allocations: 0.5186 MB / 0.9854 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.1845, allocations: 12.03 kB / 0.9854 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.247e-05/0.1846, allocations: 28.59 kB / 0.9854 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002027/0.1848, allocations: 239.9 kB / 0.9857 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.845e-05/0.1848, allocations: 24.69 kB / 0.9857 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.876e-05/0.1849, allocations: 27.94 kB / 0.9857 GB, free: 22.13 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003083/0.1852, allocations: 200.2 kB / 0.9859 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.1852, allocations: 4 kB / 0.9859 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.135e-05/0.1852, allocations: 4 kB / 0.9859 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1852, allocations: 7.984 kB / 0.9859 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002072/0.1854, allocations: 124.5 kB / 0.986 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001104/0.1866, allocations: 0.5938 MB / 0.9866 GB, free: 21.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006869/0.1873, allocations: 302.4 kB / 0.9869 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.1874, allocations: 104.8 kB / 0.987 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.1874, allocations: 0 / 0.987 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002467/0.1877, allocations: 171.3 kB / 0.9872 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 2.064e-06/0.1877, allocations: 0 / 0.9872 GB, free: 20.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0005512/0.1883, allocations: 393.2 kB / 0.9875 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.976e-05/0.1883, allocations: 67.39 kB / 0.9876 GB, free: 20.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.1884, allocations: 182.2 kB / 0.9878 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.867e-05/0.1884, allocations: 45.69 kB / 0.9878 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.1885, allocations: 128.6 kB / 0.988 GB, free: 19.72 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.1885, allocations: 75.08 kB / 0.988 GB, free: 19.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/0.1886, allocations: 8 kB / 0.988 GB, free: 19.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.543e-05/0.1886, allocations: 338.8 kB / 0.9884 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.1888, allocations: 112.8 kB / 0.9885 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001986/0.189, allocations: 256.5 kB / 0.9887 GB, free: 18.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003297/0.1893, allocations: 367.9 kB / 0.9891 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.1893, allocations: 4 kB / 0.9891 GB, free: 18.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004763/0.1898, allocations: 424.6 kB / 0.9895 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.1898, allocations: 4 kB / 0.9895 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.1899, allocations: 4.469 kB / 0.9895 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1899, allocations: 12 kB / 0.9895 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001697/0.1901, allocations: 63.91 kB / 0.9895 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.538e-06/0.1901, allocations: 7.938 kB / 0.9896 GB, free: 17.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001586/0.1902, allocations: 47.67 kB / 0.9896 GB, free: 17.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.89e-05/0.1903, allocations: 12 kB / 0.9896 GB, free: 17.89 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.0001244/0.1904, allocations: 184.3 kB / 0.9898 GB, free: 17.7 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.1904, allocations: 27.73 kB / 0.9898 GB, free: 17.67 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.1905, allocations: 21.81 kB / 0.9898 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1905, allocations: 3.984 kB / 0.9898 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.1905, allocations: 192 / 0.9898 GB, free: 17.65 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.789e-05/0.1905, allocations: 92.92 kB / 0.9899 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.054e-05/0.1906, allocations: 19.98 kB / 0.9899 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.1907, allocations: 27.97 kB / 0.99 GB, free: 17.5 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.598e-05/0.1908, allocations: 19.97 kB / 0.99 GB, free: 17.48 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004924/0.1913, allocations: 421.4 kB / 0.9904 GB, free: 17.06 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0005577/0.1918, allocations: 0.6 MB / 0.991 GB, free: 16.44 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001386/0.192, allocations: 112.1 kB / 0.9911 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.879e-05/0.192, allocations: 132.3 kB / 0.9912 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of Backend: time 2.9e-07/0.192, allocations: 0 / 0.9912 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001015/0.1931, allocations: 487.7 kB / 0.9917 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0007216/0.1938, allocations: 0.9166 MB / 0.9926 GB, free: 14.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.00632/0.2001, allocations: 3.187 MB / 0.9957 GB, free: 11.64 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.Python36.Examples.SimpleRoom.pipe 2>&1)