Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.838/2.838, allocations: 287.3 MB / 302.3 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001546/0.001546, allocations: 178.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.197/2.197, allocations: 205.4 MB / 0.6295 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001172/0.001172, allocations: 89.11 kB / 0.7428 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004989/0.0004991, allocations: 15.78 kB / 0.8656 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2234/0.2239, allocations: 115.3 MB / 0.9782 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006397/0.2304, allocations: 4.13 MB / 0.9822 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.9228/1.153, allocations: 127.5 MB / 1.107 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001405/1.155, allocations: 25.86 kB / 1.107 GB, free: 1.582 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009657/1.156, allocations: 88.72 kB / 1.107 GB, free: 1.535 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003951/1.16, allocations: 492 kB / 1.107 GB, free: 1.488 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004488/1.164, allocations: 0.6029 MB / 1.108 GB, free: 1.465 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.004161/1.168, allocations: 0.9673 MB / 1.109 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00316/1.172, allocations: 0.557 MB / 1.109 GB, free: 1.305 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001874/1.174, allocations: 333.5 kB / 1.11 GB, free: 1.215 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000974/1.175, allocations: 328.9 kB / 1.11 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002613/1.175, allocations: 22.78 kB / 1.11 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/1.176, allocations: 249 kB / 1.11 GB, free: 1.098 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003502/1.177, allocations: 180.9 kB / 1.11 GB, free: 1.055 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0004748/1.177, allocations: 218.7 kB / 1.111 GB, free: 16.98 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002904/1.18, allocations: 1.224 MB / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/1.18, allocations: 0 / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.016e-06/1.18, allocations: 1.094 kB / 1.112 GB, free: 16.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.557e-05/1.18, allocations: 0 / 1.112 GB, free: 16.89 MB / 0.698 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.004005/1.184, allocations: 1.311 MB / 1.113 GB, free: 16.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.03e-05/1.184, allocations: 13.53 kB / 1.113 GB, free: 16.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/1.186, allocations: 222.8 kB / 1.113 GB, free: 16 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/1.189, allocations: 0.8086 MB / 1.114 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/1.189, allocations: 69.86 kB / 1.114 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002807/1.189, allocations: 89.75 kB / 1.114 GB, free: 15.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003166/1.192, allocations: 0.9469 MB / 1.115 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.804e-05/1.192, allocations: 1.156 kB / 1.115 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/1.193, allocations: 45.84 kB / 1.115 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.064e-05/1.193, allocations: 23.28 kB / 1.115 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003691/1.196, allocations: 1.113 MB / 1.116 GB, free: 15.5 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007826/1.204, allocations: 2.694 MB / 1.119 GB, free: 14.64 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002258/1.206, allocations: 0.7069 MB / 1.12 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/1.207, allocations: 29.83 kB / 1.12 GB, free: 14.61 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001239/1.208, allocations: 418.9 kB / 1.12 GB, free: 14.52 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 4.028e-06/1.208, allocations: 0 / 1.12 GB, free: 14.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.004916/1.213, allocations: 1.089 MB / 1.121 GB, free: 14.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001781/1.213, allocations: 192.5 kB / 1.121 GB, free: 14.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/1.215, allocations: 0.7244 MB / 1.122 GB, free: 13.96 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002518/1.215, allocations: 41.17 kB / 1.122 GB, free: 13.93 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005906/1.216, allocations: 494.2 kB / 1.123 GB, free: 13.73 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000387/1.216, allocations: 229.6 kB / 1.123 GB, free: 13.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.772e-05/1.216, allocations: 11.88 kB / 1.123 GB, free: 13.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.216, allocations: 330.3 kB / 1.123 GB, free: 13.28 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008691/1.217, allocations: 212.2 kB / 1.123 GB, free: 13.28 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009162/1.218, allocations: 317.2 kB / 1.124 GB, free: 13.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008534/1.219, allocations: 262.9 kB / 1.124 GB, free: 13.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.77e-06/1.219, allocations: 0 / 1.124 GB, free: 13.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002943/1.222, allocations: 0.7252 MB / 1.125 GB, free: 13.07 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.078e-05/1.222, allocations: 13.3 kB / 1.125 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/1.222, allocations: 0 / 1.125 GB, free: 13.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009636/1.223, allocations: 85.97 kB / 1.125 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/1.224, allocations: 127.2 kB / 1.125 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003141/1.227, allocations: 1.558 MB / 1.126 GB, free: 11.73 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.229, allocations: 82.83 kB / 1.126 GB, free: 11.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001333/1.229, allocations: 25.25 kB / 1.126 GB, free: 11.7 MB / 0.698 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.0009234/1.23, allocations: 273.1 kB / 1.127 GB, free: 11.58 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003546/1.23, allocations: 94.33 kB / 1.127 GB, free: 11.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003902/1.234, allocations: 0.9841 MB / 1.128 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.932e-05/1.234, allocations: 11.09 kB / 1.128 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/1.234, allocations: 1.75 kB / 1.128 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.546e-05/1.234, allocations: 8.359 kB / 1.128 GB, free: 11.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/1.236, allocations: 0.9355 MB / 1.129 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-05/1.237, allocations: 3.859 kB / 1.129 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/1.238, allocations: 137.4 kB / 1.129 GB, free: 11.15 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009405/1.239, allocations: 87.02 kB / 1.129 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/1.239, allocations: 22.84 kB / 1.129 GB, free: 11.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002996/1.242, allocations: 1.574 MB / 1.13 GB, free: 9.828 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.242, allocations: 0 / 1.13 GB, free: 9.828 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003402/1.245, allocations: 0.8447 MB / 1.131 GB, free: 9.586 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/1.247, allocations: 283.6 kB / 1.132 GB, free: 9.391 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004999/1.247, allocations: 14.34 kB / 1.132 GB, free: 9.391 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001977/1.249, allocations: 72.66 kB / 1.132 GB, free: 9.371 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004684/1.25, allocations: 63.77 kB / 1.132 GB, free: 9.344 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000221/1.25, allocations: 26.83 kB / 1.132 GB, free: 9.34 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002294/1.252, allocations: 0.5095 MB / 1.132 GB, free: 9.172 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.022e-06/1.252, allocations: 4 kB / 1.132 GB, free: 9.168 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002818/1.255, allocations: 284.4 kB / 1.132 GB, free: 9.109 MB / 0.698 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.003176/1.258, allocations: 0.5518 MB / 1.133 GB, free: 8.867 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004156/1.263, allocations: 0.7206 MB / 1.134 GB, free: 8.645 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.146e-05/1.263, allocations: 1.344 kB / 1.134 GB, free: 8.645 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00248/1.265, allocations: 473.1 kB / 1.134 GB, free: 8.469 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004572/1.27, allocations: 382.3 kB / 1.135 GB, free: 8.344 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01211/1.282, allocations: 2.336 MB / 1.137 GB, free: 7.02 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001538/1.284, allocations: 1.09 MB / 1.138 GB, free: 6.148 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002703/1.286, allocations: 281.8 kB / 1.138 GB, free: 6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007966/1.287, allocations: 109.6 kB / 1.138 GB, free: 5.973 MB / 0.698 GB Notification: Performance of SimCode: time 1.703e-06/1.287, allocations: 0 / 1.138 GB, free: 5.973 MB / 0.698 GB Notification: Performance of Templates: time 0.06842/1.356, allocations: 14.41 MB / 1.152 GB, free: 14.71 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)