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.001323/0.001323, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001623/0.001623, allocations: 159.6 kB / 22.45 MB, free: 5.375 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.442/1.442, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 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.002413/0.002413, allocations: 233.6 kB / 259.4 MB, free: 484 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 1.087/1.087, allocations: 138.4 MB / 454.3 MB, free: 1.969 MB / 366.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: Performance of FrontEnd - loaded program: time 1.854e-06/1.854e-06, allocations: 0 / 0.6468 GB, free: 5.055 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.278e-05, allocations: 5.797 kB / 0.6468 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.2736/0.2737, allocations: 5.073 MB / 0.6517 GB, free: 53.06 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.1494/0.4231, allocations: 133 MB / 0.7816 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.4242, allocations: 39.69 kB / 0.7817 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001205/0.4254, allocations: 369.3 kB / 0.782 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002411/0.4278, allocations: 0.6012 MB / 0.7826 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002573/0.4304, allocations: 0.9057 MB / 0.7835 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002246/0.4327, allocations: 1.616 MB / 0.7851 GB, free: 2.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001033/0.4337, allocations: 493.7 kB / 0.7855 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001297/0.435, allocations: 0.8146 MB / 0.7863 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006197/0.4356, allocations: 438.6 kB / 0.7867 GB, free: 0.9883 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002123/0.4358, allocations: 132 kB / 0.7869 GB, free: 0.8594 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009993/0.4368, allocations: 0.511 MB / 0.7874 GB, free: 356 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000374/0.4372, allocations: 346.8 kB / 0.7877 GB, free: 8 kB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005343/0.4377, allocations: 434.8 kB / 0.7881 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00255/0.4403, allocations: 2.052 MB / 0.7901 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.4403, allocations: 3.938 kB / 0.7901 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.042e-06/0.4403, allocations: 0 / 0.7901 GB, free: 13.52 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.646e-05/0.4403, allocations: 0 / 0.7901 GB, free: 13.52 MB / 0.6231 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.002951/0.4433, allocations: 1.656 MB / 0.7917 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.542e-05/0.4433, allocations: 9.344 kB / 0.7917 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001546/0.4448, allocations: 263.8 kB / 0.792 GB, free: 11.57 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001516/0.4464, allocations: 0.8424 MB / 0.7928 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.437e-05/0.4464, allocations: 82.12 kB / 0.7929 GB, free: 10.61 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.4466, allocations: 101.3 kB / 0.793 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002019/0.4486, allocations: 1.283 MB / 0.7942 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.211e-05/0.4486, allocations: 0.6875 kB / 0.7942 GB, free: 9.129 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.4487, allocations: 43.98 kB / 0.7943 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.532e-05/0.4487, allocations: 28 kB / 0.7943 GB, free: 9.059 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002054/0.4508, allocations: 1.124 MB / 0.7954 GB, free: 7.93 MB / 0.6231 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.004225/0.455, allocations: 2.351 MB / 0.7977 GB, free: 5.535 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.4566, allocations: 0.7453 MB / 0.7984 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005777/0.4572, allocations: 279.2 kB / 0.7987 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-05/0.4572, allocations: 28.62 kB / 0.7987 GB, free: 4.48 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009826/0.4582, allocations: 0.5825 MB / 0.7993 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=78): time 2.785e-06/0.4582, allocations: 0 / 0.7993 GB, free: 3.859 MB / 0.6231 GB Notification: Performance of matching and sorting (n=78): time 0.003326/0.4616, allocations: 1.135 MB / 0.8004 GB, free: 2.715 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001278/0.4617, allocations: 196.4 kB / 0.8006 GB, free: 2.484 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001019/0.4627, allocations: 0.7552 MB / 0.8013 GB, free: 1.723 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.027e-05/0.4628, allocations: 37.7 kB / 0.8014 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004757/0.4632, allocations: 0.5242 MB / 0.8019 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002412/0.4635, allocations: 261.8 kB / 0.8021 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000278/0.4638, allocations: 162.6 kB / 0.8023 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000166/0.4639, allocations: 334 kB / 0.8026 GB, free: 404 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.4645, allocations: 269.8 kB / 0.8029 GB, free: 132 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008052/0.4653, allocations: 491.6 kB / 0.8033 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001234/0.4665, allocations: 0.5994 MB / 0.8039 GB, free: 14.99 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.4666, allocations: 7.938 kB / 0.8039 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002151/0.4687, allocations: 0.8608 MB / 0.8048 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.4687, allocations: 4 kB / 0.8048 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.4687, allocations: 3.984 kB / 0.8048 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006371/0.4694, allocations: 88.86 kB / 0.8049 GB, free: 14.02 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.47, allocations: 155.8 kB / 0.805 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002302/0.4723, allocations: 1.513 MB / 0.8065 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007603/0.4731, allocations: 84.7 kB / 0.8066 GB, free: 12.16 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.289e-05/0.4732, allocations: 35.97 kB / 0.8066 GB, free: 12.13 MB / 0.6387 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.000556/0.4737, allocations: 291.9 kB / 0.8069 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001947/0.4739, allocations: 103.3 kB / 0.807 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.4766, allocations: 1.072 MB / 0.808 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.4766, allocations: 15.98 kB / 0.808 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.384e-06/0.4766, allocations: 0 / 0.808 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.4766, allocations: 3.984 kB / 0.808 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.4778, allocations: 0.7317 MB / 0.8088 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.4778, allocations: 0 / 0.8088 GB, free: 9.879 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005895/0.4784, allocations: 139.8 kB / 0.8089 GB, free: 9.742 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004655/0.4788, allocations: 72.8 kB / 0.809 GB, free: 9.668 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/0.4789, allocations: 27.97 kB / 0.809 GB, free: 9.641 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002206/0.4811, allocations: 1.539 MB / 0.8105 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4811, allocations: 0 / 0.8105 GB, free: 8.004 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002157/0.4833, allocations: 0.9438 MB / 0.8114 GB, free: 7.035 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004194/0.4837, allocations: 211 kB / 0.8116 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001316/0.4838, allocations: 23.98 kB / 0.8116 GB, free: 6.805 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006415/0.4845, allocations: 63.12 kB / 0.8117 GB, free: 6.746 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001614/0.4846, allocations: 72.86 kB / 0.8118 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-05/0.4847, allocations: 39.97 kB / 0.8118 GB, free: 6.637 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007479/0.4854, allocations: 0.5224 MB / 0.8123 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4854, allocations: 3.938 kB / 0.8123 GB, free: 6.113 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009249/0.4864, allocations: 362.9 kB / 0.8127 GB, free: 5.758 MB / 0.6387 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.002148/0.4885, allocations: 0.6535 MB / 0.8133 GB, free: 5.336 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001801/0.4903, allocations: 0.7921 MB / 0.8141 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.4903, allocations: 0 / 0.8141 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0009787/0.4913, allocations: 496.4 kB / 0.8145 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001713/0.493, allocations: 461.9 kB / 0.815 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/0.4967, allocations: 1.961 MB / 0.8169 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005921/0.4972, allocations: 0.5214 MB / 0.8174 GB, free: 1.082 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008563/0.4981, allocations: 287.2 kB / 0.8177 GB, free: 0.7969 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002958/0.4984, allocations: 108.5 kB / 0.8178 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of SimCode: time 4.2e-07/0.4984, allocations: 0 / 0.8178 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of Templates: time 0.03213/0.5305, allocations: 17.63 MB / 0.835 GB, free: 15.36 MB / 0.67 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.721440892666578] Failed to read output from testmodel.py, exit status != 0: 0.5407155975699425 0.5545921060000001 0.11095884 Calling exit ...