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.0007899/0.00079, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.0007798/0.0007798, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.748/1.748, allocations: 205.4 MB / 222.1 MB, free: 5.645 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.804/1.804, allocations: 292.7 MB / 0.5499 GB, free: 14.58 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.0008026/0.0008026, allocations: 18.28 kB / 0.6737 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2965/0.2973, allocations: 116.3 MB / 0.7873 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005599/0.3029, allocations: 4.196 MB / 0.7914 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.7199/1.023, allocations: 136.7 MB / 0.9249 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001209/1.024, allocations: 25.53 kB / 0.9249 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0007892/1.025, allocations: 253.5 kB / 0.9251 GB, free: 5.348 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.001487/1.026, allocations: 365.7 kB / 0.9255 GB, free: 5.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002463/1.029, allocations: 0.607 MB / 0.9261 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001745/1.031, allocations: 1.139 MB / 0.9272 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00104/1.032, allocations: 0.5687 MB / 0.9277 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000579/1.032, allocations: 321.1 kB / 0.928 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005633/1.033, allocations: 362.4 kB / 0.9284 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 8.399e-05/1.033, allocations: 23.38 kB / 0.9284 GB, free: 4.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009307/1.034, allocations: 260.2 kB / 0.9287 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002601/1.034, allocations: 181 kB / 0.9288 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006632/1.035, allocations: 219.1 kB / 0.929 GB, free: 20.53 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00191/1.037, allocations: 1.22 MB / 0.9302 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/1.037, allocations: 2.625 kB / 0.9302 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.435e-06/1.037, allocations: 0 / 0.9302 GB, free: 20.43 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.359e-05/1.037, allocations: 2.734 kB / 0.9302 GB, free: 20.43 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.002223/1.039, allocations: 1.312 MB / 0.9315 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/1.039, allocations: 7.875 kB / 0.9315 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009163/1.04, allocations: 220.2 kB / 0.9317 GB, free: 19.55 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/1.041, allocations: 0.8072 MB / 0.9325 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.238e-05/1.041, allocations: 72.03 kB / 0.9326 GB, free: 19.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.783e-05/1.042, allocations: 91.84 kB / 0.9327 GB, free: 19.22 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001586/1.043, allocations: 0.9513 MB / 0.9336 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.876e-05/1.043, allocations: 3.938 kB / 0.9336 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.747e-05/1.043, allocations: 39.62 kB / 0.9337 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.941e-05/1.043, allocations: 27.98 kB / 0.9337 GB, free: 19.06 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/1.045, allocations: 1.112 MB / 0.9348 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/1.05, allocations: 2.684 MB / 0.9374 GB, free: 18.2 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001298/1.051, allocations: 0.7105 MB / 0.9381 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004778/1.051, allocations: 272.3 kB / 0.9383 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.738e-05/1.052, allocations: 30.66 kB / 0.9384 GB, free: 18.15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007288/1.052, allocations: 421.8 kB / 0.9388 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=69): time 2.365e-06/1.052, allocations: 0 / 0.9388 GB, free: 18.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69): time 0.002785/1.055, allocations: 1.078 MB / 0.9398 GB, free: 17.87 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002468/1.055, allocations: 192 kB / 0.94 GB, free: 17.64 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/1.057, allocations: 0.7446 MB / 0.9407 GB, free: 17.5 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.707e-05/1.057, allocations: 37.45 kB / 0.9408 GB, free: 17.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/1.057, allocations: 483.4 kB / 0.9412 GB, free: 17.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001977/1.057, allocations: 237.7 kB / 0.9415 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/1.058, allocations: 12.25 kB / 0.9415 GB, free: 17.12 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.058, allocations: 333.2 kB / 0.9418 GB, free: 16.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004641/1.058, allocations: 237.7 kB / 0.942 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005507/1.059, allocations: 317.9 kB / 0.9423 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005425/1.059, allocations: 278.4 kB / 0.9426 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/1.059, allocations: 0 / 0.9426 GB, free: 16.76 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00179/1.061, allocations: 0.7771 MB / 0.9433 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/1.061, allocations: 4.844 kB / 0.9433 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.111e-05/1.061, allocations: 1.031 kB / 0.9433 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005802/1.062, allocations: 88.5 kB / 0.9434 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/1.062, allocations: 147 kB / 0.9436 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/1.065, allocations: 1.527 MB / 0.9451 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006094/1.065, allocations: 89.97 kB / 0.9451 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.857e-05/1.065, allocations: 33.95 kB / 0.9452 GB, free: 15.28 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 ($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.0005225/1.066, allocations: 273.4 kB / 0.9454 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001257/1.066, allocations: 94.59 kB / 0.9455 GB, free: 15.11 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002122/1.068, allocations: 0.9862 MB / 0.9465 GB, free: 14.97 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.438e-06/1.068, allocations: 12.59 kB / 0.9465 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.068, allocations: 4 kB / 0.9465 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/1.068, allocations: 5.578 kB / 0.9465 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001277/1.069, allocations: 0.9368 MB / 0.9474 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.069, allocations: 1.031 kB / 0.9474 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005084/1.07, allocations: 136 kB / 0.9476 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004555/1.07, allocations: 86.92 kB / 0.9476 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.884e-05/1.071, allocations: 23.73 kB / 0.9477 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001789/1.072, allocations: 1.549 MB / 0.9492 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/1.072, allocations: 0.875 kB / 0.9492 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001639/1.074, allocations: 0.8465 MB / 0.95 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005192/1.074, allocations: 278.8 kB / 0.9503 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001043/1.075, allocations: 18.09 kB / 0.9503 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00049/1.075, allocations: 69.56 kB / 0.9504 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/1.075, allocations: 53.23 kB / 0.9504 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.369e-05/1.075, allocations: 30.61 kB / 0.9504 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007294/1.076, allocations: 0.516 MB / 0.9509 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.5e-07/1.076, allocations: 0 / 0.9509 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009468/1.077, allocations: 290.5 kB / 0.9512 GB, free: 12.93 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 (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.001196/1.078, allocations: 0.5602 MB / 0.9518 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001446/1.08, allocations: 0.7464 MB / 0.9525 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.08, allocations: 1.062 kB / 0.9525 GB, free: 12.56 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0008001/1.08, allocations: 483.2 kB / 0.953 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/1.082, allocations: 383 kB / 0.9533 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004528/1.087, allocations: 2.339 MB / 0.9556 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008885/1.087, allocations: 1.069 MB / 0.9566 GB, free: 10.58 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001083/1.089, allocations: 275.9 kB / 0.9569 GB, free: 10.49 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003003/1.089, allocations: 105.9 kB / 0.957 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of SimCode: time 1.263e-06/1.089, allocations: 5.312 kB / 0.957 GB, free: 10.48 MB / 0.7325 GB Notification: Performance of Templates: time 0.02891/1.118, allocations: 14.4 MB / 0.9711 GB, free: 4.59 MB / 0.7325 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: