Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.843/1.843, allocations: 288.4 MB / 303.4 MB, free: 8.227 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.001111/0.001111, allocations: 179.2 kB / 372 MB, free: 10.28 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.875/1.875, allocations: 205.4 MB / 0.6307 GB, free: 9.895 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.0008761/0.0008765, allocations: 100.8 kB / 0.7441 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004478/0.0004478, allocations: 11.44 kB / 0.867 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2578/0.2582, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004483/0.2628, allocations: 4.196 MB / 0.9837 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.7443/1.007, allocations: 136.7 MB / 1.117 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008516/1.008, allocations: 26.42 kB / 1.117 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006838/1.009, allocations: 254.3 kB / 1.117 GB, free: 2.078 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.1-maint.8.0.x/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.001486/1.01, allocations: 357.5 kB / 1.118 GB, free: 1.98 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00213/1.012, allocations: 0.6036 MB / 1.118 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001473/1.014, allocations: 1.136 MB / 1.119 GB, free: 1.734 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008788/1.015, allocations: 0.5624 MB / 1.12 GB, free: 1.629 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006368/1.015, allocations: 325.1 kB / 1.12 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004188/1.016, allocations: 358.6 kB / 1.121 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 8.904e-05/1.016, allocations: 22.94 kB / 1.121 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007988/1.017, allocations: 268 kB / 1.121 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001879/1.017, allocations: 182.3 kB / 1.121 GB, free: 1.352 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002054/1.017, allocations: 216.4 kB / 1.121 GB, free: 1.277 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001276/1.018, allocations: 1.221 MB / 1.123 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/1.018, allocations: 2.906 kB / 1.123 GB, free: 1.18 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.402e-06/1.018, allocations: 4 kB / 1.123 GB, free: 1.176 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.831e-05/1.018, allocations: 0 / 1.123 GB, free: 1.176 MB / 0.6823 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.002257/1.021, allocations: 1.31 MB / 1.124 GB, free: 16.38 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/1.021, allocations: 9.406 kB / 1.124 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001029/1.022, allocations: 218.8 kB / 1.124 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001321/1.023, allocations: 0.8126 MB / 1.125 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.977e-05/1.023, allocations: 67.25 kB / 1.125 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001409/1.023, allocations: 92.23 kB / 1.125 GB, free: 15.97 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/1.025, allocations: 0.9525 MB / 1.126 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/1.025, allocations: 1.062 kB / 1.126 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.885e-05/1.025, allocations: 48.14 kB / 1.126 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/1.026, allocations: 27.36 kB / 1.126 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/1.027, allocations: 1.108 MB / 1.127 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004811/1.032, allocations: 2.697 MB / 1.13 GB, free: 14.93 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001206/1.033, allocations: 0.7052 MB / 1.13 GB, free: 14.88 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004514/1.034, allocations: 268.3 kB / 1.131 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.818e-05/1.034, allocations: 35.25 kB / 1.131 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007512/1.035, allocations: 422.7 kB / 1.131 GB, free: 14.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 2.084e-06/1.035, allocations: 0 / 1.131 GB, free: 14.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.002838/1.038, allocations: 1.083 MB / 1.132 GB, free: 14.58 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/1.038, allocations: 196.2 kB / 1.132 GB, free: 14.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009087/1.039, allocations: 0.7311 MB / 1.133 GB, free: 14.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.296e-05/1.039, allocations: 38.61 kB / 1.133 GB, free: 14.09 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000363/1.039, allocations: 494.5 kB / 1.134 GB, free: 13.84 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002007/1.039, allocations: 229.8 kB / 1.134 GB, free: 13.67 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/1.039, allocations: 16.41 kB / 1.134 GB, free: 13.67 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.039, allocations: 330.5 kB / 1.134 GB, free: 13.36 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004223/1.04, allocations: 239.8 kB / 1.134 GB, free: 13.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005295/1.04, allocations: 314.6 kB / 1.135 GB, free: 13.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/1.041, allocations: 277 kB / 1.135 GB, free: 13.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/1.041, allocations: 0 / 1.135 GB, free: 13.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001874/1.043, allocations: 0.7746 MB / 1.136 GB, free: 13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/1.043, allocations: 8.188 kB / 1.136 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/1.043, allocations: 9.906 kB / 1.136 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/1.043, allocations: 81.27 kB / 1.136 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/1.044, allocations: 150.3 kB / 1.136 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/1.046, allocations: 1.53 MB / 1.137 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000781/1.047, allocations: 82.97 kB / 1.137 GB, free: 11.51 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.797e-05/1.047, allocations: 35.28 kB / 1.137 GB, free: 11.5 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.0006892/1.048, allocations: 272.8 kB / 1.138 GB, free: 11.37 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/1.048, allocations: 94.69 kB / 1.138 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002594/1.051, allocations: 0.991 MB / 1.139 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/1.051, allocations: 8.312 kB / 1.139 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/1.051, allocations: 0 / 1.139 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.051, allocations: 5.453 kB / 1.139 GB, free: 11.02 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001635/1.052, allocations: 0.9325 MB / 1.14 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.199e-05/1.052, allocations: 1.25 kB / 1.14 GB, free: 10.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006036/1.053, allocations: 136 kB / 1.14 GB, free: 10.56 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005617/1.054, allocations: 87.11 kB / 1.14 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.108e-05/1.054, allocations: 23.38 kB / 1.14 GB, free: 10.52 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002049/1.056, allocations: 1.557 MB / 1.141 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/1.056, allocations: 1.219 kB / 1.141 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/1.058, allocations: 0.8428 MB / 1.142 GB, free: 8.898 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005654/1.058, allocations: 286.1 kB / 1.143 GB, free: 8.699 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/1.059, allocations: 20.08 kB / 1.143 GB, free: 8.695 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006058/1.059, allocations: 58.33 kB / 1.143 GB, free: 8.684 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001369/1.059, allocations: 64.75 kB / 1.143 GB, free: 8.656 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.408e-05/1.06, allocations: 34.91 kB / 1.143 GB, free: 8.648 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008909/1.06, allocations: 0.5061 MB / 1.143 GB, free: 8.48 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.11e-07/1.06, allocations: 1.312 kB / 1.143 GB, free: 8.48 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001229/1.062, allocations: 288.5 kB / 1.144 GB, free: 8.422 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.001361/1.063, allocations: 0.5598 MB / 1.144 GB, free: 8.148 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001731/1.065, allocations: 0.752 MB / 1.145 GB, free: 7.922 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/1.065, allocations: 0 / 1.145 GB, free: 7.922 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008855/1.066, allocations: 479.4 kB / 1.145 GB, free: 7.742 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001793/1.067, allocations: 390.5 kB / 1.146 GB, free: 7.621 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005027/1.073, allocations: 2.334 MB / 1.148 GB, free: 6.312 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008708/1.073, allocations: 1.076 MB / 1.149 GB, free: 5.453 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001026/1.074, allocations: 267 kB / 1.149 GB, free: 5.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002678/1.075, allocations: 108.1 kB / 1.149 GB, free: 5.293 MB / 0.698 GB Notification: Performance of SimCode: time 4.51e-07/1.075, allocations: 1.094 kB / 1.149 GB, free: 5.293 MB / 0.698 GB Notification: Performance of Templates: time 0.0301/1.105, allocations: 14.41 MB / 1.163 GB, free: 14.04 MB / 0.7136 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (rm -f Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1)