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.001875/0.001875, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.001974/0.001974, allocations: 173.2 kB / 23.24 MB, free: 1.32 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.555/1.555, allocations: 177.1 MB / 203.5 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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 3.275/3.275, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 176] 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.352e-06/1.352e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.494e-05/2.629e-05, allocations: 6.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.007986/0.008012, allocations: 5.078 MB / 1.006 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.6233/0.6313, allocations: 133 MB / 1.136 GB, free: 14.42 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009701/0.6323, allocations: 34.06 kB / 1.136 GB, free: 14.4 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0009152/0.6332, allocations: 378.5 kB / 1.136 GB, free: 14.15 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.001809/0.635, allocations: 0.5947 MB / 1.137 GB, free: 13.8 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.002175/0.6372, allocations: 0.9239 MB / 1.138 GB, free: 13.31 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002018/0.6392, allocations: 1.645 MB / 1.139 GB, free: 12.43 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008858/0.6401, allocations: 495.4 kB / 1.14 GB, free: 12.14 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001195/0.6413, allocations: 0.8262 MB / 1.141 GB, free: 11.75 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006484/0.6419, allocations: 454.3 kB / 1.141 GB, free: 11.57 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0002087/0.6421, allocations: 139.6 kB / 1.141 GB, free: 11.57 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.6432, allocations: 0.5183 MB / 1.142 GB, free: 11.45 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0003829/0.6435, allocations: 349.7 kB / 1.142 GB, free: 11.22 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.000532/0.6441, allocations: 449 kB / 1.143 GB, free: 10.99 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.002804/0.6469, allocations: 2.088 MB / 1.145 GB, free: 10.11 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.6469, allocations: 0 / 1.145 GB, free: 10.11 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.232e-06/0.6469, allocations: 0 / 1.145 GB, free: 10.11 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.619e-05/0.6469, allocations: 1.562 kB / 1.145 GB, free: 10.11 MB / 1.01 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.003133/0.65, allocations: 1.681 MB / 1.146 GB, free: 9.016 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.6501, allocations: 14.91 kB / 1.146 GB, free: 9.012 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001395/0.6515, allocations: 268.4 kB / 1.146 GB, free: 8.922 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001736/0.6532, allocations: 0.8456 MB / 1.147 GB, free: 8.406 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.785e-05/0.6533, allocations: 82.98 kB / 1.147 GB, free: 8.367 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.6535, allocations: 105.5 kB / 1.147 GB, free: 8.332 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002212/0.6557, allocations: 1.305 MB / 1.149 GB, free: 7.52 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.893e-05/0.6557, allocations: 2.078 kB / 1.149 GB, free: 7.52 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.6558, allocations: 42.42 kB / 1.149 GB, free: 7.488 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.6559, allocations: 24.69 kB / 1.149 GB, free: 7.488 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.658, allocations: 1.131 MB / 1.15 GB, free: 7.203 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005112/0.6631, allocations: 2.489 MB / 1.152 GB, free: 5.762 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001617/0.6647, allocations: 0.7888 MB / 1.153 GB, free: 5.461 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005923/0.6653, allocations: 293.6 kB / 1.153 GB, free: 5.344 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.504e-05/0.6654, allocations: 31.19 kB / 1.153 GB, free: 5.332 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001045/0.6664, allocations: 0.605 MB / 1.154 GB, free: 5.004 MB / 1.01 GB Notification: Performance of pre-optimization done (n=86): time 2.685e-06/0.6664, allocations: 0 / 1.154 GB, free: 5.004 MB / 1.01 GB Notification: Performance of matching and sorting (n=86): time 0.003326/0.6698, allocations: 1.184 MB / 1.155 GB, free: 4.559 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000155/0.6699, allocations: 199.9 kB / 1.155 GB, free: 4.336 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001109/0.671, allocations: 0.7545 MB / 1.156 GB, free: 4.02 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9e-05/0.6711, allocations: 51.3 kB / 1.156 GB, free: 3.973 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005182/0.6716, allocations: 0.5212 MB / 1.157 GB, free: 3.562 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002843/0.6719, allocations: 284.8 kB / 1.157 GB, free: 3.336 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002934/0.6722, allocations: 179.4 kB / 1.157 GB, free: 3.254 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0002643/0.6725, allocations: 337.1 kB / 1.157 GB, free: 2.938 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006095/0.6731, allocations: 295.3 kB / 1.158 GB, free: 2.828 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008167/0.6739, allocations: 0.5053 MB / 1.158 GB, free: 2.508 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.6752, allocations: 0.6496 MB / 1.159 GB, free: 2.207 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.319e-06/0.6752, allocations: 1.281 kB / 1.159 GB, free: 2.207 MB / 1.01 GB Notification: Performance of matching and sorting (n=107) (initialization): time 0.002238/0.6774, allocations: 0.9358 MB / 1.16 GB, free: 1.82 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/0.6774, allocations: 9.844 kB / 1.16 GB, free: 1.816 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.827e-06/0.6774, allocations: 2.156 kB / 1.16 GB, free: 1.816 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006075/0.678, allocations: 84.55 kB / 1.16 GB, free: 1.797 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/0.6787, allocations: 167.1 kB / 1.16 GB, free: 1.777 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.681, allocations: 1.519 MB / 1.161 GB, free: 416 kB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/0.6818, allocations: 92.38 kB / 1.162 GB, free: 368 kB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.101e-05/0.6819, allocations: 39.73 kB / 1.162 GB, free: 360 kB / 1.01 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.conTim.canRepeatWeatherFile,weaDat.conTimMin.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.0005592/0.6824, allocations: 303.2 kB / 1.162 GB, free: 136 kB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001931/0.6826, allocations: 107 kB / 1.162 GB, free: 76 kB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002516/0.6851, allocations: 1.087 MB / 1.163 GB, free: 15.64 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.6851, allocations: 9.312 kB / 1.163 GB, free: 15.64 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.6851, allocations: 0.7031 kB / 1.163 GB, free: 15.64 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.221e-05/0.6852, allocations: 5.625 kB / 1.163 GB, free: 15.64 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003931/0.6891, allocations: 1.993 MB / 1.165 GB, free: 14.68 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.6891, allocations: 0.5625 kB / 1.165 GB, free: 14.68 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005883/0.6897, allocations: 152.9 kB / 1.165 GB, free: 14.66 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004381/0.6901, allocations: 73.81 kB / 1.165 GB, free: 14.64 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.44e-05/0.6902, allocations: 25.42 kB / 1.165 GB, free: 14.62 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00208/0.6923, allocations: 1.535 MB / 1.167 GB, free: 13.24 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.6923, allocations: 0 / 1.167 GB, free: 13.24 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/0.6945, allocations: 1.044 MB / 1.168 GB, free: 12.75 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004913/0.695, allocations: 213.2 kB / 1.168 GB, free: 12.63 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/0.6951, allocations: 24.66 kB / 1.168 GB, free: 12.62 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006529/0.6958, allocations: 64.72 kB / 1.168 GB, free: 12.6 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001764/0.696, allocations: 76.97 kB / 1.168 GB, free: 12.59 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.811e-05/0.696, allocations: 34.56 kB / 1.168 GB, free: 12.59 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0008392/0.6969, allocations: 0.528 MB / 1.169 GB, free: 12.36 MB / 1.026 GB Notification: Performance of sort global known variables: time 6e-08/0.6969, allocations: 0 / 1.169 GB, free: 12.36 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001153/0.698, allocations: 372.8 kB / 1.169 GB, free: 12.25 MB / 1.026 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.003379/0.7014, allocations: 0.6659 MB / 1.17 GB, free: 11.99 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.002047/0.7035, allocations: 0.8394 MB / 1.171 GB, free: 11.64 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.7035, allocations: 192 / 1.171 GB, free: 11.64 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0009829/0.7044, allocations: 0.5001 MB / 1.171 GB, free: 11.4 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/0.7063, allocations: 456 kB / 1.171 GB, free: 11.27 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003775/0.7101, allocations: 1.974 MB / 1.173 GB, free: 10.23 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006466/0.7107, allocations: 0.5227 MB / 1.174 GB, free: 10.08 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.001012/0.7117, allocations: 283.9 kB / 1.174 GB, free: 10 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002783/0.712, allocations: 118.9 kB / 1.174 GB, free: 9.977 MB / 1.026 GB Notification: Performance of SimCode: time 8.01e-07/0.712, allocations: 0 / 1.174 GB, free: 9.977 MB / 1.026 GB Notification: Performance of Templates: time 0.03184/0.7439, allocations: 18.06 MB / 1.192 GB, free: 3.902 MB / 1.026 GB " [Timeout remaining time 299] 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: 10.129022000357509]