Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 99.31 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.734/1.734, allocations: 205.4 MB / 222.1 MB, free: 5.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005255/0.0005255, allocations: 16.72 kB / 0.6735 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2826, allocations: 116.3 MB / 0.7871 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005481/0.2881, allocations: 4.15 MB / 0.7912 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6489/0.9371, allocations: 127.4 MB / 0.9156 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005813/0.9377, allocations: 21.72 kB / 0.9156 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.9381, allocations: 90.69 kB / 0.9157 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001232/0.9393, allocations: 492.5 kB / 0.9162 GB, free: 5.551 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001557/0.9409, allocations: 0.6072 MB / 0.9168 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001329/0.9422, allocations: 0.9641 MB / 0.9177 GB, free: 5.523 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009001/0.9431, allocations: 0.5694 MB / 0.9183 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005191/0.9436, allocations: 328.6 kB / 0.9186 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004274/0.9441, allocations: 330.3 kB / 0.9189 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.242e-05/0.9442, allocations: 22.31 kB / 0.9189 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006491/0.9448, allocations: 247.3 kB / 0.9192 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003082/0.9451, allocations: 180.4 kB / 0.9193 GB, free: 5.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005991/0.9457, allocations: 222 kB / 0.9195 GB, free: 21.39 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002086/0.9478, allocations: 1.222 MB / 0.9207 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.9478, allocations: 0 / 0.9207 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.157e-06/0.9479, allocations: 0.7969 kB / 0.9207 GB, free: 21.3 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.733e-05/0.9479, allocations: 0 / 0.9207 GB, free: 21.3 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 235 * Number of variables: 235 Notification: Performance of Generate backend data structure: time 0.002342/0.9502, allocations: 1.309 MB / 0.922 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.9503, allocations: 11.09 kB / 0.922 GB, free: 20.52 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008725/0.9512, allocations: 222.5 kB / 0.9222 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.9523, allocations: 0.8107 MB / 0.923 GB, free: 20.15 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.9524, allocations: 70.47 kB / 0.9231 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001001/0.9525, allocations: 90.62 kB / 0.9232 GB, free: 20.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.954, allocations: 0.9466 MB / 0.9241 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.954, allocations: 0.5625 kB / 0.9241 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.806e-05/0.9541, allocations: 39.56 kB / 0.9242 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.89e-05/0.9541, allocations: 27.48 kB / 0.9242 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001717/0.9558, allocations: 1.115 MB / 0.9253 GB, free: 19.98 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003959/0.9598, allocations: 2.682 MB / 0.9279 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001136/0.961, allocations: 0.7092 MB / 0.9286 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.473e-05/0.961, allocations: 32.5 kB / 0.9286 GB, free: 19.14 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007247/0.9618, allocations: 418.1 kB / 0.929 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=69): time 2.144e-06/0.9618, allocations: 0 / 0.929 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69): time 0.002695/0.9645, allocations: 1.086 MB / 0.9301 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.9646, allocations: 189.8 kB / 0.9303 GB, free: 18.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001063/0.9657, allocations: 0.731 MB / 0.931 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 6.755e-05/0.9658, allocations: 40.58 kB / 0.931 GB, free: 18.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003371/0.9661, allocations: 498.2 kB / 0.9315 GB, free: 18.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001476/0.9663, allocations: 224.2 kB / 0.9317 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.9663, allocations: 12.84 kB / 0.9317 GB, free: 18.13 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.9665, allocations: 331 kB / 0.932 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.9669, allocations: 221.4 kB / 0.9322 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004793/0.9674, allocations: 308.9 kB / 0.9325 GB, free: 17.74 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.9679, allocations: 263.6 kB / 0.9328 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.968, allocations: 0 / 0.9328 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001762/0.9697, allocations: 0.7349 MB / 0.9335 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.552e-05/0.9698, allocations: 8.156 kB / 0.9335 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.9698, allocations: 2.344 kB / 0.9335 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005912/0.9704, allocations: 91 kB / 0.9336 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005674/0.9709, allocations: 132.2 kB / 0.9337 GB, free: 17.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002213/0.9732, allocations: 1.543 MB / 0.9352 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007196/0.9739, allocations: 78.78 kB / 0.9353 GB, free: 16.29 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.142e-05/0.974, allocations: 28.77 kB / 0.9353 GB, free: 16.29 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0007455/0.9747, allocations: 274.6 kB / 0.9356 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001982/0.975, allocations: 91.97 kB / 0.9357 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.9775, allocations: 0.9927 MB / 0.9366 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.018e-05/0.9775, allocations: 7.281 kB / 0.9367 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.9776, allocations: 1.125 kB / 0.9367 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/0.9776, allocations: 6.188 kB / 0.9367 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001295/0.9789, allocations: 0.9419 MB / 0.9376 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.9789, allocations: 0 / 0.9376 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000589/0.9795, allocations: 142.4 kB / 0.9377 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005054/0.98, allocations: 81.72 kB / 0.9378 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.101e-05/0.9801, allocations: 25.78 kB / 0.9378 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001914/0.982, allocations: 1.572 MB / 0.9394 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.982, allocations: 0 / 0.9394 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001876/0.9839, allocations: 0.844 MB / 0.9402 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004976/0.9844, allocations: 282.7 kB / 0.9404 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.9845, allocations: 14.34 kB / 0.9405 GB, free: 14.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005443/0.9851, allocations: 74.91 kB / 0.9405 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001583/0.9853, allocations: 56.72 kB / 0.9406 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.832e-05/0.9853, allocations: 28.53 kB / 0.9406 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0008935/0.9862, allocations: 0.5121 MB / 0.9411 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4e-07/0.9862, allocations: 2.906 kB / 0.9411 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001309/0.9876, allocations: 291.5 kB / 0.9414 GB, free: 13.96 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001312/0.9889, allocations: 0.5496 MB / 0.9419 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001668/0.9906, allocations: 0.71 MB / 0.9426 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.9906, allocations: 1.094 kB / 0.9426 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009327/0.9915, allocations: 487.6 kB / 0.9431 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001631/0.9932, allocations: 377.1 kB / 0.9435 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00458/0.9978, allocations: 2.336 MB / 0.9457 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007688/0.9985, allocations: 1.097 MB / 0.9468 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001069/0.9996, allocations: 282.1 kB / 0.9471 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.9999, allocations: 100.9 kB / 0.9472 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of SimCode: time 1.132e-06/0.9999, allocations: 1.188 kB / 0.9472 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of Templates: time 0.02894/1.029, allocations: 14.41 MB / 0.9612 GB, free: 6.75 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) Environment - environmentSimulation: