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.549/1.549, allocations: 288.4 MB / 303.7 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.001014/0.001014, allocations: 179 kB / 372.3 MB, free: 10.1 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.333/1.333, allocations: 205.4 MB / 0.631 GB, free: 9.879 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.000746/0.0007459, allocations: 86.88 kB / 0.7444 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003342, allocations: 11.34 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1628, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python36.Examples.SimpleRoom): time 0.001556/0.1644, allocations: 1.457 MB / 0.9815 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.1659, allocations: 1.546 MB / 0.9831 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.806e-05/0.1659, allocations: 3.938 kB / 0.9831 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001341/0.1661, allocations: 23.84 kB / 0.9831 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.221e-05/0.1662, allocations: 19.86 kB / 0.9831 GB, free: 24.27 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.000411/0.1666, allocations: 195.5 kB / 0.9833 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.1668, allocations: 207.5 kB / 0.9835 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.1669, allocations: 54.17 kB / 0.9835 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.286e-05/0.167, allocations: 75.75 kB / 0.9836 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 8.494e-05/0.1671, allocations: 63.75 kB / 0.9837 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.757e-05/0.1671, allocations: 8 kB / 0.9837 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002206/0.1673, allocations: 175.6 kB / 0.9838 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.1674, allocations: 63.88 kB / 0.9839 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.263e-05/0.1675, allocations: 109.2 kB / 0.984 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002118/0.1677, allocations: 279.4 kB / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1677, allocations: 0 / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1677, allocations: 0 / 0.9843 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.1677, allocations: 0 / 0.9843 GB, free: 23.05 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.0006418/0.1684, allocations: 0.5264 MB / 0.9848 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 2.774e-05/0.1684, allocations: 12.03 kB / 0.9848 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.679e-05/0.1685, allocations: 24.66 kB / 0.9848 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001721/0.1686, allocations: 245.6 kB / 0.9851 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/0.1687, allocations: 16.69 kB / 0.9851 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.577e-05/0.1687, allocations: 27.94 kB / 0.9851 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002749/0.169, allocations: 204.2 kB / 0.9853 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.169, allocations: 0 / 0.9853 GB, free: 21.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.693e-05/0.169, allocations: 8 kB / 0.9853 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.169, allocations: 8 kB / 0.9853 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.1692, allocations: 124.5 kB / 0.9854 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001022/0.1703, allocations: 0.5977 MB / 0.986 GB, free: 21.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006856/0.171, allocations: 294.5 kB / 0.9863 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.1711, allocations: 104.7 kB / 0.9864 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1711, allocations: 0 / 0.9864 GB, free: 20.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002346/0.1714, allocations: 183.3 kB / 0.9866 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=26): time 1.413e-06/0.1714, allocations: 0 / 0.9866 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of matching and sorting (n=26): time 0.0005209/0.1719, allocations: 381.2 kB / 0.9869 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.172, allocations: 71.33 kB / 0.987 GB, free: 20.08 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001045/0.1721, allocations: 190.2 kB / 0.9872 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.709e-05/0.1721, allocations: 45.7 kB / 0.9872 GB, free: 19.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.329e-05/0.1722, allocations: 124.6 kB / 0.9873 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.498e-05/0.1722, allocations: 79.08 kB / 0.9874 GB, free: 19.63 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.074e-05/0.1722, allocations: 4 kB / 0.9874 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.437e-05/0.1723, allocations: 338.8 kB / 0.9878 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.1724, allocations: 116.8 kB / 0.9879 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001946/0.1726, allocations: 252.5 kB / 0.9881 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003306/0.173, allocations: 367.9 kB / 0.9885 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.173, allocations: 0 / 0.9885 GB, free: 18.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004745/0.1735, allocations: 421 kB / 0.9889 GB, free: 18.03 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1735, allocations: 4 kB / 0.9889 GB, free: 18.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.1735, allocations: 11.98 kB / 0.9889 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1735, allocations: 4 kB / 0.9889 GB, free: 18.01 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001714/0.1737, allocations: 68.03 kB / 0.9889 GB, free: 17.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.836e-06/0.1737, allocations: 7.938 kB / 0.9889 GB, free: 17.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.1739, allocations: 55.83 kB / 0.989 GB, free: 17.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.174, allocations: 12 kB / 0.989 GB, free: 17.87 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.0001246/0.1741, allocations: 180.2 kB / 0.9892 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.326e-05/0.1741, allocations: 23.8 kB / 0.9892 GB, free: 17.66 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.682e-05/0.1742, allocations: 21.88 kB / 0.9892 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.1742, allocations: 0 / 0.9892 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1742, allocations: 4 kB / 0.9892 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.1742, allocations: 3.984 kB / 0.9892 GB, free: 17.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007029/0.1749, allocations: 0.67 MB / 0.9899 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.1749, allocations: 3.984 kB / 0.9899 GB, free: 16.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.305e-05/0.175, allocations: 16.03 kB / 0.9899 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.175, allocations: 11.94 kB / 0.9899 GB, free: 16.88 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.1751, allocations: 11.98 kB / 0.9899 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.1751, allocations: 0 / 0.9899 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1751, allocations: 0 / 0.9899 GB, free: 16.87 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005164/0.1756, allocations: 0.5195 MB / 0.9904 GB, free: 16.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.903e-05/0.1756, allocations: 96.86 kB / 0.9905 GB, free: 16.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.012e-05/0.1757, allocations: 16.03 kB / 0.9905 GB, free: 16.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.1758, allocations: 27.97 kB / 0.9906 GB, free: 16.18 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.922e-05/0.1759, allocations: 16.06 kB / 0.9906 GB, free: 16.16 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.463e-05/0.1759, allocations: 19.97 kB / 0.9906 GB, free: 16.14 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.126e-05/0.176, allocations: 132.3 kB / 0.9907 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1e-07/0.176, allocations: 4 kB / 0.9907 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003839/0.1764, allocations: 115.7 kB / 0.9908 GB, free: 15.89 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: 18 (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],pyt.uRWri_temp[1],pyt.uRWri_temp[2],pyt.uRWri_temp[3],pyt.uRWri_temp[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 (25): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.000553/0.1769, allocations: 322.6 kB / 0.9912 GB, free: 15.64 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003781/0.1773, allocations: 279.4 kB / 0.9914 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.1773, allocations: 0 / 0.9914 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001417/0.1775, allocations: 104.8 kB / 0.9915 GB, free: 15.26 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003025/0.1778, allocations: 31.97 kB / 0.9916 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006851/0.1785, allocations: 0.5366 MB / 0.9921 GB, free: 14.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.1787, allocations: 0.7443 MB / 0.9928 GB, free: 13.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001165/0.1788, allocations: 54.23 kB / 0.9929 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.751e-05/0.1788, allocations: 19.44 kB / 0.9929 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of SimCode: time 2.3e-07/0.1788, allocations: 0 / 0.9929 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of Templates: time 0.005175/0.184, allocations: 3.036 MB / 0.9958 GB, free: 10.79 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)