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.797/1.797, allocations: 287.4 MB / 303.2 MB, free: 8.285 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.0009448/0.000945, allocations: 185.1 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 1.374/1.374, 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.0007602/0.0007603, allocations: 98.97 kB / 0.7438 GB, free: 6.449 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003915/0.0003916, allocations: 11.23 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1735, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.004239/0.1778, allocations: 4.188 MB / 0.9834 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.5183/0.6961, allocations: 136.7 MB / 1.117 GB, free: 1.602 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009492/0.6971, allocations: 22.03 kB / 1.117 GB, free: 1.594 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0008365/0.698, allocations: 252.7 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.001538/0.6995, allocations: 355.6 kB / 1.117 GB, free: 1.402 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001908/0.7014, allocations: 0.6134 MB / 1.118 GB, free: 1.344 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001469/0.7029, allocations: 1.18 MB / 1.119 GB, free: 1.133 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.704, allocations: 0.6964 MB / 1.12 GB, free: 0.9844 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005906/0.7046, allocations: 326.2 kB / 1.12 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005288/0.7051, allocations: 349.3 kB / 1.121 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001618/0.7053, allocations: 23.56 kB / 1.121 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007425/0.706, allocations: 267.5 kB / 1.121 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002066/0.7063, allocations: 177.8 kB / 1.121 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002284/0.7065, allocations: 216 kB / 1.121 GB, free: 16.64 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001381/0.7079, allocations: 1.226 MB / 1.122 GB, free: 16.54 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.7079, allocations: 0 / 1.122 GB, free: 16.54 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7079, allocations: 3.125 kB / 1.122 GB, free: 16.54 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.859e-05/0.7079, allocations: 3.938 kB / 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.001832/0.7098, allocations: 1.301 MB / 1.124 GB, free: 15.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.7098, allocations: 10.88 kB / 1.124 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008147/0.7106, allocations: 213.4 kB / 1.124 GB, free: 15.66 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001022/0.7117, allocations: 0.8509 MB / 1.125 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.7117, allocations: 68.59 kB / 1.125 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.436e-05/0.7118, allocations: 91.72 kB / 1.125 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001417/0.7133, allocations: 0.9536 MB / 1.126 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.7133, allocations: 0 / 1.126 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.759e-05/0.7134, allocations: 43.67 kB / 1.126 GB, free: 15.13 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.659e-05/0.7134, allocations: 30.03 kB / 1.126 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001473/0.7149, allocations: 1.113 MB / 1.127 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003791/0.7187, allocations: 2.689 MB / 1.13 GB, free: 14.26 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/0.7199, allocations: 0.703 MB / 1.13 GB, free: 14.22 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004342/0.7204, allocations: 274.4 kB / 1.131 GB, free: 14.21 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.926e-05/0.7205, allocations: 34.3 kB / 1.131 GB, free: 14.2 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006807/0.7212, allocations: 413.2 kB / 1.131 GB, free: 14.13 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 2.856e-06/0.7212, allocations: 0 / 1.131 GB, free: 14.13 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.002675/0.7239, allocations: 1.089 MB / 1.132 GB, free: 13.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.765e-05/0.724, allocations: 188.3 kB / 1.132 GB, free: 13.7 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001049/0.725, allocations: 0.7362 MB / 1.133 GB, free: 13.56 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/0.7251, allocations: 37.73 kB / 1.133 GB, free: 13.53 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003929/0.7255, allocations: 491.4 kB / 1.133 GB, free: 13.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002012/0.7257, allocations: 225.5 kB / 1.134 GB, free: 13.19 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.487e-05/0.7258, allocations: 15.22 kB / 1.134 GB, free: 13.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.7259, allocations: 332.3 kB / 1.134 GB, free: 12.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004366/0.7264, allocations: 233.1 kB / 1.134 GB, free: 12.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005086/0.7269, allocations: 327.1 kB / 1.135 GB, free: 12.82 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009751/0.7279, allocations: 0.5423 MB / 1.135 GB, free: 12.78 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.7279, allocations: 0 / 1.135 GB, free: 12.78 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001862/0.7298, allocations: 0.7805 MB / 1.136 GB, free: 12.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.7298, allocations: 4.844 kB / 1.136 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.163e-06/0.7298, allocations: 0.9688 kB / 1.136 GB, free: 12.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005744/0.7304, allocations: 83.94 kB / 1.136 GB, free: 12.65 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005884/0.731, allocations: 148.9 kB / 1.136 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/0.733, allocations: 1.536 MB / 1.138 GB, free: 11.33 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006961/0.7337, allocations: 89.2 kB / 1.138 GB, free: 11.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.691e-05/0.7338, allocations: 37.81 kB / 1.138 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.0004835/0.7343, allocations: 278 kB / 1.138 GB, free: 11.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001565/0.7344, allocations: 89.94 kB / 1.138 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002198/0.7366, allocations: 0.9853 MB / 1.139 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/0.7367, allocations: 3.766 kB / 1.139 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.7367, allocations: 0 / 1.139 GB, free: 10.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004033/0.7371, allocations: 284.6 kB / 1.139 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001426/0.7372, allocations: 17.81 kB / 1.139 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005601/0.7378, allocations: 62.03 kB / 1.139 GB, free: 10.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.7379, allocations: 60.17 kB / 1.139 GB, free: 10.81 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001795/0.7397, allocations: 0.8615 MB / 1.14 GB, free: 10.58 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001942/0.7417, allocations: 1.282 MB / 1.141 GB, free: 10.16 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004964/0.7422, allocations: 315.3 kB / 1.142 GB, free: 10.1 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007219/0.7429, allocations: 0.5085 MB / 1.142 GB, free: 9.934 MB / 0.698 GB Notification: Performance of Backend: time 4.01e-07/0.7429, allocations: 1.219 kB / 1.142 GB, free: 9.934 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002847/0.7458, allocations: 1.113 MB / 1.143 GB, free: 9.512 MB / 0.698 GB Notification: Performance of SimCode: time 0.004355/0.7502, allocations: 2.714 MB / 1.146 GB, free: 7.695 MB / 0.698 GB Notification: Performance of Templates: time 0.02923/0.7794, allocations: 15.43 MB / 1.161 GB, free: 15.93 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)