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.001005/0.001005, allocations: 80.92 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.001179/0.001179, allocations: 161 kB / 24.17 MB, free: 328 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 1.057/1.057, allocations: 177.1 MB / 204.6 MB, free: 5.465 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 1.989/1.989, 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 7.21e-07/7.21e-07, allocations: 0 / 0.7752 GB, free: 5.41 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.476e-06/9.197e-06, allocations: 5.547 kB / 0.7752 GB, free: 5.406 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006198/0.006207, allocations: 5.351 MB / 0.7804 GB, free: 76 kB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1453/0.1515, allocations: 146.3 MB / 0.9233 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001023/0.1525, allocations: 35.69 kB / 0.9233 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006578/0.1532, allocations: 345.3 kB / 0.9237 GB, free: 12.97 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.00136/0.1545, allocations: 0.5975 MB / 0.9242 GB, free: 12.37 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.156, allocations: 0.8919 MB / 0.9251 GB, free: 11.47 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001184/0.1571, allocations: 1.643 MB / 0.9267 GB, free: 9.82 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005588/0.1577, allocations: 0.4997 MB / 0.9272 GB, free: 9.266 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006958/0.1584, allocations: 0.8653 MB / 0.928 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003493/0.1587, allocations: 421.2 kB / 0.9284 GB, free: 7.988 MB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.1589, allocations: 132 kB / 0.9286 GB, free: 7.859 MB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005698/0.1594, allocations: 0.5266 MB / 0.9291 GB, free: 7.332 MB / 0.8855 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.1596, allocations: 338.8 kB / 0.9294 GB, free: 7 MB / 0.8855 GB Notification: Performance of NFVerifyModel.verify: time 0.0002601/0.1599, allocations: 426.8 kB / 0.9298 GB, free: 6.582 MB / 0.8855 GB Notification: Performance of NFConvertDAE.convert: time 0.001083/0.161, allocations: 1.393 MB / 0.9312 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.161, allocations: 0 / 0.9312 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of FrontEnd: time 9.52e-07/0.161, allocations: 0 / 0.9312 GB, free: 5.184 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.106e-05/0.161, allocations: 0 / 0.9312 GB, free: 5.184 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.001621/0.1626, allocations: 1.642 MB / 0.9328 GB, free: 3.508 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.1626, allocations: 9.344 kB / 0.9328 GB, free: 3.5 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007903/0.1634, allocations: 324.2 kB / 0.9331 GB, free: 3.184 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007613/0.1642, allocations: 0.7186 MB / 0.9338 GB, free: 2.422 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.108e-05/0.1642, allocations: 82.16 kB / 0.9339 GB, free: 2.34 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.222e-05/0.1643, allocations: 108 kB / 0.934 GB, free: 2.234 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007308/0.1651, allocations: 0.9542 MB / 0.9349 GB, free: 1.168 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.1651, allocations: 3.938 kB / 0.9349 GB, free: 1.164 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.971e-05/0.1651, allocations: 43.98 kB / 0.935 GB, free: 1.121 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.1651, allocations: 24 kB / 0.935 GB, free: 1.098 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005815/0.1657, allocations: 0.5909 MB / 0.9356 GB, free: 0.5078 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001968/0.1677, allocations: 1.808 MB / 0.9373 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004693/0.1682, allocations: 403.3 kB / 0.9377 GB, free: 14.26 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001334/0.1683, allocations: 122.8 kB / 0.9378 GB, free: 14.14 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 4.771e-05/0.1683, allocations: 32.64 kB / 0.9379 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003543/0.1687, allocations: 455 kB / 0.9383 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=86): time 1.653e-06/0.1687, allocations: 0 / 0.9383 GB, free: 13.62 MB / 0.9011 GB Notification: Performance of matching and sorting (n=86): time 0.0009672/0.1697, allocations: 0.5654 MB / 0.9388 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.68e-05/0.1697, allocations: 204.9 kB / 0.939 GB, free: 12.81 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006112/0.1703, allocations: 0.6342 MB / 0.9397 GB, free: 12.16 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.1704, allocations: 49.7 kB / 0.9397 GB, free: 12.11 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.1706, allocations: 410.9 kB / 0.9401 GB, free: 11.7 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.1707, allocations: 285.5 kB / 0.9404 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000155/0.1709, allocations: 174.5 kB / 0.9405 GB, free: 11.24 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/0.171, allocations: 341.9 kB / 0.9409 GB, free: 10.9 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.1711, allocations: 84.78 kB / 0.9409 GB, free: 10.81 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002072/0.1713, allocations: 323.5 kB / 0.9413 GB, free: 10.45 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00033/0.1716, allocations: 321.2 kB / 0.9416 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.1716, allocations: 0 / 0.9416 GB, free: 10.12 MB / 0.9011 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.0006304/0.1723, allocations: 475 kB / 0.942 GB, free: 9.645 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.1723, allocations: 4 kB / 0.942 GB, free: 9.641 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.1723, allocations: 3.938 kB / 0.942 GB, free: 9.637 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003971/0.1727, allocations: 124.7 kB / 0.9421 GB, free: 9.512 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.1731, allocations: 183.8 kB / 0.9423 GB, free: 9.332 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001002/0.1741, allocations: 1.309 MB / 0.9436 GB, free: 7.934 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000242/0.1743, allocations: 84.89 kB / 0.9437 GB, free: 7.852 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.1743, allocations: 23.98 kB / 0.9437 GB, free: 7.828 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.0001874/0.1745, allocations: 171.1 kB / 0.9439 GB, free: 7.648 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.1746, allocations: 91.94 kB / 0.9439 GB, free: 7.559 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008052/0.1754, allocations: 0.6164 MB / 0.9445 GB, free: 6.93 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.1754, allocations: 11.98 kB / 0.9446 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.1754, allocations: 0 / 0.9446 GB, free: 6.918 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.1754, allocations: 3.984 kB / 0.9446 GB, free: 6.914 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.1768, allocations: 1.163 MB / 0.9457 GB, free: 5.715 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1768, allocations: 0 / 0.9457 GB, free: 5.715 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002882/0.177, allocations: 143.8 kB / 0.9458 GB, free: 5.574 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003053/0.1774, allocations: 112.7 kB / 0.9459 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/0.1774, allocations: 19.98 kB / 0.946 GB, free: 5.441 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001025/0.1784, allocations: 1.336 MB / 0.9473 GB, free: 4.016 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1784, allocations: 0 / 0.9473 GB, free: 4.016 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006431/0.1791, allocations: 0.5751 MB / 0.9478 GB, free: 3.422 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000206/0.1793, allocations: 163 kB / 0.948 GB, free: 3.262 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.059e-05/0.1793, allocations: 23.98 kB / 0.948 GB, free: 3.238 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.1795, allocations: 39.97 kB / 0.948 GB, free: 3.199 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.1796, allocations: 68.86 kB / 0.9481 GB, free: 3.129 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.1797, allocations: 19.98 kB / 0.9481 GB, free: 3.109 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0002625/0.1799, allocations: 319.3 kB / 0.9484 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.1799, allocations: 0 / 0.9484 GB, free: 2.801 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005786/0.1805, allocations: 374.8 kB / 0.9488 GB, free: 2.434 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.001579/0.1821, allocations: 0.7514 MB / 0.9495 GB, free: 1.949 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0005968/0.1827, allocations: 0.5058 MB / 0.95 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 8.336e-06/0.1827, allocations: 8 kB / 0.95 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003352/0.183, allocations: 370.9 kB / 0.9504 GB, free: 1.047 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008444/0.1839, allocations: 482.2 kB / 0.9508 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002109/0.186, allocations: 1.756 MB / 0.9526 GB, free: 14.81 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001368/0.1861, allocations: 215.4 kB / 0.9528 GB, free: 14.58 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003954/0.1865, allocations: 215.7 kB / 0.953 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005755/0.1871, allocations: 347 kB / 0.9533 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of SimCode: time 1.253e-06/0.1871, allocations: 0 / 0.9533 GB, free: 14.02 MB / 0.9167 GB Notification: Performance of Templates: time 0.02198/0.2091, allocations: 19.51 MB / 0.9723 GB, free: 10.86 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.840954347047955]