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.512/1.512, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.0009929/0.0009929, allocations: 176.8 kB / 366.7 MB, free: 1.637 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.342/1.342, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008775/0.0008778, allocations: 80.3 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.725e-05/1.759e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6697/0.6698, allocations: 116.3 MB / 0.9732 GB, free: 76.3 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.868/4.538, allocations: 2.073 GB / 3.046 GB, free: 11.65 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002191/4.538, allocations: 90.75 kB / 3.047 GB, free: 11.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.5822/5.12, allocations: 61.83 MB / 3.107 GB, free: 329.5 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.463e-06/5.12, allocations: 3.938 kB / 3.107 GB, free: 329.5 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001052/5.12, allocations: 29.34 kB / 3.107 GB, free: 329.4 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.001897/5.122, allocations: 1.206 MB / 3.108 GB, free: 328.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/5.122, allocations: 13.55 kB / 3.108 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008895/5.123, allocations: 218 kB / 3.108 GB, free: 328.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/5.124, allocations: 0.7717 MB / 3.109 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.43e-05/5.124, allocations: 30.12 kB / 3.109 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.959e-05/5.124, allocations: 52.97 kB / 3.109 GB, free: 328.1 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001493/5.126, allocations: 1.014 MB / 3.11 GB, free: 327.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001291/5.127, allocations: 0.7897 MB / 3.111 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.137e-05/5.127, allocations: 2.469 kB / 3.111 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.769e-05/5.127, allocations: 1.469 kB / 3.111 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.419e-05/5.127, allocations: 26.05 kB / 3.111 GB, free: 327.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003758/5.131, allocations: 2.517 MB / 3.113 GB, free: 326.1 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008984/5.132, allocations: 0.6401 MB / 3.114 GB, free: 325.8 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003241/5.132, allocations: 230.4 kB / 3.114 GB, free: 325.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.875e-05/5.132, allocations: 29.62 kB / 3.114 GB, free: 325.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005215/5.133, allocations: 381 kB / 3.115 GB, free: 325.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=69): time 2.174e-06/5.133, allocations: 3.938 kB / 3.115 GB, free: 325.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=69): time 0.001525/5.134, allocations: 0.6397 MB / 3.115 GB, free: 325.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.828e-05/5.135, allocations: 242.6 kB / 3.116 GB, free: 325 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008027/5.135, allocations: 0.6084 MB / 3.116 GB, free: 324.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 5.35e-05/5.135, allocations: 27.39 kB / 3.116 GB, free: 324.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002908/5.136, allocations: 497.2 kB / 3.117 GB, free: 324.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/5.136, allocations: 221.2 kB / 3.117 GB, free: 324.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/5.136, allocations: 0 / 3.117 GB, free: 324.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.75e-05/5.136, allocations: 327.5 kB / 3.117 GB, free: 323.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/5.136, allocations: 189.6 kB / 3.117 GB, free: 323.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003455/5.137, allocations: 283.4 kB / 3.118 GB, free: 323.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003462/5.137, allocations: 236 kB / 3.118 GB, free: 323.5 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/5.137, allocations: 0 / 3.118 GB, free: 323.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001338/5.138, allocations: 0.645 MB / 3.118 GB, free: 323.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/5.138, allocations: 5.156 kB / 3.118 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/5.138, allocations: 5.25 kB / 3.118 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005782/5.139, allocations: 79.27 kB / 3.119 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005474/5.14, allocations: 136.4 kB / 3.119 GB, free: 323.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001611/5.141, allocations: 1.458 MB / 3.12 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005521/5.142, allocations: 63.72 kB / 3.12 GB, free: 321.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.938e-05/5.142, allocations: 27.64 kB / 3.12 GB, free: 321.8 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 () * 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.0001713/5.142, allocations: 117.8 kB / 3.12 GB, free: 321.7 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/5.142, allocations: 89.41 kB / 3.12 GB, free: 321.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001972/5.144, allocations: 0.8931 MB / 3.121 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/5.144, allocations: 8.719 kB / 3.121 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/5.144, allocations: 6.328 kB / 3.121 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/5.144, allocations: 3.984 kB / 3.121 GB, free: 321.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/5.145, allocations: 0.8177 MB / 3.122 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.546e-06/5.145, allocations: 0 / 3.122 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005316/5.146, allocations: 141.1 kB / 3.122 GB, free: 320.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004707/5.146, allocations: 81.22 kB / 3.122 GB, free: 320.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.794e-05/5.146, allocations: 15.27 kB / 3.122 GB, free: 320.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001336/5.148, allocations: 1.506 MB / 3.124 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/5.148, allocations: 0 / 3.124 GB, free: 319.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001227/5.149, allocations: 0.7514 MB / 3.124 GB, free: 318.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003451/5.149, allocations: 298.6 kB / 3.125 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/5.149, allocations: 4 kB / 3.125 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004966/5.15, allocations: 45.55 kB / 3.125 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/5.15, allocations: 58.94 kB / 3.125 GB, free: 318.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.964e-05/5.15, allocations: 33.42 kB / 3.125 GB, free: 318.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0005217/5.151, allocations: 490.1 kB / 3.125 GB, free: 318.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.41e-07/5.151, allocations: 0 / 3.125 GB, free: 318.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0009977/5.152, allocations: 323 kB / 3.126 GB, free: 318 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) * 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.001635/5.153, allocations: 1.038 MB / 3.127 GB, free: 317.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009824/5.154, allocations: 0.6215 MB / 3.127 GB, free: 317.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/5.154, allocations: 4 kB / 3.127 GB, free: 317.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0005731/5.155, allocations: 430.5 kB / 3.128 GB, free: 317 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/5.156, allocations: 373.4 kB / 3.128 GB, free: 316.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003251/5.159, allocations: 1.46 MB / 3.13 GB, free: 316 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004439/5.16, allocations: 1.096 MB / 3.131 GB, free: 315.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0008263/5.161, allocations: 265.8 kB / 3.131 GB, free: 315 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/5.161, allocations: 98.16 kB / 3.131 GB, free: 315 MB / 0.948 GB Notification: Performance of SimCode: time 5.51e-07/5.161, allocations: 0 / 3.131 GB, free: 315 MB / 0.948 GB Notification: Performance of Templates: time 0.02348/5.184, allocations: 16.94 MB / 3.147 GB, free: 301.2 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)