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.0009934/0.0009934, allocations: 89.64 kB / 19.4 MB, free: 0.5039 MB / 13.93 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.001115/0.001115, allocations: 168.9 kB / 22.71 MB, free: 1.844 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.015/1.015, allocations: 177.1 MB / 203 MB, free: 5.664 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.001702/0.001702, allocations: 233.9 kB / 259.7 MB, free: 12.92 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.7864/0.7864, allocations: 138.4 MB / 454.6 MB, free: 1.512 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.352e-06/1.352e-06, allocations: 0 / 0.5542 GB, free: 0.9375 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.294e-05/2.43e-05, allocations: 2.312 kB / 0.5542 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.00547/0.005494, allocations: 5.405 MB / 0.5595 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3674/0.3729, allocations: 146.6 MB / 0.7026 GB, free: 4.98 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001025/0.3739, allocations: 35.69 kB / 0.7027 GB, free: 4.945 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006754/0.3746, allocations: 380.5 kB / 0.703 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001265/0.3758, allocations: 0.5857 MB / 0.7036 GB, free: 4 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00139/0.3772, allocations: 0.9019 MB / 0.7045 GB, free: 3.121 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0009622/0.3782, allocations: 1.612 MB / 0.706 GB, free: 1.504 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005287/0.3787, allocations: 497.8 kB / 0.7065 GB, free: 0.9844 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005596/0.3793, allocations: 0.8108 MB / 0.7073 GB, free: 176 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004057/0.3797, allocations: 450.6 kB / 0.7077 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.3798, allocations: 132 kB / 0.7079 GB, free: 15.6 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008251/0.3806, allocations: 0.509 MB / 0.7084 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002104/0.3808, allocations: 338.8 kB / 0.7087 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0002782/0.3811, allocations: 438.8 kB / 0.7091 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001527/0.3827, allocations: 1.401 MB / 0.7105 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3827, allocations: 0 / 0.7105 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.213e-06/0.3827, allocations: 0 / 0.7105 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.3827, allocations: 4 kB / 0.7105 GB, free: 12.93 MB / 0.5261 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.001992/0.3847, allocations: 1.758 MB / 0.7122 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.3847, allocations: 12.75 kB / 0.7122 GB, free: 11.12 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009513/0.3857, allocations: 363.4 kB / 0.7126 GB, free: 10.76 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009548/0.3866, allocations: 0.8609 MB / 0.7134 GB, free: 9.871 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.782e-05/0.3867, allocations: 78.56 kB / 0.7135 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.3868, allocations: 107.9 kB / 0.7136 GB, free: 9.688 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001352/0.3881, allocations: 1.063 MB / 0.7146 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.3881, allocations: 0 / 0.7146 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.39e-05/0.3882, allocations: 44 kB / 0.7147 GB, free: 8.469 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.3882, allocations: 24 kB / 0.7147 GB, free: 8.445 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009425/0.3892, allocations: 0.8309 MB / 0.7155 GB, free: 7.609 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002662/0.3918, allocations: 2.485 MB / 0.7179 GB, free: 5.07 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007839/0.3926, allocations: 481 kB / 0.7184 GB, free: 4.598 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002441/0.3929, allocations: 161.6 kB / 0.7185 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.357e-05/0.3929, allocations: 28.62 kB / 0.7186 GB, free: 4.406 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005314/0.3935, allocations: 482.9 kB / 0.719 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 2.635e-06/0.3935, allocations: 0 / 0.719 GB, free: 3.887 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.001665/0.3951, allocations: 0.8208 MB / 0.7198 GB, free: 3.059 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.971e-05/0.3952, allocations: 192.6 kB / 0.72 GB, free: 2.824 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006118/0.3958, allocations: 0.7103 MB / 0.7207 GB, free: 2.102 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.259e-05/0.3959, allocations: 45.69 kB / 0.7207 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003106/0.3962, allocations: 0.5698 MB / 0.7213 GB, free: 1.473 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002962/0.3965, allocations: 257.8 kB / 0.7215 GB, free: 1.219 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/0.3966, allocations: 164.2 kB / 0.7217 GB, free: 1.047 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.3968, allocations: 0.5082 MB / 0.7222 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002266/0.397, allocations: 133.9 kB / 0.7223 GB, free: 412 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003465/0.3973, allocations: 369.7 kB / 0.7227 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005156/0.3978, allocations: 373.8 kB / 0.723 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3979, allocations: 0 / 0.723 GB, free: 15.61 MB / 0.5417 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001023/0.3989, allocations: 0.6488 MB / 0.7237 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.3989, allocations: 4 kB / 0.7237 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.3989, allocations: 0 / 0.7237 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004867/0.3994, allocations: 135.6 kB / 0.7238 GB, free: 14.81 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003463/0.3997, allocations: 154.5 kB / 0.7239 GB, free: 14.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.4011, allocations: 1.906 MB / 0.7258 GB, free: 12.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003337/0.4014, allocations: 73.62 kB / 0.7259 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.462e-05/0.4015, allocations: 31.97 kB / 0.7259 GB, free: 12.52 MB / 0.5417 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.0002376/0.4017, allocations: 214.4 kB / 0.7261 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.4019, allocations: 123.3 kB / 0.7262 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001235/0.4031, allocations: 0.8445 MB / 0.7271 GB, free: 11.34 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.263e-06/0.4031, allocations: 12 kB / 0.7271 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.395e-06/0.4031, allocations: 0 / 0.7271 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.4031, allocations: 3.984 kB / 0.7271 GB, free: 11.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007288/0.4038, allocations: 0.6726 MB / 0.7277 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.4038, allocations: 3.938 kB / 0.7277 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000311/0.4042, allocations: 139.4 kB / 0.7279 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003832/0.4045, allocations: 123.6 kB / 0.728 GB, free: 10.35 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.561e-05/0.4046, allocations: 19.98 kB / 0.728 GB, free: 10.33 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.4059, allocations: 1.918 MB / 0.7299 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.4059, allocations: 0 / 0.7299 GB, free: 8.285 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.407, allocations: 0.7623 MB / 0.7306 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002775/0.4072, allocations: 211 kB / 0.7308 GB, free: 7.289 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.55e-05/0.4073, allocations: 19.94 kB / 0.7308 GB, free: 7.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/0.4076, allocations: 43.97 kB / 0.7309 GB, free: 7.227 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.4077, allocations: 72.86 kB / 0.7309 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.597e-05/0.4077, allocations: 35.97 kB / 0.731 GB, free: 7.121 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003829/0.4081, allocations: 474.8 kB / 0.7314 GB, free: 6.66 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.3e-07/0.4081, allocations: 4 kB / 0.7314 GB, free: 6.656 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007046/0.4088, allocations: 362.9 kB / 0.7318 GB, free: 6.301 MB / 0.5417 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.001245/0.4101, allocations: 0.6188 MB / 0.7324 GB, free: 5.922 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0009107/0.411, allocations: 0.6362 MB / 0.733 GB, free: 5.27 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.411, allocations: 4 kB / 0.733 GB, free: 5.266 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004797/0.4115, allocations: 477.2 kB / 0.7335 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009949/0.4125, allocations: 491.6 kB / 0.7339 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002702/0.4152, allocations: 1.8 MB / 0.7357 GB, free: 2.516 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.4153, allocations: 218.8 kB / 0.7359 GB, free: 2.281 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005376/0.4158, allocations: 267.4 kB / 0.7362 GB, free: 2.016 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.416, allocations: 120.4 kB / 0.7363 GB, free: 1.895 MB / 0.5417 GB Notification: Performance of SimCode: time 1.293e-06/0.416, allocations: 0 / 0.7363 GB, free: 1.895 MB / 0.5417 GB Notification: Performance of Templates: time 0.02223/0.4383, allocations: 17.78 MB / 0.7536 GB, free: 408 kB / 0.5573 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.695273358142003]