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.001045/0.001045, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001071/0.001071, allocations: 192.3 kB / 16.13 MB, free: 6.703 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.341/1.341, allocations: 205.1 MB / 222 MB, free: 4.793 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.646/1.646, allocations: 292.3 MB / 0.5484 GB, free: 13.68 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.001297/0.001298, allocations: 67.45 kB / 0.6708 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1884/0.1897, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation): time 0.005811/0.1955, allocations: 4.858 MB / 0.7874 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.6669/0.8624, allocations: 148.2 MB / 0.9321 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.8636, allocations: 26.25 kB / 0.9321 GB, free: 5.121 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0008208/0.8644, allocations: 275.2 kB / 0.9324 GB, free: 5.121 MB / 0.7325 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.001499/0.866, allocations: 374.5 kB / 0.9327 GB, free: 5.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001943/0.8679, allocations: 0.6953 MB / 0.9334 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001703/0.8696, allocations: 1.238 MB / 0.9346 GB, free: 5.094 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009394/0.8706, allocations: 0.7158 MB / 0.9353 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000691/0.8713, allocations: 413.8 kB / 0.9357 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005665/0.8718, allocations: 484.6 kB / 0.9362 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.872, allocations: 57.44 kB / 0.9362 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007847/0.8728, allocations: 331.2 kB / 0.9366 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002668/0.873, allocations: 244.1 kB / 0.9368 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005286/0.8736, allocations: 0.5294 MB / 0.9373 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001859/0.8754, allocations: 1.581 MB / 0.9388 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.8755, allocations: 0 / 0.9388 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.074e-06/0.8755, allocations: 0.6562 kB / 0.9388 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.331e-05/0.8755, allocations: 0 / 0.9388 GB, free: 4.855 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.002674/0.8782, allocations: 1.541 MB / 0.9404 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.8782, allocations: 15.16 kB / 0.9404 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009202/0.8791, allocations: 204.7 kB / 0.9406 GB, free: 19.96 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.8803, allocations: 0.8476 MB / 0.9414 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.813e-05/0.8804, allocations: 69.44 kB / 0.9415 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.664e-05/0.8805, allocations: 94.09 kB / 0.9415 GB, free: 19.63 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.8821, allocations: 0.9565 MB / 0.9425 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/0.8821, allocations: 1.875 kB / 0.9425 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.312e-05/0.8822, allocations: 43.7 kB / 0.9425 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.8822, allocations: 23.16 kB / 0.9425 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.8838, allocations: 1.108 MB / 0.9436 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003796/0.8877, allocations: 2.659 MB / 0.9462 GB, free: 18.66 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001201/0.8889, allocations: 0.7029 MB / 0.9469 GB, free: 18.63 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/0.8894, allocations: 272.2 kB / 0.9472 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 8.722e-05/0.8895, allocations: 29.22 kB / 0.9472 GB, free: 18.62 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008994/0.8904, allocations: 420.7 kB / 0.9476 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=69): time 2.645e-06/0.8904, allocations: 1.344 kB / 0.9476 GB, free: 18.55 MB / 0.7481 GB Notification: Performance of matching and sorting (n=69): time 0.002912/0.8933, allocations: 1.08 MB / 0.9487 GB, free: 18.33 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001026/0.8935, allocations: 190.4 kB / 0.9488 GB, free: 18.11 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001017/0.8945, allocations: 0.7363 MB / 0.9496 GB, free: 17.98 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 5.857e-05/0.8945, allocations: 40.91 kB / 0.9496 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003411/0.8949, allocations: 492.7 kB / 0.9501 GB, free: 17.74 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000155/0.8951, allocations: 231.5 kB / 0.9503 GB, free: 17.6 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002482/0.8953, allocations: 141.2 kB / 0.9504 GB, free: 17.57 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001254/0.8954, allocations: 334.9 kB / 0.9507 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/0.896, allocations: 236.6 kB / 0.951 GB, free: 17.27 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006641/0.8966, allocations: 316.7 kB / 0.9513 GB, free: 17.22 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/0.8979, allocations: 0.5445 MB / 0.9518 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.8979, allocations: 0.75 kB / 0.9518 GB, free: 17.18 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002134/0.9, allocations: 0.7801 MB / 0.9526 GB, free: 17.07 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.501e-05/0.9001, allocations: 5.875 kB / 0.9526 GB, free: 17.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.556e-06/0.9001, allocations: 2.609 kB / 0.9526 GB, free: 17.07 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006156/0.9007, allocations: 83.73 kB / 0.9527 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005851/0.9013, allocations: 140.5 kB / 0.9528 GB, free: 17.05 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001999/0.9033, allocations: 1.53 MB / 0.9543 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007023/0.904, allocations: 76.28 kB / 0.9544 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-05/0.9041, allocations: 39.23 kB / 0.9544 GB, free: 15.73 MB / 0.7481 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.0005571/0.9047, allocations: 284.1 kB / 0.9547 GB, free: 15.61 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001631/0.9049, allocations: 90.53 kB / 0.9547 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002175/0.907, allocations: 0.9784 MB / 0.9557 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.9071, allocations: 8.5 kB / 0.9557 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.9071, allocations: 1.094 kB / 0.9557 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.9071, allocations: 6.281 kB / 0.9557 GB, free: 15.44 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001157/0.9083, allocations: 0.9317 MB / 0.9566 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.017e-06/0.9083, allocations: 0 / 0.9566 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005421/0.9088, allocations: 132.9 kB / 0.9568 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005036/0.9093, allocations: 84.03 kB / 0.9568 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.302e-05/0.9094, allocations: 28.28 kB / 0.9569 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001871/0.9113, allocations: 1.557 MB / 0.9584 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.9113, allocations: 1.781 kB / 0.9584 GB, free: 13.89 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.9132, allocations: 0.8459 MB / 0.9592 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003575/0.9136, allocations: 263 kB / 0.9595 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001141/0.9137, allocations: 15.22 kB / 0.9595 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005036/0.9142, allocations: 57.34 kB / 0.9595 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.9143, allocations: 57.2 kB / 0.9596 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.937e-05/0.9144, allocations: 36.5 kB / 0.9596 GB, free: 13.57 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000735/0.9152, allocations: 0.5127 MB / 0.9601 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.532e-06/0.9152, allocations: 0 / 0.9601 GB, free: 13.48 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000911/0.9161, allocations: 290.5 kB / 0.9604 GB, free: 13.43 MB / 0.7481 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.0012/0.9173, allocations: 0.5617 MB / 0.9609 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001468/0.9188, allocations: 0.7478 MB / 0.9617 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.9188, allocations: 0 / 0.9617 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007886/0.9196, allocations: 479.3 kB / 0.9621 GB, free: 12.96 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001483/0.9211, allocations: 410.1 kB / 0.9625 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00393/0.925, allocations: 2.366 MB / 0.9648 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006351/0.9257, allocations: 1.075 MB / 0.9659 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0009494/0.9266, allocations: 272.4 kB / 0.9661 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002422/0.9269, allocations: 103.3 kB / 0.9662 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of SimCode: time 8.32e-07/0.9269, allocations: 0 / 0.9662 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of Templates: time 0.02298/0.9499, allocations: 14.93 MB / 0.9808 GB, free: 6.746 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Utilities.IO.SignalExchange.Examples.WeatherStation.makefile (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)