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 2.837/2.837, allocations: 287.5 MB / 302.4 MB, free: 8.301 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.001321/0.001321, allocations: 183.2 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.139/2.139, allocations: 205.4 MB / 0.6297 GB, free: 10.59 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.0008788/0.0008787, allocations: 92.66 kB / 0.743 GB, free: 6.602 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004856/0.0004858, allocations: 15.34 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2512/0.2517, allocations: 115.3 MB / 0.9784 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.006401/0.2582, allocations: 4.192 MB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.8671/1.125, allocations: 136.7 MB / 1.116 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001876/1.127, allocations: 26.19 kB / 1.116 GB, free: 1.52 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002161/1.129, allocations: 249.8 kB / 1.116 GB, free: 1.43 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.003651/1.133, allocations: 365.7 kB / 1.117 GB, free: 1.324 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.004988/1.138, allocations: 0.6161 MB / 1.117 GB, free: 1.258 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002842/1.141, allocations: 1.135 MB / 1.118 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001574/1.143, allocations: 0.5609 MB / 1.119 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001059/1.144, allocations: 324.9 kB / 1.119 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009327/1.145, allocations: 353.9 kB / 1.119 GB, free: 0.7617 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002966/1.145, allocations: 27.97 kB / 1.119 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001449/1.147, allocations: 266.5 kB / 1.12 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004207/1.147, allocations: 181.5 kB / 1.12 GB, free: 0.6992 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005244/1.148, allocations: 210.8 kB / 1.12 GB, free: 16.63 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/1.15, allocations: 1.225 MB / 1.121 GB, free: 16.53 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/1.151, allocations: 0 / 1.121 GB, free: 16.53 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.967e-06/1.151, allocations: 0.6094 kB / 1.121 GB, free: 16.53 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.951e-05/1.151, allocations: 0 / 1.121 GB, free: 16.53 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.004085/1.155, allocations: 1.312 MB / 1.123 GB, free: 15.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/1.155, allocations: 14.41 kB / 1.123 GB, free: 15.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001767/1.157, allocations: 211.5 kB / 1.123 GB, free: 15.65 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/1.159, allocations: 0.8154 MB / 1.124 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-05/1.159, allocations: 67.94 kB / 1.124 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003979/1.159, allocations: 91.84 kB / 1.124 GB, free: 15.32 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004546/1.164, allocations: 0.9561 MB / 1.125 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.616e-05/1.164, allocations: 7.891 kB / 1.125 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002366/1.164, allocations: 38.56 kB / 1.125 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.527e-05/1.165, allocations: 22.16 kB / 1.125 GB, free: 15.16 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004733/1.169, allocations: 1.114 MB / 1.126 GB, free: 15.14 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/1.18, allocations: 2.693 MB / 1.128 GB, free: 14.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002309/1.182, allocations: 0.7039 MB / 1.129 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009526/1.183, allocations: 267.1 kB / 1.129 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001476/1.184, allocations: 30.55 kB / 1.129 GB, free: 14.23 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001378/1.185, allocations: 423.8 kB / 1.13 GB, free: 14.16 MB / 0.698 GB Notification: Performance of pre-optimization done (n=69): time 4.548e-06/1.185, allocations: 0 / 1.13 GB, free: 14.16 MB / 0.698 GB Notification: Performance of matching and sorting (n=69): time 0.005048/1.19, allocations: 1.084 MB / 1.131 GB, free: 13.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001431/1.19, allocations: 189.4 kB / 1.131 GB, free: 13.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/1.192, allocations: 0.7324 MB / 1.132 GB, free: 13.59 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002427/1.192, allocations: 40.45 kB / 1.132 GB, free: 13.56 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000558/1.193, allocations: 492.9 kB / 1.132 GB, free: 13.36 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003915/1.193, allocations: 233.3 kB / 1.133 GB, free: 13.21 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.579e-05/1.193, allocations: 15.3 kB / 1.133 GB, free: 13.21 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001629/1.193, allocations: 329.9 kB / 1.133 GB, free: 12.9 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008279/1.194, allocations: 232.7 kB / 1.133 GB, free: 12.9 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001051/1.195, allocations: 323.4 kB / 1.133 GB, free: 12.85 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009862/1.196, allocations: 271 kB / 1.134 GB, free: 12.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.474e-06/1.196, allocations: 5.5 kB / 1.134 GB, free: 12.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003355/1.2, allocations: 0.7819 MB / 1.134 GB, free: 12.72 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.45e-05/1.2, allocations: 6.531 kB / 1.134 GB, free: 12.72 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.2, allocations: 0 / 1.134 GB, free: 12.72 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009973/1.201, allocations: 86.78 kB / 1.135 GB, free: 12.71 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/1.202, allocations: 139.4 kB / 1.135 GB, free: 12.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003215/1.205, allocations: 1.533 MB / 1.136 GB, free: 11.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001404/1.207, allocations: 90.05 kB / 1.136 GB, free: 11.36 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001934/1.207, allocations: 35.62 kB / 1.136 GB, free: 11.36 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.0009574/1.208, allocations: 274.5 kB / 1.137 GB, free: 11.24 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003361/1.209, allocations: 99.11 kB / 1.137 GB, free: 11.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003996/1.213, allocations: 0.9827 MB / 1.138 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/1.213, allocations: 8.469 kB / 1.138 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/1.213, allocations: 3.938 kB / 1.138 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/1.213, allocations: 3.922 kB / 1.138 GB, free: 11.05 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002156/1.215, allocations: 0.9342 MB / 1.139 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.716e-05/1.215, allocations: 4.953 kB / 1.139 GB, free: 10.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/1.216, allocations: 135.8 kB / 1.139 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009442/1.217, allocations: 86 kB / 1.139 GB, free: 10.64 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001634/1.217, allocations: 21.17 kB / 1.139 GB, free: 10.63 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002957/1.22, allocations: 1.56 MB / 1.14 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.215e-06/1.22, allocations: 0 / 1.14 GB, free: 9.262 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003414/1.224, allocations: 0.8452 MB / 1.141 GB, free: 9.012 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000833/1.225, allocations: 278.4 kB / 1.141 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/1.225, allocations: 19.12 kB / 1.141 GB, free: 8.816 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001066/1.226, allocations: 68.81 kB / 1.141 GB, free: 8.797 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000223/1.226, allocations: 59.88 kB / 1.141 GB, free: 8.773 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/1.226, allocations: 26.2 kB / 1.142 GB, free: 8.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001269/1.228, allocations: 0.5104 MB / 1.142 GB, free: 8.598 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.81e-07/1.228, allocations: 5.312 kB / 1.142 GB, free: 8.594 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001609/1.229, allocations: 286.7 kB / 1.142 GB, free: 8.535 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.001913/1.231, allocations: 0.5644 MB / 1.143 GB, free: 8.285 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002874/1.234, allocations: 0.7444 MB / 1.144 GB, free: 8.062 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.595e-06/1.234, allocations: 0 / 1.144 GB, free: 8.062 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/1.236, allocations: 477.6 kB / 1.144 GB, free: 7.883 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003252/1.239, allocations: 397.9 kB / 1.144 GB, free: 7.758 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009305/1.249, allocations: 2.34 MB / 1.147 GB, free: 6.441 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009832/1.25, allocations: 1.067 MB / 1.148 GB, free: 5.594 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001861/1.252, allocations: 279.2 kB / 1.148 GB, free: 5.449 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004909/1.252, allocations: 105.5 kB / 1.148 GB, free: 5.426 MB / 0.698 GB Notification: Performance of SimCode: time 3.387e-06/1.252, allocations: 0 / 1.148 GB, free: 5.426 MB / 0.698 GB Notification: Performance of Templates: time 0.06541/1.317, allocations: 14.39 MB / 1.162 GB, free: 14.18 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)