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.001864/0.001864, allocations: 85.48 kB / 19.44 MB, free: 340 kB / 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.002039/0.002039, allocations: 173.2 kB / 22.76 MB, free: 1.66 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.583/1.583, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.003289/0.003289, allocations: 233.9 kB / 259.8 MB, free: 12.83 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 1.247/1.247, allocations: 138.5 MB / 454.7 MB, free: 1.488 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.773e-06/1.773e-06, allocations: 0 / 0.5543 GB, free: 0.8867 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.746e-05/2.923e-05, allocations: 2.312 kB / 0.5543 GB, free: 0.8828 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.01192/0.01195, allocations: 5.358 MB / 0.5595 GB, free: 11.5 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3933/0.4053, allocations: 146.6 MB / 0.7027 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001049/0.4063, allocations: 35.69 kB / 0.7027 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.4073, allocations: 380.5 kB / 0.7031 GB, free: 4.543 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002295/0.4096, allocations: 0.5901 MB / 0.7036 GB, free: 3.965 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001861/0.4115, allocations: 0.9028 MB / 0.7045 GB, free: 3.086 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001325/0.4128, allocations: 1.608 MB / 0.7061 GB, free: 1.473 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006869/0.4135, allocations: 0.4895 MB / 0.7066 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007278/0.4142, allocations: 0.8147 MB / 0.7074 GB, free: 136 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006274/0.4149, allocations: 438.6 kB / 0.7078 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002237/0.4151, allocations: 136 kB / 0.7079 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.4161, allocations: 0.501 MB / 0.7084 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.4165, allocations: 346.8 kB / 0.7087 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005432/0.4171, allocations: 438.8 kB / 0.7092 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002864/0.42, allocations: 2.052 MB / 0.7112 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.42, allocations: 0 / 0.7112 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.252e-06/0.42, allocations: 4 kB / 0.7112 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.825e-05/0.42, allocations: 0 / 0.7112 GB, free: 12.24 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.003274/0.4233, allocations: 1.872 MB / 0.713 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.568e-05/0.4233, allocations: 8.75 kB / 0.713 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001559/0.4248, allocations: 367.4 kB / 0.7133 GB, free: 9.965 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001579/0.4264, allocations: 0.8726 MB / 0.7142 GB, free: 9.062 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.945e-05/0.4265, allocations: 74.56 kB / 0.7143 GB, free: 8.988 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000158/0.4267, allocations: 103.9 kB / 0.7144 GB, free: 8.887 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002106/0.4288, allocations: 1.325 MB / 0.7157 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.4288, allocations: 0 / 0.7157 GB, free: 7.449 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/0.4289, allocations: 44 kB / 0.7157 GB, free: 7.406 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.462e-05/0.4289, allocations: 24 kB / 0.7157 GB, free: 7.383 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002109/0.431, allocations: 1.073 MB / 0.7168 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005357/0.4364, allocations: 3.344 MB / 0.72 GB, free: 2.867 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001458/0.4379, allocations: 0.6844 MB / 0.7207 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005119/0.4384, allocations: 246.1 kB / 0.7209 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.683e-05/0.4385, allocations: 28.64 kB / 0.721 GB, free: 1.906 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009795/0.4394, allocations: 0.5938 MB / 0.7216 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 2.204e-06/0.4394, allocations: 0 / 0.7216 GB, free: 1.266 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.003166/0.4426, allocations: 1.051 MB / 0.7226 GB, free: 208 kB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001793/0.4428, allocations: 188.6 kB / 0.7228 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.4442, allocations: 0.9642 MB / 0.7237 GB, free: 15 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.941e-05/0.4443, allocations: 41.7 kB / 0.7237 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005794/0.4448, allocations: 0.6167 MB / 0.7243 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002849/0.4451, allocations: 285.8 kB / 0.7246 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000317/0.4454, allocations: 192.2 kB / 0.7248 GB, free: 13.85 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0002917/0.4457, allocations: 0.5316 MB / 0.7253 GB, free: 13.31 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004864/0.4462, allocations: 217.9 kB / 0.7255 GB, free: 13.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007222/0.4469, allocations: 481.7 kB / 0.726 GB, free: 12.58 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.448, allocations: 0.5402 MB / 0.7265 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.448, allocations: 0 / 0.7265 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002019/0.45, allocations: 0.8167 MB / 0.7273 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.4501, allocations: 4 kB / 0.7273 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.4501, allocations: 0 / 0.7273 GB, free: 11.19 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001007/0.4511, allocations: 139.6 kB / 0.7274 GB, free: 11.05 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006568/0.4517, allocations: 155.8 kB / 0.7276 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/0.4544, allocations: 2.044 MB / 0.7296 GB, free: 8.727 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005856/0.455, allocations: 73.19 kB / 0.7297 GB, free: 8.656 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.876e-05/0.455, allocations: 35.97 kB / 0.7297 GB, free: 8.621 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.0004427/0.4555, allocations: 298.4 kB / 0.73 GB, free: 8.32 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.4557, allocations: 131.3 kB / 0.7301 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002611/0.4583, allocations: 1.003 MB / 0.7311 GB, free: 7.18 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.023e-05/0.4583, allocations: 8 kB / 0.7311 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.4583, allocations: 0 / 0.7311 GB, free: 7.172 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.219e-05/0.4584, allocations: 3.984 kB / 0.7311 GB, free: 7.168 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001296/0.4597, allocations: 0.9108 MB / 0.732 GB, free: 6.223 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.481e-06/0.4597, allocations: 3.938 kB / 0.732 GB, free: 6.219 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005932/0.4603, allocations: 139.8 kB / 0.7321 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007999/0.4611, allocations: 127.6 kB / 0.7322 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.885e-05/0.4611, allocations: 19.98 kB / 0.7323 GB, free: 5.934 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002464/0.4636, allocations: 2.081 MB / 0.7343 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.4636, allocations: 4 kB / 0.7343 GB, free: 3.723 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002114/0.4657, allocations: 0.9265 MB / 0.7352 GB, free: 2.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004748/0.4662, allocations: 215 kB / 0.7354 GB, free: 2.559 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.4663, allocations: 23.94 kB / 0.7354 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005078/0.4668, allocations: 40.59 kB / 0.7355 GB, free: 2.496 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001812/0.467, allocations: 76.8 kB / 0.7355 GB, free: 2.418 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.932e-05/0.4671, allocations: 39.97 kB / 0.7356 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008444/0.4679, allocations: 0.6004 MB / 0.7362 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9e-08/0.4679, allocations: 0 / 0.7362 GB, free: 1.785 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0009543/0.4689, allocations: 362.9 kB / 0.7365 GB, free: 1.43 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.003403/0.4723, allocations: 0.6508 MB / 0.7372 GB, free: 1.047 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001967/0.4742, allocations: 0.8278 MB / 0.738 GB, free: 212 kB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4742, allocations: 0 / 0.738 GB, free: 212 kB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001041/0.4753, allocations: 0.5674 MB / 0.7385 GB, free: 15.62 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001786/0.4771, allocations: 0.4884 MB / 0.739 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.4806, allocations: 1.922 MB / 0.7409 GB, free: 13.23 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006152/0.4812, allocations: 0.5136 MB / 0.7414 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008125/0.4821, allocations: 271.1 kB / 0.7416 GB, free: 12.41 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000284/0.4823, allocations: 108.5 kB / 0.7417 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of SimCode: time 1.293e-06/0.4823, allocations: 4 kB / 0.7417 GB, free: 12.3 MB / 0.5573 GB Notification: Performance of Templates: time 0.03423/0.5166, allocations: 17.76 MB / 0.7591 GB, free: 10.83 MB / 0.573 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.001928378012963]