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.0009648/0.0009648, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.000979/0.000979, allocations: 169 kB / 23.27 MB, free: 1.223 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.9924/0.9924, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.001751/0.001751, allocations: 246 kB / 260.5 MB, free: 12.67 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.7389/0.7389, allocations: 138.4 MB / 455.5 MB, free: 30.06 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.673e-06/1.673e-06, allocations: 0 / 0.5555 GB, free: 15.93 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.969e-05/3.136e-05, allocations: 2.312 kB / 0.5555 GB, free: 15.92 MB / 490.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005832/0.005863, allocations: 5.31 MB / 0.5607 GB, free: 10.59 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3677/0.3736, allocations: 144.1 MB / 0.7015 GB, free: 52.48 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000899/0.3745, allocations: 34.03 kB / 0.7015 GB, free: 52.46 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0007291/0.3752, allocations: 380.8 kB / 0.7019 GB, free: 52.31 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001357/0.3766, allocations: 0.6073 MB / 0.7025 GB, free: 52.11 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00154/0.3781, allocations: 0.905 MB / 0.7033 GB, free: 52.03 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.3797, allocations: 1.612 MB / 0.7049 GB, free: 51.71 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007674/0.3804, allocations: 489.7 kB / 0.7054 GB, free: 51.6 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001192/0.3816, allocations: 0.8556 MB / 0.7062 GB, free: 51.52 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006254/0.3823, allocations: 416.5 kB / 0.7066 GB, free: 51.47 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002969/0.3826, allocations: 122.5 kB / 0.7067 GB, free: 51.47 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009489/0.3835, allocations: 0.4933 MB / 0.7072 GB, free: 51.38 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002157/0.3837, allocations: 324 kB / 0.7075 GB, free: 51.2 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0003613/0.3841, allocations: 423.3 kB / 0.7079 GB, free: 51.01 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/0.3858, allocations: 1.37 MB / 0.7093 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 5.421e-06/0.3858, allocations: 0 / 0.7093 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.182e-06/0.3858, allocations: 3.938 kB / 0.7093 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.441e-05/0.3858, allocations: 1.375 kB / 0.7093 GB, free: 50.41 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.002083/0.3879, allocations: 1.763 MB / 0.711 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.3879, allocations: 11.94 kB / 0.711 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009191/0.3889, allocations: 363 kB / 0.7113 GB, free: 49.15 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009599/0.3898, allocations: 0.8525 MB / 0.7122 GB, free: 48.65 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.052e-05/0.3899, allocations: 77.89 kB / 0.7123 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.024e-05/0.39, allocations: 102.6 kB / 0.7124 GB, free: 48.59 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008057/0.3908, allocations: 0.9537 MB / 0.7133 GB, free: 48.05 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.3908, allocations: 4 kB / 0.7133 GB, free: 48.04 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.3908, allocations: 39.69 kB / 0.7133 GB, free: 48.02 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.608e-05/0.3908, allocations: 23.56 kB / 0.7133 GB, free: 48.02 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006551/0.3915, allocations: 0.7011 MB / 0.714 GB, free: 47.95 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00232/0.3938, allocations: 2.306 MB / 0.7163 GB, free: 46.57 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005243/0.3943, allocations: 418.3 kB / 0.7167 GB, free: 46.48 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.3945, allocations: 140.3 kB / 0.7168 GB, free: 46.45 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 7.079e-05/0.3945, allocations: 49.44 kB / 0.7169 GB, free: 46.44 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003494/0.3949, allocations: 452.4 kB / 0.7173 GB, free: 46.2 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=78): time 2.395e-06/0.3949, allocations: 0 / 0.7173 GB, free: 46.2 MB / 0.5573 GB Notification: Performance of matching and sorting (n=78): time 0.001212/0.3961, allocations: 0.7195 MB / 0.718 GB, free: 46.02 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.3961, allocations: 199.7 kB / 0.7182 GB, free: 45.79 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004442/0.3966, allocations: 0.6849 MB / 0.7189 GB, free: 45.57 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.3966, allocations: 45.64 kB / 0.7189 GB, free: 45.53 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/0.3969, allocations: 0.5827 MB / 0.7195 GB, free: 45.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001124/0.397, allocations: 262 kB / 0.7197 GB, free: 44.9 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001446/0.3971, allocations: 172.2 kB / 0.7199 GB, free: 44.83 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.627e-05/0.3972, allocations: 0.5098 MB / 0.7204 GB, free: 44.34 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001194/0.3973, allocations: 101.6 kB / 0.7205 GB, free: 44.34 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001969/0.3975, allocations: 326.2 kB / 0.7208 GB, free: 44.12 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003/0.3978, allocations: 316.4 kB / 0.7211 GB, free: 44 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3978, allocations: 0 / 0.7211 GB, free: 44 MB / 0.5573 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007234/0.3985, allocations: 0.5796 MB / 0.7217 GB, free: 43.8 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.3985, allocations: 7.703 kB / 0.7217 GB, free: 43.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3986, allocations: 0 / 0.7217 GB, free: 43.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004078/0.399, allocations: 122.8 kB / 0.7218 GB, free: 43.78 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003112/0.3993, allocations: 151.7 kB / 0.7219 GB, free: 43.77 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/0.4003, allocations: 1.876 MB / 0.7238 GB, free: 41.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003259/0.4006, allocations: 73.8 kB / 0.7238 GB, free: 41.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.705e-05/0.4007, allocations: 28.83 kB / 0.7239 GB, free: 41.91 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.conTimMin.canRepeatWeatherFile,weaDat.conTim.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.0001937/0.4008, allocations: 209.4 kB / 0.7241 GB, free: 41.72 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001144/0.401, allocations: 126.6 kB / 0.7242 GB, free: 41.66 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009019/0.4019, allocations: 0.7658 MB / 0.7249 GB, free: 41.4 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.4019, allocations: 8.5 kB / 0.7249 GB, free: 41.4 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.154e-06/0.4019, allocations: 3.625 kB / 0.7249 GB, free: 41.4 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.005e-06/0.4019, allocations: 4.969 kB / 0.7249 GB, free: 41.4 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000525/0.4024, allocations: 0.5331 MB / 0.7255 GB, free: 41.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4024, allocations: 4 kB / 0.7255 GB, free: 41.18 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002564/0.4027, allocations: 137.1 kB / 0.7256 GB, free: 41.17 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003155/0.403, allocations: 116.1 kB / 0.7257 GB, free: 41.15 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.315e-05/0.403, allocations: 20.05 kB / 0.7257 GB, free: 41.14 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007781/0.4038, allocations: 1.895 MB / 0.7276 GB, free: 39.33 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.4038, allocations: 3.969 kB / 0.7276 GB, free: 39.33 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000734/0.4045, allocations: 0.6869 MB / 0.7283 GB, free: 39.07 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.4047, allocations: 199.2 kB / 0.7284 GB, free: 38.96 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.443e-05/0.4048, allocations: 18.31 kB / 0.7285 GB, free: 38.95 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000205/0.405, allocations: 48.98 kB / 0.7285 GB, free: 38.93 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.844e-05/0.4051, allocations: 68.33 kB / 0.7286 GB, free: 38.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.4051, allocations: 30.52 kB / 0.7286 GB, free: 38.91 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0002545/0.4054, allocations: 441.1 kB / 0.729 GB, free: 38.76 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.4054, allocations: 0 / 0.729 GB, free: 38.76 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007141/0.4061, allocations: 356.6 kB / 0.7294 GB, free: 38.65 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.001208/0.4073, allocations: 0.6239 MB / 0.73 GB, free: 38.44 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0006765/0.408, allocations: 0.57 MB / 0.7305 GB, free: 38.21 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/0.408, allocations: 2.938 kB / 0.7305 GB, free: 38.21 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.4083, allocations: 436.1 kB / 0.7309 GB, free: 37.99 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009639/0.4093, allocations: 495.6 kB / 0.7314 GB, free: 37.84 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.4116, allocations: 1.768 MB / 0.7331 GB, free: 36.75 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.4117, allocations: 214.9 kB / 0.7333 GB, free: 36.62 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0005455/0.4123, allocations: 205.3 kB / 0.7335 GB, free: 36.51 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005994/0.4129, allocations: 412.5 kB / 0.7339 GB, free: 36.35 MB / 0.5573 GB Notification: Performance of SimCode: time 1.463e-06/0.4129, allocations: 2.312 kB / 0.7339 GB, free: 36.35 MB / 0.5573 GB Notification: Performance of Templates: time 0.02188/0.4348, allocations: 19 MB / 0.7525 GB, free: 26.14 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.671860872767866]