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.436/2.436, allocations: 287.5 MB / 303.2 MB, free: 8.324 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.001288/0.001288, allocations: 176.5 kB / 371.8 MB, free: 10.83 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.044/2.044, allocations: 205.4 MB / 0.6305 GB, free: 10.46 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.0008732/0.000873, allocations: 83.11 kB / 0.7438 GB, free: 6.457 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006223/0.0006224, allocations: 9.688 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2041/0.2048, allocations: 115.3 MB / 0.9793 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.386/6.591, allocations: 2.073 GB / 3.052 GB, free: 247.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/6.591, allocations: 95.95 kB / 3.052 GB, free: 247.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2268/6.818, allocations: 63.75 MB / 3.115 GB, free: 183.3 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.787e-06/6.818, allocations: 0 / 3.115 GB, free: 183.3 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001191/6.818, allocations: 35.88 kB / 3.115 GB, free: 183.2 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.002873/6.821, allocations: 1.335 MB / 3.116 GB, free: 181.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/6.821, allocations: 8.031 kB / 3.116 GB, free: 181.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001406/6.823, allocations: 211.2 kB / 3.116 GB, free: 181.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00172/6.824, allocations: 0.8112 MB / 3.117 GB, free: 180.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.721e-05/6.824, allocations: 74.36 kB / 3.117 GB, free: 180.7 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/6.825, allocations: 96.38 kB / 3.117 GB, free: 180.6 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/6.827, allocations: 0.954 MB / 3.118 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.159e-05/6.827, allocations: 4.188 kB / 3.118 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001294/6.827, allocations: 43.94 kB / 3.118 GB, free: 179.6 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.206e-05/6.827, allocations: 24 kB / 3.118 GB, free: 179.5 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/6.83, allocations: 1.116 MB / 3.119 GB, free: 178.4 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005555/6.835, allocations: 2.699 MB / 3.122 GB, free: 175.7 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001815/6.837, allocations: 0.7176 MB / 3.123 GB, free: 174.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007017/6.838, allocations: 270.4 kB / 3.123 GB, free: 174.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001054/6.838, allocations: 36.58 kB / 3.123 GB, free: 174.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009759/6.839, allocations: 417.8 kB / 3.123 GB, free: 174.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 3.567e-06/6.839, allocations: 0 / 3.123 GB, free: 174.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.004357/6.843, allocations: 1.085 MB / 3.124 GB, free: 173.1 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/6.843, allocations: 243.9 kB / 3.125 GB, free: 172.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001401/6.845, allocations: 0.8021 MB / 3.125 GB, free: 172 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001085/6.845, allocations: 41.7 kB / 3.125 GB, free: 171.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004183/6.845, allocations: 484 kB / 3.126 GB, free: 171.4 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002101/6.845, allocations: 236.6 kB / 3.126 GB, free: 171.2 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/6.846, allocations: 12 kB / 3.126 GB, free: 171.2 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.184e-05/6.846, allocations: 337.9 kB / 3.126 GB, free: 170.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006971/6.846, allocations: 213.2 kB / 3.127 GB, free: 170.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008656/6.847, allocations: 327.6 kB / 3.127 GB, free: 170.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001465/6.849, allocations: 0.5109 MB / 3.127 GB, free: 169.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/6.849, allocations: 4 kB / 3.127 GB, free: 169.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002682/6.851, allocations: 0.7235 MB / 3.128 GB, free: 169.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 4.866e-05/6.851, allocations: 4 kB / 3.128 GB, free: 169.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.105e-05/6.851, allocations: 4 kB / 3.128 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009745/6.852, allocations: 92.77 kB / 3.128 GB, free: 169 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009975/6.853, allocations: 127.8 kB / 3.128 GB, free: 168.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002512/6.856, allocations: 1.532 MB / 3.13 GB, free: 167.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/6.857, allocations: 79.44 kB / 3.13 GB, free: 167.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.322e-05/6.857, allocations: 28.05 kB / 3.13 GB, free: 167 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.0007208/6.858, allocations: 273.6 kB / 3.13 GB, free: 166.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002717/6.858, allocations: 98.81 kB / 3.13 GB, free: 166.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00352/6.862, allocations: 0.9879 MB / 3.131 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.241e-05/6.862, allocations: 8 kB / 3.131 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/6.862, allocations: 0 / 3.131 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.433e-05/6.862, allocations: 3.984 kB / 3.131 GB, free: 165.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001676/6.864, allocations: 0.9547 MB / 3.132 GB, free: 164.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/6.864, allocations: 0 / 3.132 GB, free: 164.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/6.865, allocations: 139.8 kB / 3.132 GB, free: 164.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008527/6.866, allocations: 84.77 kB / 3.132 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.36e-05/6.866, allocations: 23.98 kB / 3.132 GB, free: 164.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/6.868, allocations: 1.552 MB / 3.134 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/6.868, allocations: 0 / 3.134 GB, free: 162.7 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002798/6.871, allocations: 0.8568 MB / 3.135 GB, free: 161.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005298/6.871, allocations: 299.5 kB / 3.135 GB, free: 161.5 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002141/6.872, allocations: 16 kB / 3.135 GB, free: 161.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009374/6.873, allocations: 67.94 kB / 3.135 GB, free: 161.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001596/6.873, allocations: 52.92 kB / 3.135 GB, free: 161.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.01e-05/6.873, allocations: 31.98 kB / 3.135 GB, free: 161.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00101/6.874, allocations: 0.5692 MB / 3.136 GB, free: 160.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.31e-07/6.874, allocations: 0 / 3.136 GB, free: 160.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001283/6.875, allocations: 355 kB / 3.136 GB, free: 160.4 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.002163/6.877, allocations: 1.03 MB / 3.137 GB, free: 159.6 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002085/6.879, allocations: 0.7127 MB / 3.138 GB, free: 158.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/6.879, allocations: 4 kB / 3.138 GB, free: 158.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/6.881, allocations: 480.3 kB / 3.138 GB, free: 158.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002576/6.883, allocations: 392.7 kB / 3.139 GB, free: 158 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006515/6.89, allocations: 2.385 MB / 3.141 GB, free: 155.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/6.89, allocations: 1.07 MB / 3.142 GB, free: 154.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001429/6.892, allocations: 274.9 kB / 3.142 GB, free: 154.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003484/6.892, allocations: 99.39 kB / 3.142 GB, free: 154.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.484e-06/6.892, allocations: 0 / 3.142 GB, free: 154.1 MB / 0.948 GB Notification: Performance of Templates: time 0.04847/6.941, allocations: 21.94 MB / 3.164 GB, free: 132.3 MB / 0.948 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)