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.0006858/0.0006858, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007535/0.0007535, allocations: 177.9 kB / 23.21 MB, free: 1.348 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 0.8727/0.8727, allocations: 177.1 MB / 203.5 MB, free: 5.723 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.00138/0.00138, allocations: 226.2 kB / 260.2 MB, free: 13.02 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.6686/0.6686, allocations: 138.4 MB / 455.1 MB, free: 29.95 MB / 410.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.714e-06/1.714e-06, allocations: 0 / 0.6475 GB, free: 1.344 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.781e-05/2.953e-05, allocations: 6.281 kB / 0.6475 GB, free: 1.336 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.2812/0.2812, allocations: 5.06 MB / 0.6524 GB, free: 54.7 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.1222/0.4035, allocations: 133 MB / 0.7823 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.4047, allocations: 39.62 kB / 0.7824 GB, free: 0.5703 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0007784/0.4055, allocations: 377.3 kB / 0.7827 GB, free: 204 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.001755/0.4072, allocations: 0.5962 MB / 0.7833 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.409, allocations: 0.9055 MB / 0.7842 GB, free: 14.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.001544/0.4105, allocations: 1.617 MB / 0.7858 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007149/0.4112, allocations: 497.7 kB / 0.7863 GB, free: 12.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009731/0.4122, allocations: 0.8302 MB / 0.7871 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005049/0.4127, allocations: 438.6 kB / 0.7875 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001561/0.4129, allocations: 136 kB / 0.7876 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000894/0.4138, allocations: 0.4955 MB / 0.7881 GB, free: 10.68 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.414, allocations: 338.8 kB / 0.7884 GB, free: 10.34 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000333/0.4143, allocations: 438.8 kB / 0.7888 GB, free: 9.914 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.001931/0.4162, allocations: 2.052 MB / 0.7908 GB, free: 7.855 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.347e-06/0.4162, allocations: 4 kB / 0.7909 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.413e-06/0.4162, allocations: 0 / 0.7909 GB, free: 7.852 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.475e-05/0.4163, allocations: 0 / 0.7909 GB, free: 7.852 MB / 0.6198 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.002387/0.4187, allocations: 1.666 MB / 0.7925 GB, free: 6.16 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4187, allocations: 9.938 kB / 0.7925 GB, free: 6.152 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008178/0.4195, allocations: 259.8 kB / 0.7927 GB, free: 5.898 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001047/0.4206, allocations: 0.8425 MB / 0.7936 GB, free: 5.023 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/0.4206, allocations: 82.12 kB / 0.7936 GB, free: 4.941 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.519e-05/0.4207, allocations: 96 kB / 0.7937 GB, free: 4.848 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.422, allocations: 1.286 MB / 0.795 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.422, allocations: 0 / 0.795 GB, free: 3.461 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.569e-05/0.422, allocations: 48 kB / 0.795 GB, free: 3.414 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.526e-05/0.4221, allocations: 24.66 kB / 0.7951 GB, free: 3.391 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.4233, allocations: 1.116 MB / 0.7961 GB, free: 2.27 MB / 0.6198 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.002773/0.426, allocations: 2.351 MB / 0.7984 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001032/0.4271, allocations: 0.7494 MB / 0.7992 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003143/0.4274, allocations: 272.7 kB / 0.7994 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.291e-05/0.4274, allocations: 28.62 kB / 0.7995 GB, free: 14.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006295/0.4281, allocations: 0.581 MB / 0.8 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=78): time 3.156e-06/0.4281, allocations: 1.688 kB / 0.8 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of matching and sorting (n=78): time 0.001846/0.4299, allocations: 1.141 MB / 0.8011 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.43, allocations: 196.5 kB / 0.8013 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006889/0.4307, allocations: 0.7475 MB / 0.8021 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.4307, allocations: 41.7 kB / 0.8021 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002993/0.431, allocations: 0.5281 MB / 0.8026 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.4312, allocations: 261.8 kB / 0.8029 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.4313, allocations: 158.6 kB / 0.803 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.641e-05/0.4314, allocations: 337.9 kB / 0.8033 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003381/0.4318, allocations: 269.8 kB / 0.8036 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004324/0.4322, allocations: 487.6 kB / 0.8041 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006991/0.4329, allocations: 0.6033 MB / 0.8046 GB, free: 9.324 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.4329, allocations: 3.938 kB / 0.8047 GB, free: 9.32 MB / 0.6355 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001169/0.4341, allocations: 0.8609 MB / 0.8055 GB, free: 8.449 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4341, allocations: 4 kB / 0.8055 GB, free: 8.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.4341, allocations: 4 kB / 0.8055 GB, free: 8.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003133/0.4344, allocations: 84.81 kB / 0.8056 GB, free: 8.355 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000331/0.4347, allocations: 155.8 kB / 0.8057 GB, free: 8.203 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00144/0.4362, allocations: 1.51 MB / 0.8072 GB, free: 6.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000407/0.4366, allocations: 87.86 kB / 0.8073 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.375e-05/0.4366, allocations: 31.97 kB / 0.8073 GB, free: 6.473 MB / 0.6355 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.0004236/0.4371, allocations: 303.6 kB / 0.8076 GB, free: 6.168 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.4372, allocations: 107.3 kB / 0.8077 GB, free: 6.062 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00136/0.4385, allocations: 1.072 MB / 0.8088 GB, free: 4.992 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.4385, allocations: 8 kB / 0.8088 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.4385, allocations: 0 / 0.8088 GB, free: 4.984 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/0.4386, allocations: 3.984 kB / 0.8088 GB, free: 4.98 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007071/0.4393, allocations: 0.72 MB / 0.8095 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.4393, allocations: 0 / 0.8095 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002837/0.4396, allocations: 147.8 kB / 0.8096 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000219/0.4398, allocations: 76.72 kB / 0.8097 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.79e-05/0.4398, allocations: 23.98 kB / 0.8097 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001113/0.4409, allocations: 1.534 MB / 0.8112 GB, free: 2.344 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.4409, allocations: 8 kB / 0.8112 GB, free: 2.336 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00114/0.4421, allocations: 0.9438 MB / 0.8121 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002855/0.4423, allocations: 223.4 kB / 0.8123 GB, free: 1.148 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.829e-05/0.4424, allocations: 16 kB / 0.8124 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002864/0.4427, allocations: 62.59 kB / 0.8124 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.4428, allocations: 72.86 kB / 0.8125 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.484e-05/0.4429, allocations: 35.97 kB / 0.8125 GB, free: 0.9688 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005554/0.4434, allocations: 0.5185 MB / 0.813 GB, free: 464 kB / 0.6355 GB Notification: Performance of sort global known variables: time 3e-07/0.4434, allocations: 2.438 kB / 0.813 GB, free: 464 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007276/0.4441, allocations: 366.9 kB / 0.8134 GB, free: 96 kB / 0.6355 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.001144/0.4453, allocations: 0.6558 MB / 0.814 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.4464, allocations: 0.7884 MB / 0.8148 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4464, allocations: 0 / 0.8148 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.4469, allocations: 496.2 kB / 0.8153 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009241/0.4478, allocations: 461.7 kB / 0.8157 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002441/0.4502, allocations: 2.007 MB / 0.8177 GB, free: 11.94 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003444/0.4506, allocations: 0.5175 MB / 0.8182 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.4508, allocations: 124.4 kB / 0.8183 GB, free: 11.27 MB / 0.6511 GB Notification: Performance of SimCode: time 1.553e-06/0.4508, allocations: 7.938 kB / 0.8183 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of Templates: time 0.02145/0.4722, allocations: 22.83 MB / 0.8406 GB, free: 4.473 MB / 0.6667 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.3785206861794] Failed to read output from testmodel.py, exit status != 0: 0.47826063074171543 0.486798517 0.06871438099999994 Calling exit ...