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.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4-maint.8.1.x/package.mo): time 1.698/1.698, allocations: 292.6 MB / 307.5 MB, free: 5.188 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.001227/0.001227, allocations: 184 kB / 377.1 MB, free: 1.523 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.645/1.645, allocations: 205.4 MB / 0.6367 GB, free: 9.57 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.0007798/0.0007798, allocations: 92.59 kB / 0.751 GB, free: 62.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003113/0.0003114, allocations: 8 kB / 0.8748 GB, free: 11.34 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2707/0.2711, allocations: 116.3 MB / 0.9884 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.221/5.492, allocations: 2.074 GB / 3.062 GB, free: 145.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004131/5.492, allocations: 88.56 kB / 3.062 GB, free: 145.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.1579/5.65, allocations: 63.85 MB / 3.125 GB, free: 81.93 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.386e-06/5.65, allocations: 3.938 kB / 3.125 GB, free: 81.93 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001788/5.65, allocations: 35.94 kB / 3.125 GB, free: 81.89 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.00309/5.654, allocations: 1.351 MB / 3.126 GB, free: 80.48 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/5.654, allocations: 8.031 kB / 3.126 GB, free: 80.48 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/5.655, allocations: 218.2 kB / 3.126 GB, free: 80.26 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/5.657, allocations: 0.7756 MB / 3.127 GB, free: 79.45 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.127e-05/5.657, allocations: 66 kB / 3.127 GB, free: 79.38 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001856/5.657, allocations: 92 kB / 3.127 GB, free: 79.29 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/5.659, allocations: 0.9496 MB / 3.128 GB, free: 78.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/5.659, allocations: 0 / 3.128 GB, free: 78.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/5.659, allocations: 44 kB / 3.128 GB, free: 78.26 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.108e-05/5.659, allocations: 24 kB / 3.128 GB, free: 78.23 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001662/5.661, allocations: 1.116 MB / 3.129 GB, free: 77.11 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004548/5.665, allocations: 2.707 MB / 3.132 GB, free: 74.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/5.666, allocations: 0.7178 MB / 3.133 GB, free: 73.61 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001043/5.666, allocations: 36.58 kB / 3.133 GB, free: 73.57 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006566/5.667, allocations: 417.7 kB / 3.133 GB, free: 73.15 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 4.138e-06/5.667, allocations: 0 / 3.133 GB, free: 73.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.002574/5.67, allocations: 1.091 MB / 3.134 GB, free: 72.03 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.389e-05/5.67, allocations: 243.9 kB / 3.134 GB, free: 71.73 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009173/5.671, allocations: 0.7038 MB / 3.135 GB, free: 71.03 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 6.269e-05/5.671, allocations: 37.7 kB / 3.135 GB, free: 70.98 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002812/5.671, allocations: 488 kB / 3.136 GB, free: 70.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/5.671, allocations: 228.6 kB / 3.136 GB, free: 70.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/5.671, allocations: 16 kB / 3.136 GB, free: 70.26 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.929e-05/5.671, allocations: 329.9 kB / 3.136 GB, free: 69.93 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003613/5.672, allocations: 213.2 kB / 3.136 GB, free: 69.72 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004197/5.672, allocations: 323.7 kB / 3.137 GB, free: 69.38 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/5.672, allocations: 263.1 kB / 3.137 GB, free: 69.12 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/5.672, allocations: 0 / 3.137 GB, free: 69.12 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001494/5.674, allocations: 0.7234 MB / 3.138 GB, free: 68.39 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/5.674, allocations: 8 kB / 3.138 GB, free: 68.38 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/5.674, allocations: 0 / 3.138 GB, free: 68.38 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006188/5.675, allocations: 80.84 kB / 3.138 GB, free: 68.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005179/5.675, allocations: 135.8 kB / 3.138 GB, free: 68.16 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001715/5.677, allocations: 1.548 MB / 3.139 GB, free: 66.48 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/5.678, allocations: 75.53 kB / 3.139 GB, free: 66.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-05/5.678, allocations: 31.97 kB / 3.139 GB, free: 66.37 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.0004272/5.678, allocations: 277.7 kB / 3.14 GB, free: 66.09 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001441/5.678, allocations: 94.78 kB / 3.14 GB, free: 66 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001949/5.68, allocations: 0.9953 MB / 3.141 GB, free: 64.98 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/5.68, allocations: 8 kB / 3.141 GB, free: 64.98 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.457e-06/5.68, allocations: 0 / 3.141 GB, free: 64.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.828e-06/5.68, allocations: 7.984 kB / 3.141 GB, free: 64.97 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009514/5.681, allocations: 0.9581 MB / 3.142 GB, free: 63.96 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/5.681, allocations: 4 kB / 3.142 GB, free: 63.95 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000504/5.682, allocations: 139.8 kB / 3.142 GB, free: 63.82 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004925/5.682, allocations: 84.77 kB / 3.142 GB, free: 63.73 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/5.682, allocations: 19.98 kB / 3.142 GB, free: 63.71 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/5.684, allocations: 1.571 MB / 3.143 GB, free: 62 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/5.684, allocations: 64 / 3.143 GB, free: 62 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001508/5.685, allocations: 0.8489 MB / 3.144 GB, free: 61.13 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004065/5.686, allocations: 295.5 kB / 3.145 GB, free: 60.82 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001398/5.686, allocations: 20 kB / 3.145 GB, free: 60.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005553/5.686, allocations: 63.95 kB / 3.145 GB, free: 60.74 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/5.686, allocations: 60.91 kB / 3.145 GB, free: 60.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/5.687, allocations: 27.98 kB / 3.145 GB, free: 60.65 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006389/5.687, allocations: 0.5693 MB / 3.145 GB, free: 60.09 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/5.687, allocations: 0 / 3.145 GB, free: 60.09 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001013/5.688, allocations: 351 kB / 3.146 GB, free: 59.74 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.001849/5.69, allocations: 1.019 MB / 3.147 GB, free: 58.84 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001323/5.691, allocations: 0.716 MB / 3.147 GB, free: 58.12 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.313e-06/5.691, allocations: 4 kB / 3.147 GB, free: 58.11 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007207/5.692, allocations: 484.3 kB / 3.148 GB, free: 57.62 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/5.693, allocations: 386.3 kB / 3.148 GB, free: 57.25 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004036/5.698, allocations: 2.377 MB / 3.15 GB, free: 54.85 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/5.698, allocations: 1.09 MB / 3.152 GB, free: 53.73 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008851/5.699, allocations: 274.9 kB / 3.152 GB, free: 53.46 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/5.699, allocations: 99.39 kB / 3.152 GB, free: 53.36 MB / 0.948 GB Notification: Performance of SimCode: time 5.01e-07/5.699, allocations: 0 / 3.152 GB, free: 53.36 MB / 0.948 GB Notification: Performance of Templates: time 0.03252/5.732, allocations: 21.88 MB / 3.173 GB, free: 31.56 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)