Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") translateModel(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007573/0.0007573, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004318/0.004318, allocations: 169.6 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.679/1.679, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005003/0.0005002, allocations: 20.72 kB / 0.6743 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.2136, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005067/0.2187, allocations: 4.434 MB / 0.7922 GB, free: 7.129 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.5824/0.8011, allocations: 146.6 MB / 0.9353 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005999/0.8018, allocations: 24.84 kB / 0.9354 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006198/0.8024, allocations: 278.8 kB / 0.9356 GB, free: 1.355 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.001076/0.8035, allocations: 373.5 kB / 0.936 GB, free: 1.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.805, allocations: 0.6923 MB / 0.9366 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009358/0.8059, allocations: 1.239 MB / 0.9379 GB, free: 1.012 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008111/0.8067, allocations: 0.7036 MB / 0.9385 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004528/0.8072, allocations: 335.4 kB / 0.9389 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004087/0.8076, allocations: 371.4 kB / 0.9392 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.256e-05/0.8077, allocations: 23.75 kB / 0.9392 GB, free: 0.8398 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005733/0.8083, allocations: 295.8 kB / 0.9395 GB, free: 0.8203 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001939/0.8085, allocations: 191.8 kB / 0.9397 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0004583/0.809, allocations: 494.3 kB / 0.9402 GB, free: 16.78 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001323/0.8103, allocations: 1.528 MB / 0.9417 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.8103, allocations: 0.625 kB / 0.9417 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.472e-06/0.8103, allocations: 0 / 0.9417 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.711e-05/0.8103, allocations: 0.5625 kB / 0.9417 GB, free: 16.68 MB / 0.7325 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.00204/0.8124, allocations: 1.294 MB / 0.9429 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.612e-05/0.8124, allocations: 10.12 kB / 0.9429 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009114/0.8134, allocations: 214.9 kB / 0.9432 GB, free: 15.8 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001119/0.8145, allocations: 0.8559 MB / 0.944 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.682e-05/0.8146, allocations: 68.91 kB / 0.9441 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.8147, allocations: 91.84 kB / 0.9441 GB, free: 15.44 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001619/0.8163, allocations: 0.962 MB / 0.9451 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.8163, allocations: 1.031 kB / 0.9451 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.185e-05/0.8164, allocations: 37.56 kB / 0.9451 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.047e-05/0.8165, allocations: 23.16 kB / 0.9451 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002003/0.8185, allocations: 1.117 MB / 0.9462 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004378/0.8229, allocations: 2.704 MB / 0.9489 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001236/0.8241, allocations: 0.7105 MB / 0.9496 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004969/0.8246, allocations: 276.3 kB / 0.9498 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.411e-05/0.8247, allocations: 32.31 kB / 0.9499 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007474/0.8255, allocations: 422.6 kB / 0.9503 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=69): time 2.605e-06/0.8255, allocations: 0 / 0.9503 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69): time 0.002838/0.8283, allocations: 1.087 MB / 0.9513 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001201/0.8285, allocations: 196.3 kB / 0.9515 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009941/0.8295, allocations: 0.7466 MB / 0.9522 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/0.8296, allocations: 36.58 kB / 0.9523 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003932/0.83, allocations: 489.5 kB / 0.9527 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002034/0.8302, allocations: 227.8 kB / 0.953 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.268e-05/0.8303, allocations: 61.28 kB / 0.953 GB, free: 13.31 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.8304, allocations: 330.7 kB / 0.9533 GB, free: 13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004664/0.8309, allocations: 242.4 kB / 0.9536 GB, free: 13 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/0.8314, allocations: 315.7 kB / 0.9539 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009385/0.8324, allocations: 0.556 MB / 0.9544 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.8324, allocations: 0.9688 kB / 0.9544 GB, free: 12.9 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00179/0.8342, allocations: 0.7879 MB / 0.9552 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/0.8342, allocations: 5.219 kB / 0.9552 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.8342, allocations: 1.656 kB / 0.9552 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000583/0.8348, allocations: 82.66 kB / 0.9553 GB, free: 12.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005571/0.8354, allocations: 145.5 kB / 0.9554 GB, free: 12.76 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002184/0.8376, allocations: 1.529 MB / 0.9569 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007012/0.8383, allocations: 93.73 kB / 0.957 GB, free: 11.42 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.555e-05/0.8384, allocations: 38.55 kB / 0.957 GB, free: 11.41 MB / 0.7325 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005183/0.8389, allocations: 277.3 kB / 0.9573 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001362/0.8391, allocations: 94.17 kB / 0.9574 GB, free: 11.24 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002105/0.8412, allocations: 0.9815 MB / 0.9583 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.105e-05/0.8412, allocations: 8.406 kB / 0.9583 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.8412, allocations: 7.219 kB / 0.9583 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.8412, allocations: 2.25 kB / 0.9584 GB, free: 11.11 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001119/0.8423, allocations: 0.9281 MB / 0.9593 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.8423, allocations: 0 / 0.9593 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005074/0.8429, allocations: 136.3 kB / 0.9594 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004921/0.8434, allocations: 89.88 kB / 0.9595 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.255e-05/0.8434, allocations: 26.53 kB / 0.9595 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001712/0.8451, allocations: 1.551 MB / 0.961 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.8452, allocations: 0 / 0.961 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.8469, allocations: 0.8534 MB / 0.9618 GB, free: 9.395 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003367/0.8472, allocations: 280.5 kB / 0.9621 GB, free: 9.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.8473, allocations: 24.38 kB / 0.9621 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005125/0.8478, allocations: 66.67 kB / 0.9622 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.848, allocations: 60.92 kB / 0.9623 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.535e-05/0.848, allocations: 31.19 kB / 0.9623 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006613/0.8487, allocations: 0.5152 MB / 0.9628 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.71e-07/0.8487, allocations: 1.859 kB / 0.9628 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008462/0.8496, allocations: 294 kB / 0.9631 GB, free: 9.074 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001218/0.8508, allocations: 0.5518 MB / 0.9636 GB, free: 8.863 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001438/0.8522, allocations: 0.7519 MB / 0.9643 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.8523, allocations: 3.25 kB / 0.9643 GB, free: 8.648 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008008/0.8531, allocations: 490.6 kB / 0.9648 GB, free: 8.461 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.8547, allocations: 402 kB / 0.9652 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004143/0.8588, allocations: 2.439 MB / 0.9676 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.8594, allocations: 1.063 MB / 0.9686 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008153/0.8602, allocations: 273.4 kB / 0.9689 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002135/0.8605, allocations: 103.3 kB / 0.969 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of SimCode: time 5.41e-07/0.8605, allocations: 0 / 0.969 GB, free: 5.914 MB / 0.7325 GB Notification: Performance of Templates: time 0.02318/0.8836, allocations: 14.85 MB / 0.9835 GB, free: 14.48 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; mkfifo Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe >> ../files/Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.sim & ./Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.pipe 2>&1) Environment - environmentSimulation: