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.0009945/0.0009945, allocations: 73.88 kB / 20.66 MB, free: 3.836 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.0009394/0.0009394, allocations: 169 kB / 24.06 MB, free: 448 kB / 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.9997/0.9997, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.001708/0.001708, allocations: 247 kB / 261.3 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.7633/0.7633, allocations: 138.5 MB / 456.3 MB, free: 1.398 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.352e-06/1.352e-06, allocations: 0 / 0.5563 GB, free: 248 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.306e-05, allocations: 2.312 kB / 0.5563 GB, free: 244 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006394/0.006417, allocations: 5.303 MB / 0.5615 GB, free: 10.91 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3385/0.345, allocations: 144.1 MB / 0.7023 GB, free: 6.645 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001115/0.3461, allocations: 31.69 kB / 0.7023 GB, free: 6.613 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008211/0.3469, allocations: 377.3 kB / 0.7026 GB, free: 6.242 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00171/0.3486, allocations: 0.6112 MB / 0.7032 GB, free: 5.645 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001665/0.3503, allocations: 0.903 MB / 0.7041 GB, free: 4.766 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001419/0.3517, allocations: 1.616 MB / 0.7057 GB, free: 3.145 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007277/0.3524, allocations: 479.1 kB / 0.7062 GB, free: 2.641 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001065/0.3535, allocations: 0.8575 MB / 0.707 GB, free: 1.781 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005689/0.354, allocations: 410.6 kB / 0.7074 GB, free: 1.379 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.3542, allocations: 128 kB / 0.7075 GB, free: 1.254 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001019/0.3552, allocations: 0.4936 MB / 0.708 GB, free: 0.7656 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0002197/0.3555, allocations: 330.8 kB / 0.7083 GB, free: 452 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0003132/0.3558, allocations: 414.8 kB / 0.7087 GB, free: 36 kB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.001842/0.3576, allocations: 1.37 MB / 0.71 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.3576, allocations: 3.938 kB / 0.71 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3576, allocations: 0 / 0.71 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.082e-05/0.3576, allocations: 0 / 0.71 GB, free: 14.66 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.002257/0.3599, allocations: 1.77 MB / 0.7118 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.3599, allocations: 8.75 kB / 0.7118 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001144/0.3611, allocations: 364 kB / 0.7121 GB, free: 12.48 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001083/0.3622, allocations: 0.8551 MB / 0.713 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.3622, allocations: 78.5 kB / 0.713 GB, free: 11.52 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.3623, allocations: 103.9 kB / 0.7131 GB, free: 11.41 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001066/0.3634, allocations: 0.9476 MB / 0.7141 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.3634, allocations: 0 / 0.7141 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.151e-05/0.3635, allocations: 40 kB / 0.7141 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.137e-05/0.3635, allocations: 24 kB / 0.7141 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009289/0.3645, allocations: 0.7032 MB / 0.7148 GB, free: 9.605 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002903/0.3674, allocations: 2.304 MB / 0.7171 GB, free: 7.258 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.368, allocations: 421.5 kB / 0.7175 GB, free: 6.84 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001954/0.3682, allocations: 141.5 kB / 0.7176 GB, free: 6.695 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.451e-05/0.3683, allocations: 24.64 kB / 0.7176 GB, free: 6.672 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004614/0.3687, allocations: 454.8 kB / 0.7181 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 2.174e-06/0.3687, allocations: 0 / 0.7181 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.001571/0.3703, allocations: 0.7231 MB / 0.7188 GB, free: 5.449 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.3704, allocations: 192.6 kB / 0.7189 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006137/0.371, allocations: 0.6904 MB / 0.7196 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.3711, allocations: 45.7 kB / 0.7197 GB, free: 4.457 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003688/0.3714, allocations: 0.5814 MB / 0.7202 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001807/0.3716, allocations: 265.7 kB / 0.7205 GB, free: 3.605 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000219/0.3718, allocations: 168.2 kB / 0.7206 GB, free: 3.43 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.372, allocations: 0.5042 MB / 0.7211 GB, free: 2.918 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002421/0.3722, allocations: 93.91 kB / 0.7212 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002966/0.3725, allocations: 337.7 kB / 0.7215 GB, free: 2.449 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004328/0.373, allocations: 313.2 kB / 0.7218 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.373, allocations: 0 / 0.7218 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001063/0.374, allocations: 0.5745 MB / 0.7224 GB, free: 1.543 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.374, allocations: 12.72 kB / 0.7224 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.374, allocations: 0.7812 kB / 0.7224 GB, free: 1.531 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005251/0.3746, allocations: 127.6 kB / 0.7225 GB, free: 1.402 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004236/0.375, allocations: 151.7 kB / 0.7227 GB, free: 1.254 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001575/0.3766, allocations: 1.879 MB / 0.7245 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003577/0.3769, allocations: 72.91 kB / 0.7246 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.377, allocations: 31.97 kB / 0.7246 GB, free: 15.15 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.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.0002366/0.3772, allocations: 202.5 kB / 0.7248 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.3774, allocations: 123.3 kB / 0.7249 GB, free: 14.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001263/0.3786, allocations: 0.7751 MB / 0.7257 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/0.3786, allocations: 8 kB / 0.7257 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3786, allocations: 3.984 kB / 0.7257 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.017e-06/0.3787, allocations: 3.984 kB / 0.7257 GB, free: 14.03 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006543/0.3793, allocations: 0.5324 MB / 0.7262 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.3793, allocations: 0 / 0.7262 GB, free: 13.47 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003767/0.3797, allocations: 143.8 kB / 0.7264 GB, free: 13.33 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004188/0.3801, allocations: 111.5 kB / 0.7265 GB, free: 13.21 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.404e-05/0.3802, allocations: 23.98 kB / 0.7265 GB, free: 13.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.3816, allocations: 1.894 MB / 0.7283 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3816, allocations: 3.984 kB / 0.7283 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001015/0.3827, allocations: 0.6842 MB / 0.729 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002835/0.3829, allocations: 203 kB / 0.7292 GB, free: 10.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.832e-05/0.383, allocations: 16 kB / 0.7292 GB, free: 10.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002827/0.3833, allocations: 36.11 kB / 0.7293 GB, free: 10.21 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.3834, allocations: 76.86 kB / 0.7293 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.992e-05/0.3835, allocations: 31.97 kB / 0.7294 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003573/0.3838, allocations: 434.7 kB / 0.7298 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.6e-07/0.3838, allocations: 0 / 0.7298 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0007601/0.3846, allocations: 358.9 kB / 0.7301 GB, free: 9.34 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.001365/0.386, allocations: 0.6188 MB / 0.7307 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0007933/0.3868, allocations: 0.5699 MB / 0.7313 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3868, allocations: 8.062 kB / 0.7313 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004654/0.3872, allocations: 436.9 kB / 0.7317 GB, free: 7.918 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00112/0.3883, allocations: 487.4 kB / 0.7322 GB, free: 7.496 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002677/0.391, allocations: 1.763 MB / 0.7339 GB, free: 5.695 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001712/0.3912, allocations: 219.6 kB / 0.7341 GB, free: 5.465 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0005783/0.3918, allocations: 223.6 kB / 0.7343 GB, free: 5.246 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009897/0.3928, allocations: 413.9 kB / 0.7347 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of SimCode: time 1.093e-06/0.3928, allocations: 0 / 0.7347 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of Templates: time 0.02609/0.4189, allocations: 19.23 MB / 0.7535 GB, free: 1.914 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.57256196718663]