Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001416/0.001416, allocations: 80.88 kB / 19.94 MB, free: 4.547 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.001354/0.001354, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 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.041/1.041, allocations: 177.1 MB / 203.8 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001803/0.001803, allocations: 245.9 kB / 260.5 MB, free: 12.69 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7183/0.7183, allocations: 138.4 MB / 402.2 MB, free: 0.5352 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.222e-06/1.222e-06, allocations: 0 / 462.3 MB, free: 0.8984 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.967e-05/2.089e-05, allocations: 3.656 kB / 462.3 MB, free: 0.8945 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005916/0.005937, allocations: 5.362 MB / 467.7 MB, free: 13.21 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.1423/0.1482, allocations: 146.3 MB / 0.5996 GB, free: 10.7 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001173/0.1494, allocations: 35.69 kB / 0.5996 GB, free: 10.66 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0008126/0.1502, allocations: 349.2 kB / 0.6 GB, free: 10.32 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001749/0.152, allocations: 0.5968 MB / 0.6006 GB, free: 9.719 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.1537, allocations: 0.8796 MB / 0.6014 GB, free: 8.84 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001774/0.1555, allocations: 1.604 MB / 0.603 GB, free: 7.23 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007257/0.1562, allocations: 0.4964 MB / 0.6035 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001147/0.1573, allocations: 0.8575 MB / 0.6043 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005205/0.1579, allocations: 406.7 kB / 0.6047 GB, free: 5.434 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.158, allocations: 124 kB / 0.6048 GB, free: 5.312 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009926/0.159, allocations: 0.5188 MB / 0.6053 GB, free: 4.793 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002412/0.1592, allocations: 326.8 kB / 0.6056 GB, free: 4.473 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005482/0.1598, allocations: 418.8 kB / 0.606 GB, free: 4.062 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001605/0.1614, allocations: 1.374 MB / 0.6074 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.1614, allocations: 0 / 0.6074 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1614, allocations: 0 / 0.6074 GB, free: 2.684 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 1.852e-05/0.1614, allocations: 4 kB / 0.6074 GB, free: 2.68 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.001716/0.1631, allocations: 1.617 MB / 0.6089 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.1632, allocations: 8.75 kB / 0.609 GB, free: 1.031 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008614/0.164, allocations: 320.2 kB / 0.6093 GB, free: 0.7188 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008693/0.1649, allocations: 0.7187 MB / 0.61 GB, free: 15.95 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.192e-05/0.165, allocations: 78.12 kB / 0.61 GB, free: 15.88 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.111e-05/0.165, allocations: 96 kB / 0.6101 GB, free: 15.79 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008959/0.1659, allocations: 0.9342 MB / 0.611 GB, free: 14.77 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.069e-05/0.166, allocations: 0 / 0.611 GB, free: 14.77 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.673e-05/0.166, allocations: 51.92 kB / 0.6111 GB, free: 14.71 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.166, allocations: 25.88 kB / 0.6111 GB, free: 14.69 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006739/0.1667, allocations: 0.5986 MB / 0.6117 GB, free: 14.09 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002595/0.1693, allocations: 1.745 MB / 0.6134 GB, free: 12.32 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.1698, allocations: 367.5 kB / 0.6138 GB, free: 11.96 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001337/0.1699, allocations: 122.8 kB / 0.6139 GB, free: 11.84 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 5.034e-05/0.17, allocations: 26.47 kB / 0.6139 GB, free: 11.81 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00038/0.1703, allocations: 425.9 kB / 0.6143 GB, free: 11.36 MB / 0.573 GB Notification: Performance of pre-optimization done (n=78): time 2.093e-06/0.1703, allocations: 0 / 0.6143 GB, free: 11.36 MB / 0.573 GB Notification: Performance of matching and sorting (n=78): time 0.001041/0.1714, allocations: 0.5375 MB / 0.6148 GB, free: 10.81 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.173e-05/0.1714, allocations: 188.6 kB / 0.615 GB, free: 10.58 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004731/0.1719, allocations: 0.6349 MB / 0.6156 GB, free: 9.934 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.172, allocations: 45.7 kB / 0.6157 GB, free: 9.883 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002188/0.1722, allocations: 414.7 kB / 0.6161 GB, free: 9.469 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001423/0.1723, allocations: 265.7 kB / 0.6163 GB, free: 9.207 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.1725, allocations: 146.5 kB / 0.6165 GB, free: 9.055 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.326e-05/0.1726, allocations: 333.9 kB / 0.6168 GB, free: 8.723 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.1727, allocations: 76.78 kB / 0.6169 GB, free: 8.648 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002013/0.1729, allocations: 307.6 kB / 0.6171 GB, free: 8.309 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.1732, allocations: 295.4 kB / 0.6174 GB, free: 8.004 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.1732, allocations: 1.312 kB / 0.6174 GB, free: 8.004 MB / 0.573 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0006191/0.1738, allocations: 431 kB / 0.6178 GB, free: 7.57 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.1739, allocations: 8 kB / 0.6178 GB, free: 7.562 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.1739, allocations: 0 / 0.6178 GB, free: 7.562 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004216/0.1743, allocations: 124.7 kB / 0.618 GB, free: 7.438 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.1746, allocations: 159.8 kB / 0.6181 GB, free: 7.281 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.1757, allocations: 1.317 MB / 0.6194 GB, free: 5.879 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000279/0.176, allocations: 67.61 kB / 0.6195 GB, free: 5.812 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.838e-05/0.176, allocations: 23.97 kB / 0.6195 GB, free: 5.789 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,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 (92): * Single equations (assignments): 91 * 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.0001926/0.1762, allocations: 168 kB / 0.6197 GB, free: 5.617 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.484e-05/0.1763, allocations: 79.92 kB / 0.6197 GB, free: 5.539 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.1774, allocations: 0.6092 MB / 0.6203 GB, free: 4.93 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.994e-06/0.1774, allocations: 15.92 kB / 0.6203 GB, free: 4.914 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.1774, allocations: 0 / 0.6203 GB, free: 4.914 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.375e-06/0.1774, allocations: 7.984 kB / 0.6203 GB, free: 4.906 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005176/0.1779, allocations: 499.4 kB / 0.6208 GB, free: 4.402 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/0.1779, allocations: 0 / 0.6208 GB, free: 4.402 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002918/0.1782, allocations: 143.8 kB / 0.621 GB, free: 4.262 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003138/0.1785, allocations: 104.8 kB / 0.6211 GB, free: 4.156 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-05/0.1786, allocations: 23.97 kB / 0.6211 GB, free: 4.133 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008856/0.1794, allocations: 1.337 MB / 0.6224 GB, free: 2.711 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1794, allocations: 0 / 0.6224 GB, free: 2.711 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005864/0.18, allocations: 486 kB / 0.6229 GB, free: 2.215 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.1802, allocations: 159.1 kB / 0.623 GB, free: 2.059 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.849e-05/0.1803, allocations: 24.03 kB / 0.623 GB, free: 2.035 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002024/0.1805, allocations: 43.81 kB / 0.6231 GB, free: 1.996 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.972e-05/0.1806, allocations: 64.86 kB / 0.6231 GB, free: 1.93 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.726e-05/0.1806, allocations: 19.98 kB / 0.6231 GB, free: 1.91 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002555/0.1809, allocations: 322.5 kB / 0.6235 GB, free: 1.598 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.1e-08/0.1809, allocations: 0 / 0.6235 GB, free: 1.598 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0006395/0.1815, allocations: 362.8 kB / 0.6238 GB, free: 1.242 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001532/0.1831, allocations: 0.7452 MB / 0.6245 GB, free: 0.8555 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0006143/0.1837, allocations: 485.1 kB / 0.625 GB, free: 384 kB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.034e-05/0.1837, allocations: 8 kB / 0.625 GB, free: 376 kB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003329/0.184, allocations: 355.2 kB / 0.6253 GB, free: 4 kB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008438/0.1849, allocations: 487.8 kB / 0.6258 GB, free: 15.59 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.1875, allocations: 1.744 MB / 0.6275 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/0.1876, allocations: 218.8 kB / 0.6277 GB, free: 13.57 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.0004611/0.1881, allocations: 206.4 kB / 0.6279 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005789/0.1887, allocations: 346.9 kB / 0.6282 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of SimCode: time 1.052e-06/0.1887, allocations: 3.938 kB / 0.6282 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of Templates: time 0.02418/0.2128, allocations: 19.06 MB / 0.6469 GB, free: 10.34 MB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.5638169618323445]