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/Buildings 8.1.1-maint.8.1.x/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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.588/1.588, allocations: 293 MB / 309 MB, free: 4.793 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.0009521/0.000952, allocations: 176.6 kB / 378.7 MB, free: 1.023 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.4 MB / 0.6383 GB, free: 9.102 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009084/0.0009083, allocations: 95.08 kB / 0.7527 GB, free: 62.27 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003435/0.0003436, allocations: 11.98 kB / 0.8768 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2249/0.2252, allocations: 116.4 MB / 0.9904 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.245/4.471, allocations: 2.074 GB / 3.065 GB, free: 142.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002496/4.471, allocations: 96.95 kB / 3.065 GB, free: 142.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1275/4.599, allocations: 63.77 MB / 3.127 GB, free: 78.32 MB / 0.948 GB Notification: Performance of FrontEnd: time 5.82e-06/4.599, allocations: 0.9375 kB / 3.127 GB, free: 78.32 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001726/4.599, allocations: 47.88 kB / 3.127 GB, free: 78.27 MB / 0.948 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.002922/4.602, allocations: 1.323 MB / 3.128 GB, free: 76.89 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/4.602, allocations: 8.031 kB / 3.128 GB, free: 76.88 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001063/4.603, allocations: 219.1 kB / 3.128 GB, free: 76.67 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/4.604, allocations: 0.8073 MB / 3.129 GB, free: 75.82 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.866e-05/4.604, allocations: 66.38 kB / 3.129 GB, free: 75.75 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/4.605, allocations: 88.38 kB / 3.129 GB, free: 75.67 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001589/4.606, allocations: 0.9579 MB / 3.13 GB, free: 74.67 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/4.606, allocations: 5.25 kB / 3.13 GB, free: 74.66 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.951e-05/4.606, allocations: 47.92 kB / 3.13 GB, free: 74.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/4.606, allocations: 24 kB / 3.13 GB, free: 74.59 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/4.608, allocations: 1.116 MB / 3.131 GB, free: 73.48 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003815/4.612, allocations: 2.705 MB / 3.134 GB, free: 70.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/4.613, allocations: 0.7176 MB / 3.135 GB, free: 69.97 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004012/4.613, allocations: 271.5 kB / 3.135 GB, free: 69.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.481e-05/4.613, allocations: 32.59 kB / 3.135 GB, free: 69.67 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006061/4.614, allocations: 425.7 kB / 3.136 GB, free: 69.23 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 3.557e-06/4.614, allocations: 0 / 3.136 GB, free: 69.23 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.00251/4.616, allocations: 1.081 MB / 3.137 GB, free: 68.12 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/4.616, allocations: 239.9 kB / 3.137 GB, free: 67.84 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000965/4.617, allocations: 0.7982 MB / 3.138 GB, free: 67.03 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.191e-05/4.618, allocations: 41.7 kB / 3.138 GB, free: 66.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002952/4.618, allocations: 491.9 kB / 3.138 GB, free: 66.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001317/4.618, allocations: 232.6 kB / 3.138 GB, free: 66.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/4.618, allocations: 12 kB / 3.138 GB, free: 66.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.561e-05/4.618, allocations: 330.5 kB / 3.139 GB, free: 65.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003611/4.618, allocations: 217.2 kB / 3.139 GB, free: 65.71 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004187/4.619, allocations: 323.7 kB / 3.139 GB, free: 65.37 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007813/4.62, allocations: 0.5187 MB / 3.14 GB, free: 64.84 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/4.62, allocations: 0 / 3.14 GB, free: 64.84 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001457/4.621, allocations: 0.7196 MB / 3.14 GB, free: 64.11 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/4.621, allocations: 11.94 kB / 3.14 GB, free: 64.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/4.621, allocations: 64 / 3.14 GB, free: 64.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005327/4.622, allocations: 92.7 kB / 3.14 GB, free: 64 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004816/4.622, allocations: 135.8 kB / 3.141 GB, free: 63.87 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001624/4.624, allocations: 1.532 MB / 3.142 GB, free: 62.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005692/4.624, allocations: 83.45 kB / 3.142 GB, free: 62.12 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.211e-05/4.624, allocations: 27.98 kB / 3.142 GB, free: 62.09 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (71): * Single equations (assignments): 70 * 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.0004912/4.625, allocations: 273.6 kB / 3.142 GB, free: 61.81 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/4.625, allocations: 94.81 kB / 3.143 GB, free: 61.72 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001899/4.627, allocations: 0.9838 MB / 3.144 GB, free: 60.72 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/4.627, allocations: 12 kB / 3.144 GB, free: 60.71 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/4.627, allocations: 0 / 3.144 GB, free: 60.71 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.797e-06/4.627, allocations: 3.984 kB / 3.144 GB, free: 60.71 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001087/4.628, allocations: 0.9659 MB / 3.144 GB, free: 59.69 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/4.628, allocations: 0 / 3.144 GB, free: 59.69 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004681/4.629, allocations: 139.8 kB / 3.145 GB, free: 59.55 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00044/4.629, allocations: 80.78 kB / 3.145 GB, free: 59.47 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.247e-05/4.629, allocations: 19.98 kB / 3.145 GB, free: 59.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/4.631, allocations: 1.567 MB / 3.146 GB, free: 57.75 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/4.631, allocations: 0 / 3.146 GB, free: 57.75 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001611/4.632, allocations: 0.849 MB / 3.147 GB, free: 56.88 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004268/4.633, allocations: 295.5 kB / 3.147 GB, free: 56.57 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/4.633, allocations: 19.94 kB / 3.147 GB, free: 56.55 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/4.633, allocations: 59.95 kB / 3.147 GB, free: 56.49 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001428/4.634, allocations: 60.91 kB / 3.147 GB, free: 56.43 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.722e-05/4.634, allocations: 36.05 kB / 3.148 GB, free: 56.39 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007904/4.634, allocations: 0.5654 MB / 3.148 GB, free: 55.84 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/4.634, allocations: 0 / 3.148 GB, free: 55.84 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.00109/4.635, allocations: 351 kB / 3.148 GB, free: 55.49 MB / 0.948 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.00208/4.638, allocations: 1.021 MB / 3.149 GB, free: 54.58 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001296/4.639, allocations: 0.7077 MB / 3.15 GB, free: 53.87 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/4.639, allocations: 4.125 kB / 3.15 GB, free: 53.86 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007234/4.64, allocations: 476.3 kB / 3.151 GB, free: 53.38 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001379/4.641, allocations: 394.7 kB / 3.151 GB, free: 53 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003771/4.645, allocations: 2.376 MB / 3.153 GB, free: 50.59 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005033/4.645, allocations: 1.07 MB / 3.154 GB, free: 49.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008346/4.646, allocations: 278.9 kB / 3.155 GB, free: 49.22 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/4.646, allocations: 99.39 kB / 3.155 GB, free: 49.12 MB / 0.948 GB Notification: Performance of SimCode: time 5.61e-07/4.646, allocations: 0 / 3.155 GB, free: 49.12 MB / 0.948 GB Notification: Performance of Templates: time 0.03265/4.679, allocations: 22.15 MB / 3.176 GB, free: 27.04 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (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)