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.001166/0.001166, allocations: 92.22 kB / 19.65 MB, free: 276 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.001433/0.001433, allocations: 173 kB / 23.02 MB, free: 1.547 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.9624/0.9624, allocations: 177.1 MB / 203.4 MB, free: 5.625 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.002658/0.002658, allocations: 236.7 kB / 260.2 MB, free: 12.81 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.7328/0.7328, allocations: 138.4 MB / 455.2 MB, free: 29.9 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.283e-06/1.283e-06, allocations: 0 / 0.5551 GB, free: 208 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.891e-05/2.019e-05, allocations: 6.312 kB / 0.5551 GB, free: 200 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005375/0.005395, allocations: 5.444 MB / 0.5604 GB, free: 10.72 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.385/0.3904, allocations: 146.8 MB / 0.7038 GB, free: 51.58 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001207/0.3916, allocations: 38.78 kB / 0.7038 GB, free: 51.56 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0009551/0.3926, allocations: 376.3 kB / 0.7042 GB, free: 51.41 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001848/0.3944, allocations: 0.6033 MB / 0.7048 GB, free: 51.21 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001961/0.3964, allocations: 0.9039 MB / 0.7056 GB, free: 51.13 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001717/0.3981, allocations: 1.613 MB / 0.7072 GB, free: 50.81 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008271/0.3989, allocations: 492.9 kB / 0.7077 GB, free: 50.7 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.4, allocations: 0.849 MB / 0.7085 GB, free: 50.63 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005806/0.4006, allocations: 414.2 kB / 0.7089 GB, free: 50.57 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002407/0.4009, allocations: 123.8 kB / 0.709 GB, free: 50.57 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008805/0.4017, allocations: 0.496 MB / 0.7095 GB, free: 50.5 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002199/0.402, allocations: 327.6 kB / 0.7098 GB, free: 50.31 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003964/0.4024, allocations: 421 kB / 0.7102 GB, free: 50.13 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.4039, allocations: 1.373 MB / 0.7116 GB, free: 49.54 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.4039, allocations: 4 kB / 0.7116 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.553e-06/0.404, allocations: 0 / 0.7116 GB, free: 49.53 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.388e-05/0.404, allocations: 0 / 0.7116 GB, free: 49.53 MB / 0.5573 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.001748/0.4057, allocations: 1.747 MB / 0.7133 GB, free: 48.35 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.4058, allocations: 13.91 kB / 0.7133 GB, free: 48.35 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008192/0.4066, allocations: 363.6 kB / 0.7136 GB, free: 48.2 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007825/0.4074, allocations: 0.8607 MB / 0.7145 GB, free: 47.7 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.031e-05/0.4074, allocations: 75.41 kB / 0.7145 GB, free: 47.67 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.119e-05/0.4075, allocations: 100.6 kB / 0.7146 GB, free: 47.64 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008909/0.4084, allocations: 1.012 MB / 0.7156 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.826e-05/0.4084, allocations: 1.969 kB / 0.7156 GB, free: 47.04 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.242e-05/0.4085, allocations: 41.09 kB / 0.7157 GB, free: 47 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.561e-05/0.4085, allocations: 28.72 kB / 0.7157 GB, free: 47 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007911/0.4093, allocations: 0.8228 MB / 0.7165 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002146/0.4114, allocations: 2.446 MB / 0.7189 GB, free: 45.37 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006395/0.412, allocations: 468.4 kB / 0.7193 GB, free: 45.23 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001952/0.4122, allocations: 167.5 kB / 0.7195 GB, free: 45.19 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.4123, allocations: 27.48 kB / 0.7195 GB, free: 45.19 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.4127, allocations: 472.3 kB / 0.72 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=78): time 2.224e-06/0.4127, allocations: 3.156 kB / 0.72 GB, free: 44.91 MB / 0.5573 GB Notification: Performance of matching and sorting (n=78): time 0.001372/0.4141, allocations: 0.7942 MB / 0.7208 GB, free: 44.7 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.144e-05/0.4141, allocations: 201.8 kB / 0.7209 GB, free: 44.46 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004955/0.4146, allocations: 0.6987 MB / 0.7216 GB, free: 44.14 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.924e-05/0.4146, allocations: 43.55 kB / 0.7217 GB, free: 44.1 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002124/0.4148, allocations: 0.567 MB / 0.7222 GB, free: 43.64 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.415, allocations: 265.3 kB / 0.7225 GB, free: 43.44 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001424/0.4151, allocations: 166 kB / 0.7226 GB, free: 43.36 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.303e-05/0.4152, allocations: 0.5061 MB / 0.7231 GB, free: 42.86 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.4153, allocations: 126.4 kB / 0.7233 GB, free: 42.84 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002511/0.4156, allocations: 359.1 kB / 0.7236 GB, free: 42.59 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004065/0.416, allocations: 357.2 kB / 0.7239 GB, free: 42.44 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.416, allocations: 2.562 kB / 0.7239 GB, free: 42.44 MB / 0.5573 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0008414/0.4168, allocations: 0.6393 MB / 0.7246 GB, free: 42.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.4169, allocations: 2.562 kB / 0.7246 GB, free: 42.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.4169, allocations: 3.031 kB / 0.7246 GB, free: 42.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004305/0.4173, allocations: 131 kB / 0.7247 GB, free: 42.19 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000316/0.4176, allocations: 148.8 kB / 0.7248 GB, free: 42.18 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.4186, allocations: 1.906 MB / 0.7267 GB, free: 40.34 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/0.4189, allocations: 68.38 kB / 0.7268 GB, free: 40.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.051e-05/0.419, allocations: 38.3 kB / 0.7268 GB, free: 40.29 MB / 0.5573 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.0001869/0.4191, allocations: 206 kB / 0.727 GB, free: 40.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001116/0.4193, allocations: 128.2 kB / 0.7271 GB, free: 40.03 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00104/0.4203, allocations: 0.8189 MB / 0.7279 GB, free: 39.75 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.4203, allocations: 12.97 kB / 0.7279 GB, free: 39.74 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.4203, allocations: 3.031 kB / 0.7279 GB, free: 39.74 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.4203, allocations: 5.016 kB / 0.7279 GB, free: 39.74 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000528/0.4208, allocations: 0.6594 MB / 0.7286 GB, free: 39.41 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.4208, allocations: 3.938 kB / 0.7286 GB, free: 39.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002778/0.4211, allocations: 141 kB / 0.7287 GB, free: 39.39 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003386/0.4215, allocations: 120.2 kB / 0.7288 GB, free: 39.36 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.4215, allocations: 23.27 kB / 0.7289 GB, free: 39.35 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000829/0.4223, allocations: 1.926 MB / 0.7307 GB, free: 37.5 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4223, allocations: 0 / 0.7307 GB, free: 37.5 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008642/0.4232, allocations: 0.7474 MB / 0.7315 GB, free: 37.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.4234, allocations: 199.1 kB / 0.7317 GB, free: 37.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.178e-05/0.4235, allocations: 25.78 kB / 0.7317 GB, free: 37.07 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.4237, allocations: 37.03 kB / 0.7317 GB, free: 37.05 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.4238, allocations: 70.92 kB / 0.7318 GB, free: 37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.082e-05/0.4238, allocations: 32.14 kB / 0.7318 GB, free: 36.99 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000314/0.4242, allocations: 459.3 kB / 0.7323 GB, free: 36.73 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8e-08/0.4242, allocations: 0 / 0.7323 GB, free: 36.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006776/0.4248, allocations: 358.9 kB / 0.7326 GB, free: 36.61 MB / 0.5573 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.001191/0.426, allocations: 0.633 MB / 0.7332 GB, free: 36.38 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007967/0.4268, allocations: 0.6257 MB / 0.7338 GB, free: 36.05 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.4268, allocations: 0 / 0.7338 GB, free: 36.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000378/0.4272, allocations: 466 kB / 0.7343 GB, free: 35.75 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009496/0.4282, allocations: 488.8 kB / 0.7347 GB, free: 35.53 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002356/0.4305, allocations: 1.785 MB / 0.7365 GB, free: 34.41 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001296/0.4306, allocations: 224.2 kB / 0.7367 GB, free: 34.28 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006146/0.4313, allocations: 272 kB / 0.7369 GB, free: 34.13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001857/0.4314, allocations: 114.1 kB / 0.7371 GB, free: 34.1 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/0.4314, allocations: 0 / 0.7371 GB, free: 34.1 MB / 0.5573 GB Notification: Performance of Templates: time 0.01972/0.4512, allocations: 18.65 MB / 0.7553 GB, free: 24.52 MB / 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.613952075596899]