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 1.745/1.745, allocations: 287.5 MB / 302.6 MB, free: 8.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.001505/0.001506, allocations: 181.3 kB / 371.2 MB, free: 10.78 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.692/1.692, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0008541/0.0008544, allocations: 98.88 kB / 0.7432 GB, free: 6.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003768, allocations: 19.48 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.199/0.1994, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005298/0.2047, allocations: 4.192 MB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5493/0.7541, allocations: 136.7 MB / 1.116 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005026/0.7546, allocations: 21.62 kB / 1.116 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005934/0.7552, allocations: 253 kB / 1.117 GB, free: 1.5 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getHeaderElementTMY3.mo:2:1-105:25:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLongitudeTMY3.mo:2:1-48:21:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLongitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getLatitudeTMY3.mo:2:1-48:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getLatitudeTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/BoundaryConditions/WeatherData/BaseClasses/getTimeZoneTMY3.mo:2:1-47:20:writable] Warning: Pure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getTimeZoneTMY3‘ contains a call to impure function ‘Buildings.BoundaryConditions.WeatherData.BaseClasses.getHeaderElementTMY3‘. Notification: Performance of NFTyping.typeBindings: time 0.00106/0.7563, allocations: 357.2 kB / 1.117 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001554/0.7578, allocations: 0.6061 MB / 1.117 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.759, allocations: 1.186 MB / 1.119 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008829/0.7599, allocations: 0.6958 MB / 1.119 GB, free: 0.9883 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004898/0.7604, allocations: 325.8 kB / 1.12 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000389/0.7608, allocations: 355.7 kB / 1.12 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.735e-05/0.7609, allocations: 24.66 kB / 1.12 GB, free: 0.7734 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006842/0.7616, allocations: 263.6 kB / 1.12 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.7618, allocations: 186.7 kB / 1.12 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002027/0.762, allocations: 216.3 kB / 1.121 GB, free: 16.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001204/0.7632, allocations: 1.222 MB / 1.122 GB, free: 16.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.7633, allocations: 0 / 1.122 GB, free: 16.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.542e-06/0.7633, allocations: 0 / 1.122 GB, free: 16.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.945e-05/0.7633, allocations: 0 / 1.122 GB, free: 16.54 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.001834/0.7651, allocations: 1.3 MB / 1.123 GB, free: 15.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.015e-05/0.7652, allocations: 10.88 kB / 1.123 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008328/0.766, allocations: 213.6 kB / 1.123 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009966/0.767, allocations: 0.8568 MB / 1.124 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.535e-05/0.7671, allocations: 68.41 kB / 1.124 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.146e-05/0.7672, allocations: 88.84 kB / 1.124 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.7686, allocations: 0.9499 MB / 1.125 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.7686, allocations: 0 / 1.125 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.515e-05/0.7687, allocations: 41.41 kB / 1.125 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.807e-05/0.7687, allocations: 26.06 kB / 1.125 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001553/0.7703, allocations: 1.108 MB / 1.126 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003582/0.7739, allocations: 2.701 MB / 1.129 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001119/0.775, allocations: 0.702 MB / 1.13 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004184/0.7755, allocations: 276.7 kB / 1.13 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.818e-05/0.7755, allocations: 29.02 kB / 1.13 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000689/0.7762, allocations: 422.2 kB / 1.13 GB, free: 14.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 2.144e-06/0.7762, allocations: 0 / 1.13 GB, free: 14.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.002772/0.779, allocations: 1.08 MB / 1.131 GB, free: 13.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.7791, allocations: 193.5 kB / 1.132 GB, free: 13.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009072/0.7801, allocations: 0.7347 MB / 1.132 GB, free: 13.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.7801, allocations: 39.22 kB / 1.132 GB, free: 13.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/0.7805, allocations: 492.4 kB / 1.133 GB, free: 13.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001667/0.7807, allocations: 226.5 kB / 1.133 GB, free: 13.19 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.927e-05/0.7807, allocations: 11.97 kB / 1.133 GB, free: 13.19 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.7808, allocations: 332.5 kB / 1.133 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004114/0.7813, allocations: 236.7 kB / 1.134 GB, free: 12.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004893/0.7818, allocations: 316.2 kB / 1.134 GB, free: 12.83 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009934/0.7828, allocations: 0.546 MB / 1.134 GB, free: 12.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.7828, allocations: 3.938 kB / 1.134 GB, free: 12.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00165/0.7844, allocations: 0.7884 MB / 1.135 GB, free: 12.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.7845, allocations: 4.844 kB / 1.135 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.7845, allocations: 1.062 kB / 1.135 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.7851, allocations: 83.28 kB / 1.135 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00058/0.7857, allocations: 145.1 kB / 1.135 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001909/0.7876, allocations: 1.538 MB / 1.137 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006204/0.7882, allocations: 88.2 kB / 1.137 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.036e-05/0.7883, allocations: 34.55 kB / 1.137 GB, free: 11.29 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: 8 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0004269/0.7887, allocations: 284.5 kB / 1.137 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001317/0.7889, allocations: 91.25 kB / 1.137 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002106/0.791, allocations: 0.9766 MB / 1.138 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.791, allocations: 10.66 kB / 1.138 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.334e-06/0.791, allocations: 1.031 kB / 1.138 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.791, allocations: 2.438 kB / 1.138 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009955/0.792, allocations: 0.9285 MB / 1.139 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.792, allocations: 0 / 1.139 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005518/0.7926, allocations: 141.8 kB / 1.139 GB, free: 10.61 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000503/0.7931, allocations: 87.72 kB / 1.14 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.7931, allocations: 20.23 kB / 1.14 GB, free: 10.57 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001737/0.7949, allocations: 1.558 MB / 1.141 GB, free: 9.199 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.7949, allocations: 1.859 kB / 1.141 GB, free: 9.199 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001666/0.7966, allocations: 0.8457 MB / 1.142 GB, free: 8.941 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003339/0.7969, allocations: 282.3 kB / 1.142 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.797, allocations: 14.88 kB / 1.142 GB, free: 8.746 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005475/0.7976, allocations: 70.91 kB / 1.142 GB, free: 8.727 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.7977, allocations: 58.3 kB / 1.142 GB, free: 8.703 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-05/0.7978, allocations: 29.08 kB / 1.142 GB, free: 8.699 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000645/0.7984, allocations: 0.5136 MB / 1.143 GB, free: 8.531 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7984, allocations: 0 / 1.143 GB, free: 8.531 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007614/0.7992, allocations: 290.9 kB / 1.143 GB, free: 8.469 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.001092/0.8003, allocations: 0.5578 MB / 1.144 GB, free: 8.227 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00138/0.8017, allocations: 0.7494 MB / 1.144 GB, free: 8.004 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.8017, allocations: 0 / 1.144 GB, free: 8.004 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007927/0.8025, allocations: 486.3 kB / 1.145 GB, free: 7.816 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001464/0.804, allocations: 389.1 kB / 1.145 GB, free: 7.684 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003909/0.8079, allocations: 2.335 MB / 1.147 GB, free: 6.371 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006261/0.8086, allocations: 1.072 MB / 1.149 GB, free: 5.523 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008914/0.8095, allocations: 269.4 kB / 1.149 GB, free: 5.387 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002278/0.8097, allocations: 104.9 kB / 1.149 GB, free: 5.363 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.8097, allocations: 0 / 1.149 GB, free: 5.363 MB / 0.698 GB Notification: Performance of Templates: time 0.02393/0.8336, allocations: 14.44 MB / 1.163 GB, free: 14.09 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)