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.00137/0.00137, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001444/0.001444, allocations: 173 kB / 23.49 MB, free: 1.059 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.9605/0.9605, allocations: 177.1 MB / 203.8 MB, free: 5.648 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.00168/0.00168, allocations: 233.6 kB / 260.5 MB, free: 12.9 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.8008/0.8008, allocations: 138.4 MB / 455.4 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 1.433e-06/1.433e-06, allocations: 0 / 0.555 GB, free: 0.8711 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.113e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8672 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005308/0.005329, allocations: 5.409 MB / 0.5603 GB, free: 11.43 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3247/0.33, allocations: 146.6 MB / 0.7034 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009513/0.3309, allocations: 35.69 kB / 0.7035 GB, free: 4.906 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.3316, allocations: 377.3 kB / 0.7038 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.3329, allocations: 0.5936 MB / 0.7044 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.3344, allocations: 0.8989 MB / 0.7053 GB, free: 3.078 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0009954/0.3354, allocations: 1.612 MB / 0.7069 GB, free: 1.461 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006001/0.336, allocations: 489.2 kB / 0.7073 GB, free: 0.9492 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006342/0.3366, allocations: 0.8146 MB / 0.7081 GB, free: 136 kB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004465/0.3371, allocations: 442.6 kB / 0.7085 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001456/0.3372, allocations: 135.9 kB / 0.7087 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006508/0.3378, allocations: 0.5051 MB / 0.7092 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002543/0.3381, allocations: 346.8 kB / 0.7095 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003584/0.3385, allocations: 434.8 kB / 0.7099 GB, free: 14.3 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.3399, allocations: 1.405 MB / 0.7113 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3399, allocations: 0 / 0.7113 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.252e-06/0.3399, allocations: 0 / 0.7113 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.023e-05/0.3399, allocations: 0 / 0.7113 GB, free: 12.89 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.002028/0.3419, allocations: 1.762 MB / 0.713 GB, free: 11.09 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.342, allocations: 20.62 kB / 0.713 GB, free: 11.07 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.3431, allocations: 363.4 kB / 0.7134 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.3442, allocations: 0.8532 MB / 0.7142 GB, free: 9.832 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.287e-05/0.3443, allocations: 74.56 kB / 0.7143 GB, free: 9.758 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.3444, allocations: 111.9 kB / 0.7144 GB, free: 9.648 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001274/0.3457, allocations: 1.079 MB / 0.7154 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.052e-05/0.3457, allocations: 0 / 0.7154 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.798e-05/0.3458, allocations: 47.98 kB / 0.7155 GB, free: 8.406 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.3458, allocations: 24 kB / 0.7155 GB, free: 8.383 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.347, allocations: 0.8192 MB / 0.7163 GB, free: 7.559 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002909/0.3499, allocations: 2.485 MB / 0.7187 GB, free: 5.02 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008517/0.3507, allocations: 469.6 kB / 0.7192 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002781/0.351, allocations: 158.8 kB / 0.7193 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.641e-05/0.3511, allocations: 24.64 kB / 0.7193 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000556/0.3516, allocations: 483.3 kB / 0.7198 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=78): time 2.114e-06/0.3516, allocations: 0 / 0.7198 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of matching and sorting (n=78): time 0.001832/0.3535, allocations: 0.8013 MB / 0.7206 GB, free: 3.047 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.3535, allocations: 192.6 kB / 0.7208 GB, free: 2.812 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007339/0.3543, allocations: 0.7175 MB / 0.7215 GB, free: 2.086 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.382e-05/0.3543, allocations: 45.7 kB / 0.7215 GB, free: 2.035 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003492/0.3547, allocations: 0.5698 MB / 0.7221 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001739/0.3549, allocations: 257.8 kB / 0.7223 GB, free: 1.203 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002107/0.3551, allocations: 172.2 kB / 0.7225 GB, free: 1.023 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.3552, allocations: 0.5043 MB / 0.723 GB, free: 0.5117 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002656/0.3555, allocations: 125.9 kB / 0.7231 GB, free: 400 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004024/0.3559, allocations: 361.8 kB / 0.7234 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006033/0.3565, allocations: 365.2 kB / 0.7238 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3565, allocations: 0 / 0.7238 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001163/0.3576, allocations: 0.6409 MB / 0.7244 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.3577, allocations: 4.625 kB / 0.7244 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3577, allocations: 0 / 0.7244 GB, free: 14.96 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004349/0.3581, allocations: 123.7 kB / 0.7245 GB, free: 14.84 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.3584, allocations: 163.7 kB / 0.7247 GB, free: 14.68 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.3596, allocations: 1.906 MB / 0.7266 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.3599, allocations: 67.59 kB / 0.7266 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.342e-05/0.3599, allocations: 39.97 kB / 0.7267 GB, free: 12.54 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.0002008/0.3601, allocations: 202.5 kB / 0.7269 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.3603, allocations: 127.3 kB / 0.727 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.3614, allocations: 0.8351 MB / 0.7278 GB, free: 11.37 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.3614, allocations: 8 kB / 0.7278 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.703e-06/0.3614, allocations: 0 / 0.7278 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.3614, allocations: 3.984 kB / 0.7278 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005811/0.362, allocations: 0.6687 MB / 0.7285 GB, free: 10.65 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.362, allocations: 11.94 kB / 0.7285 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002803/0.3623, allocations: 131.8 kB / 0.7286 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003398/0.3627, allocations: 123.5 kB / 0.7287 GB, free: 10.39 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.3627, allocations: 23.98 kB / 0.7287 GB, free: 10.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001045/0.3637, allocations: 1.922 MB / 0.7306 GB, free: 8.312 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3637, allocations: 6.781 kB / 0.7306 GB, free: 8.309 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009505/0.3647, allocations: 0.7389 MB / 0.7313 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002361/0.3649, allocations: 211 kB / 0.7315 GB, free: 7.336 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.254e-05/0.365, allocations: 23.94 kB / 0.7316 GB, free: 7.312 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002347/0.3652, allocations: 48.09 kB / 0.7316 GB, free: 7.266 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001053/0.3653, allocations: 72.8 kB / 0.7317 GB, free: 7.195 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.3654, allocations: 39.97 kB / 0.7317 GB, free: 7.156 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003635/0.3657, allocations: 474.9 kB / 0.7322 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of sort global known variables: time 5e-08/0.3657, allocations: 0 / 0.7322 GB, free: 6.695 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0005058/0.3662, allocations: 358.9 kB / 0.7325 GB, free: 6.344 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.001209/0.3675, allocations: 0.6186 MB / 0.7331 GB, free: 5.969 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008524/0.3683, allocations: 0.6325 MB / 0.7337 GB, free: 5.32 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3683, allocations: 0 / 0.7337 GB, free: 5.32 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004266/0.3687, allocations: 468.9 kB / 0.7342 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008566/0.3696, allocations: 0.4905 MB / 0.7347 GB, free: 4.402 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002234/0.3718, allocations: 1.784 MB / 0.7364 GB, free: 2.578 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000132/0.372, allocations: 215.7 kB / 0.7366 GB, free: 2.348 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0004905/0.3724, allocations: 275.2 kB / 0.7369 GB, free: 2.074 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001771/0.3726, allocations: 112.5 kB / 0.737 GB, free: 1.961 MB / 0.5417 GB Notification: Performance of SimCode: time 8.62e-07/0.3726, allocations: 0 / 0.737 GB, free: 1.961 MB / 0.5417 GB Notification: Performance of Templates: time 0.01895/0.3916, allocations: 17.78 MB / 0.7543 GB, free: 472 kB / 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.53827097103931]