Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006798/0.0006798, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009159/0.001596, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0006825/0.0006825, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008636/0.001546, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9715/0.9715, allocations: 177.2 MB / 189.8 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07911/1.051, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.948/1.948, allocations: 390 MB / 0.6193 GB, free: 11.63 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.503/2.451, allocations: 127.1 MB / 0.7435 GB, free: 4.508 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.7448 GB, free: 3.227 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.147e-05, allocations: 8.422 kB / 0.7448 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.01223/0.01225, allocations: 5.406 MB / 0.7501 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1461/0.1583, allocations: 146.8 MB / 0.8934 GB, free: 10.67 MB / 0.8699 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008839/0.1592, allocations: 35.69 kB / 0.8934 GB, free: 10.64 MB / 0.8699 GB Notification: Performance of NFTyping.typeComponents: time 0.0006023/0.1598, allocations: 353.2 kB / 0.8938 GB, free: 10.29 MB / 0.8699 GB Notification: Performance of NFTyping.typeBindings: time 0.001269/0.1611, allocations: 0.5974 MB / 0.8944 GB, free: 9.688 MB / 0.8699 GB Notification: Performance of NFTyping.typeClassSections: time 0.001361/0.1625, allocations: 0.8802 MB / 0.8952 GB, free: 8.805 MB / 0.8699 GB Notification: Performance of NFFlatten.flatten: time 0.001251/0.1637, allocations: 1.628 MB / 0.8968 GB, free: 7.164 MB / 0.8699 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005705/0.1643, allocations: 0.4958 MB / 0.8973 GB, free: 6.621 MB / 0.8699 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009164/0.1652, allocations: 0.9639 MB / 0.8982 GB, free: 5.656 MB / 0.8699 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003885/0.1656, allocations: 422.6 kB / 0.8986 GB, free: 5.242 MB / 0.8699 GB Notification: Performance of NFPackage.collectConstants: time 0.0001209/0.1657, allocations: 128 kB / 0.8988 GB, free: 5.117 MB / 0.8699 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006845/0.1664, allocations: 0.5266 MB / 0.8993 GB, free: 4.59 MB / 0.8699 GB Notification: Performance of NFScalarize.scalarize: time 0.0001825/0.1666, allocations: 259.1 kB / 0.8995 GB, free: 4.336 MB / 0.8699 GB Notification: Performance of NFVerifyModel.verify: time 0.0002522/0.1668, allocations: 343.2 kB / 0.8999 GB, free: 4 MB / 0.8699 GB Notification: Performance of NFConvertDAE.convert: time 0.001102/0.1679, allocations: 1.253 MB / 0.9011 GB, free: 2.742 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 1.387e-05/0.1679, allocations: 4 kB / 0.9011 GB, free: 2.738 MB / 0.8699 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1679, allocations: 0 / 0.9011 GB, free: 2.738 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 2.377e-05/0.168, allocations: 0 / 0.9011 GB, free: 2.738 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.001714/0.1697, allocations: 1.935 MB / 0.903 GB, free: 0.7695 MB / 0.8699 GB Notification: Performance of prepare preOptimizeDAE: time 2.831e-05/0.1697, allocations: 8.031 kB / 0.903 GB, free: 0.7617 MB / 0.8699 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007677/0.1705, allocations: 401.3 kB / 0.9034 GB, free: 360 kB / 0.8699 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007727/0.1712, allocations: 0.7225 MB / 0.9041 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.781e-05/0.1713, allocations: 82.16 kB / 0.9041 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.457e-05/0.1714, allocations: 104 kB / 0.9042 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007167/0.1721, allocations: 0.9503 MB / 0.9052 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.1721, allocations: 0 / 0.9052 GB, free: 14.34 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.587e-05/0.1722, allocations: 40 kB / 0.9052 GB, free: 14.3 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.839e-05/0.1722, allocations: 28 kB / 0.9052 GB, free: 14.28 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005729/0.1727, allocations: 0.5986 MB / 0.9058 GB, free: 13.68 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001907/0.1747, allocations: 1.823 MB / 0.9076 GB, free: 11.81 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004412/0.1751, allocations: 404.5 kB / 0.908 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001325/0.1752, allocations: 130.8 kB / 0.9081 GB, free: 11.28 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 4.363e-05/0.1753, allocations: 28.62 kB / 0.9081 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003273/0.1756, allocations: 451 kB / 0.9086 GB, free: 10.77 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=86): time 7.875e-06/0.1756, allocations: 3.984 kB / 0.9086 GB, free: 10.76 MB / 0.8855 GB Notification: Performance of matching and sorting (n=86): time 0.0008981/0.1765, allocations: 0.5694 MB / 0.9091 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.1765, allocations: 72.34 kB / 0.9092 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004013/0.1769, allocations: 0.6303 MB / 0.9098 GB, free: 9.465 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.177, allocations: 53.69 kB / 0.9099 GB, free: 9.406 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001819/0.1772, allocations: 410.9 kB / 0.9103 GB, free: 9 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001333/0.1773, allocations: 285.5 kB / 0.9105 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.1774, allocations: 170.5 kB / 0.9107 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.693e-05/0.1775, allocations: 345.9 kB / 0.911 GB, free: 8.199 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.1776, allocations: 92.72 kB / 0.9111 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001953/0.1778, allocations: 319.6 kB / 0.9114 GB, free: 7.75 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.1781, allocations: 325.2 kB / 0.9117 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1781, allocations: 0 / 0.9117 GB, free: 7.418 MB / 0.8855 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0005754/0.1787, allocations: 470.9 kB / 0.9122 GB, free: 6.949 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1787, allocations: 8 kB / 0.9122 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1787, allocations: 0 / 0.9122 GB, free: 6.941 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000358/0.1791, allocations: 128.7 kB / 0.9123 GB, free: 6.812 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.1795, allocations: 203.7 kB / 0.9125 GB, free: 6.613 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009065/0.1804, allocations: 1.309 MB / 0.9138 GB, free: 5.215 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002441/0.1806, allocations: 83.67 kB / 0.9139 GB, free: 5.133 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.51e-05/0.1806, allocations: 27.97 kB / 0.9139 GB, free: 5.105 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 27 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0001766/0.1808, allocations: 171.1 kB / 0.9141 GB, free: 4.926 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.484e-05/0.1809, allocations: 91.91 kB / 0.9141 GB, free: 4.836 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007409/0.1817, allocations: 0.6164 MB / 0.9147 GB, free: 4.207 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.1817, allocations: 12 kB / 0.9148 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.553e-06/0.1817, allocations: 0 / 0.9148 GB, free: 4.195 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.1817, allocations: 3.984 kB / 0.9148 GB, free: 4.191 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.1829, allocations: 1.16 MB / 0.9159 GB, free: 2.988 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.596e-06/0.1829, allocations: 3.984 kB / 0.9159 GB, free: 2.984 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002945/0.1832, allocations: 159.8 kB / 0.916 GB, free: 2.828 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001753/0.1833, allocations: 155 kB / 0.9162 GB, free: 2.676 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002835/0.1836, allocations: 108.7 kB / 0.9163 GB, free: 2.566 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.1836, allocations: 27.97 kB / 0.9163 GB, free: 2.539 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007743/0.1844, allocations: 1.324 MB / 0.9176 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1844, allocations: 0 / 0.9176 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005686/0.185, allocations: 0.575 MB / 0.9182 GB, free: 0.5273 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.858e-05/0.1851, allocations: 20.03 kB / 0.9182 GB, free: 0.5078 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002046/0.1853, allocations: 43.97 kB / 0.9182 GB, free: 476 kB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.252e-05/0.1853, allocations: 64.86 kB / 0.9183 GB, free: 412 kB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.1854, allocations: 23.98 kB / 0.9183 GB, free: 388 kB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000222/0.1856, allocations: 319.3 kB / 0.9186 GB, free: 68 kB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.1856, allocations: 0 / 0.9186 GB, free: 68 kB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004784/0.1861, allocations: 366.9 kB / 0.919 GB, free: 15.71 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001505/0.1876, allocations: 0.8309 MB / 0.9198 GB, free: 15.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005502/0.1881, allocations: 0.5109 MB / 0.9203 GB, free: 14.67 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-05/0.1881, allocations: 24.02 kB / 0.9203 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003499/0.1885, allocations: 424.9 kB / 0.9207 GB, free: 14.22 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001264/0.1898, allocations: 2.352 MB / 0.923 GB, free: 11.49 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/0.1945, allocations: 1.815 MB / 0.9248 GB, free: 9.629 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001232/0.1946, allocations: 215.3 kB / 0.925 GB, free: 9.398 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000379/0.195, allocations: 203.8 kB / 0.9252 GB, free: 9.195 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005342/0.1955, allocations: 355 kB / 0.9255 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of SimCode: time 4.31e-07/0.1955, allocations: 0 / 0.9255 GB, free: 8.848 MB / 0.9011 GB Notification: Performance of Templates: time 0.02043/0.216, allocations: 19.82 MB / 0.9449 GB, free: 5.375 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.805989894084632]