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.00108/0.00108, allocations: 89.06 kB / 19.65 MB, free: 280 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.001167/0.001167, allocations: 165 kB / 23.01 MB, free: 1.555 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 1.031/1.031, allocations: 177.1 MB / 203.4 MB, free: 5.621 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.001566/0.001566, allocations: 237 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.7407/0.7407, allocations: 138.4 MB / 455.2 MB, free: 1.512 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 2.024e-06/2.024e-06, allocations: 0 / 0.5551 GB, free: 0.5352 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.665e-05/2.867e-05, allocations: 6.25 kB / 0.5551 GB, free: 0.5273 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005824/0.005853, allocations: 5.432 MB / 0.5604 GB, free: 11.07 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3374/0.3432, allocations: 146.8 MB / 0.7038 GB, free: 4.469 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001074/0.3443, allocations: 35.69 kB / 0.7038 GB, free: 4.434 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007338/0.3451, allocations: 381.3 kB / 0.7042 GB, free: 4.059 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001582/0.3466, allocations: 0.5936 MB / 0.7048 GB, free: 3.477 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001583/0.3482, allocations: 0.9029 MB / 0.7056 GB, free: 2.598 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00115/0.3494, allocations: 1.612 MB / 0.7072 GB, free: 0.9805 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006292/0.35, allocations: 497.1 kB / 0.7077 GB, free: 472 kB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008686/0.3509, allocations: 0.8146 MB / 0.7085 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005387/0.3514, allocations: 434.6 kB / 0.7089 GB, free: 15.22 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001444/0.3516, allocations: 136 kB / 0.709 GB, free: 15.09 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008763/0.3524, allocations: 0.5011 MB / 0.7095 GB, free: 14.59 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000227/0.3527, allocations: 354.8 kB / 0.7099 GB, free: 14.24 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.353, allocations: 434.8 kB / 0.7103 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001565/0.3545, allocations: 1.405 MB / 0.7116 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3545, allocations: 0 / 0.7116 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.192e-06/0.3545, allocations: 0 / 0.7116 GB, free: 12.41 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.824e-05/0.3546, allocations: 4 kB / 0.7117 GB, free: 12.4 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.001914/0.3565, allocations: 1.762 MB / 0.7134 GB, free: 10.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3565, allocations: 12.75 kB / 0.7134 GB, free: 10.59 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008834/0.3574, allocations: 363.4 kB / 0.7137 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001235/0.3586, allocations: 0.8531 MB / 0.7146 GB, free: 9.352 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.27e-05/0.3587, allocations: 82.55 kB / 0.7146 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.085e-05/0.3588, allocations: 107.9 kB / 0.7147 GB, free: 9.164 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.3599, allocations: 1.075 MB / 0.7158 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.03e-05/0.3599, allocations: 0 / 0.7158 GB, free: 7.973 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.724e-05/0.3599, allocations: 48 kB / 0.7158 GB, free: 7.926 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.36, allocations: 24 kB / 0.7159 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009474/0.3609, allocations: 0.8231 MB / 0.7167 GB, free: 7.074 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002608/0.3635, allocations: 2.484 MB / 0.7191 GB, free: 4.535 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00075/0.3643, allocations: 465 kB / 0.7195 GB, free: 4.078 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002391/0.3645, allocations: 154.2 kB / 0.7197 GB, free: 3.922 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.133e-05/0.3646, allocations: 32.62 kB / 0.7197 GB, free: 3.891 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004936/0.3651, allocations: 476.5 kB / 0.7202 GB, free: 3.379 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 2.024e-06/0.3651, allocations: 4 kB / 0.7202 GB, free: 3.375 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.001562/0.3666, allocations: 0.8013 MB / 0.721 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.3667, allocations: 188.6 kB / 0.7211 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007467/0.3674, allocations: 0.7181 MB / 0.7218 GB, free: 1.605 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.391e-05/0.3675, allocations: 41.7 kB / 0.7219 GB, free: 1.559 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002953/0.3678, allocations: 0.5698 MB / 0.7224 GB, free: 0.9805 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.3679, allocations: 269.8 kB / 0.7227 GB, free: 0.7148 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001691/0.3681, allocations: 168.2 kB / 0.7229 GB, free: 0.5391 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.3682, allocations: 0.5082 MB / 0.7233 GB, free: 24 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002281/0.3684, allocations: 122 kB / 0.7235 GB, free: 15.9 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003115/0.3688, allocations: 365.4 kB / 0.7238 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004743/0.3692, allocations: 361.2 kB / 0.7242 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.3692, allocations: 0 / 0.7242 GB, free: 15.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0009545/0.3702, allocations: 0.6409 MB / 0.7248 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3702, allocations: 4 kB / 0.7248 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.3702, allocations: 0 / 0.7248 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004771/0.3707, allocations: 131.7 kB / 0.7249 GB, free: 14.34 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003448/0.371, allocations: 151.8 kB / 0.7251 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001365/0.3724, allocations: 1.906 MB / 0.7269 GB, free: 12.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003265/0.3727, allocations: 79.62 kB / 0.727 GB, free: 12.08 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.601e-05/0.3728, allocations: 31.97 kB / 0.727 GB, free: 12.05 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.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.0002423/0.373, allocations: 202.5 kB / 0.7272 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001289/0.3731, allocations: 127.3 kB / 0.7273 GB, free: 11.71 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001402/0.3745, allocations: 0.8332 MB / 0.7282 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.3746, allocations: 8 kB / 0.7282 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.615e-06/0.3746, allocations: 0 / 0.7282 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.829e-06/0.3746, allocations: 3.984 kB / 0.7282 GB, free: 10.87 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009025/0.3755, allocations: 0.6725 MB / 0.7288 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.3755, allocations: 3.938 kB / 0.7288 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004077/0.3759, allocations: 135.8 kB / 0.729 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004689/0.3764, allocations: 119.6 kB / 0.7291 GB, free: 9.906 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.004e-05/0.3764, allocations: 23.98 kB / 0.7291 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/0.3778, allocations: 1.921 MB / 0.731 GB, free: 7.836 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3778, allocations: 3.938 kB / 0.731 GB, free: 7.832 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001319/0.3791, allocations: 0.7429 MB / 0.7317 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003477/0.3795, allocations: 211 kB / 0.7319 GB, free: 6.855 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.152e-05/0.3796, allocations: 23.94 kB / 0.7319 GB, free: 6.832 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.3799, allocations: 49.53 kB / 0.732 GB, free: 6.785 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001412/0.38, allocations: 72.86 kB / 0.732 GB, free: 6.715 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.016e-05/0.3801, allocations: 36.11 kB / 0.7321 GB, free: 6.68 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0005046/0.3806, allocations: 478.9 kB / 0.7325 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1e-07/0.3806, allocations: 0 / 0.7325 GB, free: 6.215 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0008668/0.3815, allocations: 358.9 kB / 0.7329 GB, free: 5.863 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.001597/0.3831, allocations: 0.618 MB / 0.7335 GB, free: 5.484 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.001082/0.3842, allocations: 0.6284 MB / 0.7341 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.3842, allocations: 0 / 0.7341 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0005911/0.3848, allocations: 469.2 kB / 0.7345 GB, free: 4.359 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001212/0.386, allocations: 497.8 kB / 0.735 GB, free: 3.938 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003377/0.3893, allocations: 1.794 MB / 0.7368 GB, free: 2.105 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.3895, allocations: 219.7 kB / 0.737 GB, free: 1.871 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0006759/0.3902, allocations: 273.4 kB / 0.7372 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002417/0.3904, allocations: 116.4 kB / 0.7373 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of SimCode: time 1.272e-06/0.3904, allocations: 0 / 0.7373 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of Templates: time 0.02708/0.4175, allocations: 17.77 MB / 0.7547 GB, free: 15.98 MB / 0.573 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.811726266052574]