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.001635/0.001635, allocations: 79.34 kB / 19.76 MB, free: 2.035 MB / 14.72 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.001618/0.001618, allocations: 158.7 kB / 23.01 MB, free: 4.941 MB / 14.72 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.333/1.333, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 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.002368/0.002368, allocations: 241.8 kB / 260 MB, free: 436 kB / 238.1 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.9019/0.9019, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002987/0.002987, allocations: 103.8 kB / 0.6473 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.37/0.373, allocations: 95.33 MB / 0.7404 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005812/0.3788, allocations: 5.091 MB / 0.7454 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.1564/0.5352, allocations: 133 MB / 0.8752 GB, free: 8.355 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001136/0.5364, allocations: 35.69 kB / 0.8753 GB, free: 8.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0008686/0.5372, allocations: 377.3 kB / 0.8756 GB, free: 7.949 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001759/0.539, allocations: 0.5864 MB / 0.8762 GB, free: 7.363 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.0021/0.5411, allocations: 0.8993 MB / 0.8771 GB, free: 6.469 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001591/0.5427, allocations: 1.574 MB / 0.8786 GB, free: 4.891 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00079/0.5435, allocations: 495.1 kB / 0.8791 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00065/0.5441, allocations: 0.5605 MB / 0.8796 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006446/0.5448, allocations: 0.5284 MB / 0.8802 GB, free: 3.277 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001852/0.545, allocations: 136 kB / 0.8803 GB, free: 3.145 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000881/0.5458, allocations: 0.4918 MB / 0.8808 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003398/0.5462, allocations: 346.8 kB / 0.8811 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0005097/0.5467, allocations: 0.5207 MB / 0.8816 GB, free: 1.789 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002143/0.5488, allocations: 1.989 MB / 0.8836 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.5488, allocations: 0 / 0.8836 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.092e-06/0.5488, allocations: 0 / 0.8836 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.5488, allocations: 0 / 0.8836 GB, free: 15.8 MB / 0.7169 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.002682/0.5515, allocations: 1.683 MB / 0.8852 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.5516, allocations: 17.28 kB / 0.8852 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001453/0.553, allocations: 263.8 kB / 0.8855 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001418/0.5544, allocations: 0.8427 MB / 0.8863 GB, free: 12.94 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.136e-05/0.5545, allocations: 74 kB / 0.8864 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.5546, allocations: 99.98 kB / 0.8865 GB, free: 12.77 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001882/0.5565, allocations: 1.286 MB / 0.8877 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.398e-05/0.5565, allocations: 0 / 0.8877 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.61e-05/0.5566, allocations: 44 kB / 0.8878 GB, free: 11.34 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.351e-05/0.5566, allocations: 24 kB / 0.8878 GB, free: 11.31 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001913/0.5586, allocations: 1.124 MB / 0.8889 GB, free: 10.18 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003965/0.5625, allocations: 2.35 MB / 0.8912 GB, free: 7.777 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001406/0.5639, allocations: 0.7432 MB / 0.8919 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005127/0.5644, allocations: 270.7 kB / 0.8922 GB, free: 6.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.826e-05/0.5645, allocations: 32.56 kB / 0.8922 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008808/0.5654, allocations: 0.5815 MB / 0.8928 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=78): time 2.154e-06/0.5654, allocations: 3.938 kB / 0.8928 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of matching and sorting (n=78): time 0.003114/0.5685, allocations: 1.131 MB / 0.8939 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001101/0.5686, allocations: 192.6 kB / 0.894 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009209/0.5695, allocations: 0.7552 MB / 0.8948 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.5696, allocations: 41.7 kB / 0.8948 GB, free: 3.93 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004281/0.57, allocations: 0.5241 MB / 0.8953 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/0.5702, allocations: 265.8 kB / 0.8956 GB, free: 3.137 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.5705, allocations: 158.6 kB / 0.8957 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.5706, allocations: 341.9 kB / 0.8961 GB, free: 2.637 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005394/0.5712, allocations: 269.8 kB / 0.8963 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007146/0.5719, allocations: 483.6 kB / 0.8968 GB, free: 1.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00115/0.573, allocations: 0.611 MB / 0.8974 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.337e-06/0.573, allocations: 0 / 0.8974 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001981/0.575, allocations: 0.857 MB / 0.8982 GB, free: 380 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.575, allocations: 8 kB / 0.8982 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.575, allocations: 3.984 kB / 0.8982 GB, free: 368 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006023/0.5756, allocations: 88.8 kB / 0.8983 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006385/0.5763, allocations: 151.8 kB / 0.8985 GB, free: 124 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00225/0.5785, allocations: 1.521 MB / 0.8999 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006553/0.5792, allocations: 84.92 kB / 0.9 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.285e-05/0.5793, allocations: 40.03 kB / 0.9001 GB, free: 14.38 MB / 0.7325 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0004143/0.5797, allocations: 291.8 kB / 0.9003 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001784/0.5799, allocations: 115.2 kB / 0.9005 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002426/0.5823, allocations: 1.071 MB / 0.9015 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.636e-06/0.5823, allocations: 8 kB / 0.9015 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.5823, allocations: 4 kB / 0.9015 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/0.5823, allocations: 3.984 kB / 0.9015 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000911/0.5832, allocations: 0.7239 MB / 0.9022 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.5832, allocations: 0 / 0.9022 GB, free: 12.11 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005811/0.5838, allocations: 143.8 kB / 0.9024 GB, free: 11.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004339/0.5842, allocations: 68.8 kB / 0.9024 GB, free: 11.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-05/0.5843, allocations: 31.91 kB / 0.9025 GB, free: 11.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001959/0.5863, allocations: 1.544 MB / 0.904 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.5863, allocations: 0 / 0.904 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002005/0.5883, allocations: 0.9438 MB / 0.9049 GB, free: 9.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004082/0.5887, allocations: 211 kB / 0.9051 GB, free: 9.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001092/0.5888, allocations: 23.98 kB / 0.9051 GB, free: 9.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006237/0.5894, allocations: 59.94 kB / 0.9052 GB, free: 8.961 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.5895, allocations: 72.86 kB / 0.9052 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.914e-05/0.5896, allocations: 39.91 kB / 0.9053 GB, free: 8.848 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006823/0.5903, allocations: 0.5224 MB / 0.9058 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7e-08/0.5903, allocations: 0 / 0.9058 GB, free: 8.328 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008114/0.5911, allocations: 362.9 kB / 0.9061 GB, free: 7.973 MB / 0.7325 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.001951/0.5931, allocations: 0.6405 MB / 0.9068 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001636/0.5947, allocations: 0.7883 MB / 0.9075 GB, free: 6.742 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.5947, allocations: 4.188 kB / 0.9075 GB, free: 6.738 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009419/0.5956, allocations: 496.2 kB / 0.908 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001532/0.5972, allocations: 465.3 kB / 0.9084 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.6004, allocations: 1.978 MB / 0.9104 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005464/0.6009, allocations: 0.5175 MB / 0.9109 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0007765/0.6017, allocations: 283.2 kB / 0.9111 GB, free: 2.984 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002567/0.602, allocations: 116.4 kB / 0.9113 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of SimCode: time 4.81e-07/0.602, allocations: 0 / 0.9113 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of Templates: time 0.02931/0.6313, allocations: 17.73 MB / 0.9286 GB, free: 1.449 MB / 0.7481 GB " [Timeout remaining time 659] 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=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.290748209925368] Failed to read output from testmodel.py, exit status != 0: 0.6395287859486416 0.653462348 0.10168353100000001 Calling exit ...