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.001319/0.001319, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 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.001609/0.001609, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 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.9848/0.9848, allocations: 177.2 MB / 204.6 MB, free: 5.48 MB / 186.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 2.048/2.048, allocations: 389.6 MB / 0.6354 GB, free: 12.32 MB / 0.6042 GB " [Timeout remaining time 177] 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 2.044e-06/2.044e-06, allocations: 0 / 0.7751 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.636e-05/2.84e-05, allocations: 2.312 kB / 0.7751 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.008366/0.008394, allocations: 5.305 MB / 0.7803 GB, free: 172 kB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1487/0.1571, allocations: 146.3 MB / 0.9232 GB, free: 13.45 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009072/0.158, allocations: 35.69 kB / 0.9232 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0007636/0.1588, allocations: 349.2 kB / 0.9236 GB, free: 13.07 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001418/0.1602, allocations: 0.6015 MB / 0.9242 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.00153/0.1618, allocations: 0.9193 MB / 0.9251 GB, free: 11.54 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001297/0.163, allocations: 1.636 MB / 0.9267 GB, free: 9.895 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000578/0.1636, allocations: 0.5036 MB / 0.9271 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007961/0.1644, allocations: 0.8691 MB / 0.928 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003621/0.1648, allocations: 422.7 kB / 0.9284 GB, free: 8.051 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.1649, allocations: 128 kB / 0.9285 GB, free: 7.926 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005826/0.1655, allocations: 0.4955 MB / 0.929 GB, free: 7.43 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001945/0.1657, allocations: 338.8 kB / 0.9293 GB, free: 7.098 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002623/0.1659, allocations: 426.8 kB / 0.9297 GB, free: 6.68 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001119/0.1671, allocations: 1.397 MB / 0.9311 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1671, allocations: 0 / 0.9311 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.283e-06/0.1671, allocations: 0 / 0.9311 GB, free: 5.277 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 9.428e-06/0.1671, allocations: 0 / 0.9311 GB, free: 5.277 MB / 0.8855 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.001448/0.1685, allocations: 1.639 MB / 0.9327 GB, free: 3.605 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.131e-05/0.1685, allocations: 13.34 kB / 0.9327 GB, free: 3.594 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007288/0.1693, allocations: 324.1 kB / 0.933 GB, free: 3.277 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000784/0.1701, allocations: 0.7186 MB / 0.9337 GB, free: 2.516 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.817e-05/0.1701, allocations: 78.16 kB / 0.9338 GB, free: 2.438 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.464e-05/0.1702, allocations: 104 kB / 0.9339 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.1709, allocations: 0.9581 MB / 0.9348 GB, free: 1.266 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.1709, allocations: 4 kB / 0.9348 GB, free: 1.262 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.027e-05/0.171, allocations: 47.98 kB / 0.9349 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.171, allocations: 24 kB / 0.9349 GB, free: 1.191 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005848/0.1716, allocations: 0.5909 MB / 0.9355 GB, free: 0.6016 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.1736, allocations: 1.808 MB / 0.9372 GB, free: 14.75 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004636/0.174, allocations: 403.3 kB / 0.9376 GB, free: 14.36 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.1742, allocations: 133.3 kB / 0.9378 GB, free: 14.23 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.804e-05/0.1742, allocations: 32.62 kB / 0.9378 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003314/0.1746, allocations: 447.1 kB / 0.9382 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=86): time 1.763e-06/0.1746, allocations: 0 / 0.9382 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86): time 0.0009443/0.1755, allocations: 0.5693 MB / 0.9388 GB, free: 13.14 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.1756, allocations: 200.9 kB / 0.939 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004015/0.176, allocations: 0.6303 MB / 0.9396 GB, free: 12.26 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.9e-05/0.176, allocations: 53.69 kB / 0.9396 GB, free: 12.2 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.1762, allocations: 414.8 kB / 0.94 GB, free: 11.79 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.1764, allocations: 289.5 kB / 0.9403 GB, free: 11.5 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001451/0.1765, allocations: 166.5 kB / 0.9405 GB, free: 11.33 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 7.522e-05/0.1766, allocations: 341.9 kB / 0.9408 GB, free: 10.99 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.1767, allocations: 92.78 kB / 0.9409 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.1769, allocations: 311.6 kB / 0.9412 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003114/0.1772, allocations: 325.2 kB / 0.9415 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.1772, allocations: 0 / 0.9415 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0006152/0.1779, allocations: 474.9 kB / 0.9419 GB, free: 9.738 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.1779, allocations: 8 kB / 0.9419 GB, free: 9.73 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1779, allocations: 0 / 0.9419 GB, free: 9.73 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003776/0.1783, allocations: 128.7 kB / 0.9421 GB, free: 9.602 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.1786, allocations: 163.8 kB / 0.9422 GB, free: 9.441 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009356/0.1795, allocations: 1.315 MB / 0.9435 GB, free: 8.039 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.1798, allocations: 75.5 kB / 0.9436 GB, free: 7.965 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.722e-05/0.1798, allocations: 27.97 kB / 0.9436 GB, free: 7.938 MB / 0.9011 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.0001858/0.18, allocations: 175.1 kB / 0.9438 GB, free: 7.754 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.534e-05/0.1801, allocations: 91.84 kB / 0.9439 GB, free: 7.664 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007921/0.1809, allocations: 0.6126 MB / 0.9445 GB, free: 7.039 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.1809, allocations: 8 kB / 0.9445 GB, free: 7.031 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.1809, allocations: 0 / 0.9445 GB, free: 7.031 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.1809, allocations: 3.984 kB / 0.9445 GB, free: 7.027 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00122/0.1821, allocations: 1.167 MB / 0.9456 GB, free: 5.82 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.1821, allocations: 0 / 0.9456 GB, free: 5.82 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002626/0.1824, allocations: 135.8 kB / 0.9457 GB, free: 5.688 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002814/0.1826, allocations: 112.7 kB / 0.9458 GB, free: 5.574 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.887e-05/0.1827, allocations: 19.98 kB / 0.9459 GB, free: 5.555 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007756/0.1834, allocations: 1.336 MB / 0.9472 GB, free: 4.129 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1834, allocations: 3.938 kB / 0.9472 GB, free: 4.125 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005605/0.184, allocations: 0.5634 MB / 0.9477 GB, free: 3.543 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002642/0.1843, allocations: 163 kB / 0.9479 GB, free: 3.383 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.559e-05/0.1843, allocations: 27.98 kB / 0.9479 GB, free: 3.355 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002086/0.1846, allocations: 35.97 kB / 0.9479 GB, free: 3.32 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.024e-05/0.1846, allocations: 68.81 kB / 0.948 GB, free: 3.25 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.058e-05/0.1847, allocations: 27.97 kB / 0.948 GB, free: 3.223 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002298/0.1849, allocations: 323.3 kB / 0.9483 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of sort global known variables: time 5e-08/0.1849, allocations: 0 / 0.9483 GB, free: 2.91 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004833/0.1854, allocations: 363 kB / 0.9487 GB, free: 2.555 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.001557/0.1869, allocations: 0.7525 MB / 0.9494 GB, free: 2.066 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005685/0.1875, allocations: 0.5097 MB / 0.9499 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/0.1875, allocations: 8 kB / 0.9499 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003035/0.1878, allocations: 370.9 kB / 0.9503 GB, free: 1.16 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007718/0.1886, allocations: 480 kB / 0.9507 GB, free: 0.7305 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002006/0.1906, allocations: 1.758 MB / 0.9525 GB, free: 14.93 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00013/0.1907, allocations: 219.4 kB / 0.9527 GB, free: 14.69 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003975/0.1911, allocations: 215.7 kB / 0.9529 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005492/0.1917, allocations: 351 kB / 0.9532 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of SimCode: time 9.42e-07/0.1917, allocations: 0 / 0.9532 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of Templates: time 0.02201/0.2137, allocations: 19.49 MB / 0.9722 GB, free: 10.97 MB / 0.9323 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: 6.028727029915899]