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.544/1.544, allocations: 288.4 MB / 304.3 MB, free: 8.121 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.001025/0.001025, allocations: 179.2 kB / 372.9 MB, free: 10.18 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.402/1.402, allocations: 205.4 MB / 0.6316 GB, free: 9.941 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.0007587/0.000759, allocations: 92 kB / 0.745 GB, free: 5.848 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.0003921, allocations: 19.16 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.236, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004761/0.2408, allocations: 4.188 MB / 0.9848 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6486/0.8895, allocations: 136.7 MB / 1.118 GB, free: 2.312 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006677/0.8902, allocations: 25.56 kB / 1.118 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006788/0.8909, allocations: 257.5 kB / 1.119 GB, free: 2.207 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.001285/0.8922, allocations: 352.5 kB / 1.119 GB, free: 2.113 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00175/0.8939, allocations: 0.6111 MB / 1.12 GB, free: 2.055 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001159/0.8951, allocations: 1.182 MB / 1.121 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009379/0.896, allocations: 0.7032 MB / 1.121 GB, free: 1.688 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000511/0.8966, allocations: 324.9 kB / 1.122 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003638/0.8969, allocations: 347.8 kB / 1.122 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.068e-05/0.897, allocations: 23.44 kB / 1.122 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000584/0.8976, allocations: 284.3 kB / 1.122 GB, free: 1.461 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.8978, allocations: 179.2 kB / 1.122 GB, free: 1.418 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0003572/0.8981, allocations: 460.8 kB / 1.123 GB, free: 17.21 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009855/0.8991, allocations: 1.229 MB / 1.124 GB, free: 17.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.8991, allocations: 3.938 kB / 1.124 GB, free: 17.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8992, allocations: 0 / 1.124 GB, free: 17.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.8992, allocations: 0 / 1.124 GB, free: 17.11 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.001789/0.901, allocations: 1.298 MB / 1.125 GB, free: 16.3 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.901, allocations: 12.27 kB / 1.125 GB, free: 16.3 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008287/0.9019, allocations: 214.4 kB / 1.126 GB, free: 16.23 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009802/0.9029, allocations: 0.8526 MB / 1.126 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.9029, allocations: 67.09 kB / 1.126 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.199e-05/0.903, allocations: 91.75 kB / 1.127 GB, free: 15.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001384/0.9044, allocations: 0.9542 MB / 1.128 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.024e-05/0.9044, allocations: 6.5 kB / 1.128 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.396e-05/0.9045, allocations: 39.25 kB / 1.128 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.903e-05/0.9045, allocations: 21.34 kB / 1.128 GB, free: 15.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001598/0.9061, allocations: 1.113 MB / 1.129 GB, free: 15.69 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003749/0.9099, allocations: 2.707 MB / 1.131 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001169/0.9111, allocations: 0.7039 MB / 1.132 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004811/0.9116, allocations: 270.4 kB / 1.132 GB, free: 14.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.607e-05/0.9117, allocations: 27.91 kB / 1.132 GB, free: 14.76 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007741/0.9125, allocations: 424.9 kB / 1.133 GB, free: 14.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 3.126e-06/0.9125, allocations: 0 / 1.133 GB, free: 14.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.002678/0.9152, allocations: 1.078 MB / 1.134 GB, free: 14.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.9153, allocations: 191.6 kB / 1.134 GB, free: 14.23 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009863/0.9163, allocations: 0.7353 MB / 1.135 GB, free: 13.99 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.244e-05/0.9163, allocations: 38.55 kB / 1.135 GB, free: 13.96 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.9167, allocations: 498.9 kB / 1.135 GB, free: 13.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.9169, allocations: 228.4 kB / 1.135 GB, free: 13.54 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.997e-05/0.9169, allocations: 10.97 kB / 1.135 GB, free: 13.54 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.917, allocations: 331 kB / 1.136 GB, free: 13.23 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004532/0.9175, allocations: 234.2 kB / 1.136 GB, free: 13.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005258/0.918, allocations: 319.4 kB / 1.136 GB, free: 13.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001001/0.919, allocations: 0.5474 MB / 1.137 GB, free: 13.01 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.9191, allocations: 0 / 1.137 GB, free: 13.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001766/0.9208, allocations: 0.7783 MB / 1.138 GB, free: 12.81 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.363e-05/0.9209, allocations: 13.58 kB / 1.138 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.9209, allocations: 4.906 kB / 1.138 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005958/0.9215, allocations: 85.2 kB / 1.138 GB, free: 12.76 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005921/0.9221, allocations: 145.1 kB / 1.138 GB, free: 12.73 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001976/0.9241, allocations: 1.529 MB / 1.139 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006525/0.9247, allocations: 87.83 kB / 1.139 GB, free: 11.31 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.9248, allocations: 31.64 kB / 1.139 GB, free: 11.3 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.0006256/0.9255, allocations: 283.4 kB / 1.14 GB, free: 11.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.9256, allocations: 91.5 kB / 1.14 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.9279, allocations: 0.9879 MB / 1.141 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.9279, allocations: 3.984 kB / 1.141 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.9279, allocations: 1.375 kB / 1.141 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000431/0.9283, allocations: 286 kB / 1.141 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.9284, allocations: 13.41 kB / 1.141 GB, free: 10.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005068/0.929, allocations: 68.98 kB / 1.141 GB, free: 10.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.9291, allocations: 59.19 kB / 1.141 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001811/0.9309, allocations: 0.8624 MB / 1.142 GB, free: 10.32 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001954/0.9329, allocations: 1.274 MB / 1.143 GB, free: 9.91 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005076/0.9334, allocations: 319.5 kB / 1.143 GB, free: 9.848 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007295/0.9342, allocations: 0.508 MB / 1.144 GB, free: 9.68 MB / 0.698 GB Notification: Performance of Backend: time 8.92e-07/0.9342, allocations: 0 / 1.144 GB, free: 9.68 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002878/0.937, allocations: 1.117 MB / 1.145 GB, free: 9.234 MB / 0.698 GB Notification: Performance of SimCode: time 0.003865/0.9409, allocations: 2.709 MB / 1.148 GB, free: 7.422 MB / 0.698 GB Notification: Performance of Templates: time 0.02518/0.9661, allocations: 15.61 MB / 1.163 GB, free: 15.58 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)