Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside.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.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000775/0.0007751, allocations: 84.22 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.0008659/0.0008661, 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.316/1.316, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.62/1.62, 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.0004612/0.0004612, allocations: 17.53 kB / 0.6737 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1997, allocations: 116.3 MB / 0.7873 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.5999/0.7997, allocations: 159.7 MB / 0.9432 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01355/0.8133, allocations: 9.771 MB / 0.9527 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.815, allocations: 26.31 kB / 0.9528 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001256/0.8163, allocations: 283.4 kB / 0.953 GB, free: 5.422 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.003425/0.8197, allocations: 0.7851 MB / 0.9538 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004421/0.8242, allocations: 1.224 MB / 0.955 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003621/0.8278, allocations: 2.153 MB / 0.9571 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002254/0.8301, allocations: 0.9926 MB / 0.9581 GB, free: 4.59 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003211/0.8333, allocations: 0.9013 MB / 0.959 GB, free: 4.398 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001036/0.8344, allocations: 0.5958 MB / 0.9595 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001445/0.8345, allocations: 40.66 kB / 0.9596 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.8369, allocations: 0.821 MB / 0.9604 GB, free: 4.18 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002759/0.8372, allocations: 286.4 kB / 0.9606 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003408/0.8376, allocations: 260.3 kB / 0.9609 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001992/0.8396, allocations: 1.622 MB / 0.9625 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8396, allocations: 0 / 0.9625 GB, free: 3.926 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.8396, allocations: 4 kB / 0.9625 GB, free: 3.922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 2.129e-05/0.8396, allocations: 0.9688 kB / 0.9625 GB, free: 3.922 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 279 * Number of variables: 279 Notification: Performance of Generate backend data structure: time 0.002913/0.8425, allocations: 1.479 MB / 0.9639 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.8426, allocations: 8.969 kB / 0.9639 GB, free: 19.05 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001982/0.8446, allocations: 353.6 kB / 0.9643 GB, free: 18.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001476/0.8461, allocations: 0.8734 MB / 0.9651 GB, free: 18.63 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.81e-05/0.8462, allocations: 85.25 kB / 0.9652 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001531/0.8463, allocations: 109.2 kB / 0.9653 GB, free: 18.62 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00205/0.8484, allocations: 1.215 MB / 0.9665 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.8484, allocations: 1.859 kB / 0.9665 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.8485, allocations: 46.75 kB / 0.9665 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.1e-05/0.8485, allocations: 26.12 kB / 0.9666 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002075/0.8506, allocations: 1.392 MB / 0.9679 GB, free: 18.41 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005725/0.8564, allocations: 3.713 MB / 0.9716 GB, free: 17.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001636/0.858, allocations: 1.126 MB / 0.9727 GB, free: 16.94 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006061/0.8586, allocations: 426 kB / 0.9731 GB, free: 16.87 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007317/0.8594, allocations: 438.6 kB / 0.9735 GB, free: 16.46 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008908/0.8603, allocations: 0.5811 MB / 0.974 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=97): time 2.424e-06/0.8603, allocations: 0 / 0.974 GB, free: 16.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=97): time 0.003497/0.8638, allocations: 1.493 MB / 0.9755 GB, free: 15.83 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/0.8639, allocations: 190.7 kB / 0.9757 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.865, allocations: 0.8169 MB / 0.9765 GB, free: 15.35 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 8.369e-05/0.8651, allocations: 45.27 kB / 0.9765 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003077/0.8654, allocations: 0.4924 MB / 0.977 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002072/0.8656, allocations: 327.4 kB / 0.9773 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.122e-05/0.8657, allocations: 24.09 kB / 0.9773 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.8658, allocations: 341.4 kB / 0.9777 GB, free: 14.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005485/0.8663, allocations: 351.9 kB / 0.978 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000621/0.867, allocations: 481.9 kB / 0.9785 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006528/0.8676, allocations: 411.5 kB / 0.9789 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.8676, allocations: 0 / 0.9789 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002006/0.8697, allocations: 1.09 MB / 0.9799 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8697, allocations: 2.906 kB / 0.9799 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.8697, allocations: 7.078 kB / 0.9799 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004863/0.8702, allocations: 91.27 kB / 0.98 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000811/0.871, allocations: 212 kB / 0.9802 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/0.8728, allocations: 1.541 MB / 0.9817 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009929/0.8738, allocations: 126.5 kB / 0.9818 GB, free: 12.49 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.185e-05/0.8739, allocations: 42.69 kB / 0.9819 GB, free: 12.48 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (116): * Single equations (assignments): 115 * 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.0006668/0.8746, allocations: 314.6 kB / 0.9822 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001609/0.8748, allocations: 106.7 kB / 0.9823 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002522/0.8773, allocations: 1.418 MB / 0.9837 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.8773, allocations: 9.406 kB / 0.9837 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.8774, allocations: 7 kB / 0.9837 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.8774, allocations: 3.984 kB / 0.9837 GB, free: 11.85 MB / 0.7325 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00388/0.8813, allocations: 2.643 MB / 0.9863 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.8813, allocations: 2.969 kB / 0.9863 GB, free: 10.77 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007618/0.882, allocations: 197.9 kB / 0.9865 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004182/0.8825, allocations: 82.73 kB / 0.9865 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.679e-05/0.8826, allocations: 34.59 kB / 0.9866 GB, free: 10.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001626/0.8842, allocations: 1.557 MB / 0.9881 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/0.8842, allocations: 3.312 kB / 0.9881 GB, free: 9.32 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/0.887, allocations: 1.723 MB / 0.9898 GB, free: 8.828 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006736/0.8877, allocations: 341.4 kB / 0.9901 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001772/0.8879, allocations: 24.25 kB / 0.9901 GB, free: 8.605 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007556/0.8887, allocations: 100.8 kB / 0.9902 GB, free: 8.574 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/0.8888, allocations: 71.39 kB / 0.9903 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.837e-05/0.8889, allocations: 43.34 kB / 0.9903 GB, free: 8.539 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0007706/0.8897, allocations: 0.5774 MB / 0.9909 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of sort global known variables: time 5.31e-07/0.8897, allocations: 0 / 0.9909 GB, free: 8.344 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001147/0.8908, allocations: 405.5 kB / 0.9913 GB, free: 8.277 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 102 * 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.001364/0.8922, allocations: 0.6599 MB / 0.9919 GB, free: 7.984 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001753/0.894, allocations: 1.011 MB / 0.9929 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/0.894, allocations: 1.75 kB / 0.9929 GB, free: 7.715 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009174/0.8949, allocations: 0.6153 MB / 0.9935 GB, free: 7.504 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00218/0.8971, allocations: 470.7 kB / 0.994 GB, free: 7.367 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005132/0.9023, allocations: 2.946 MB / 0.9968 GB, free: 5.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007418/0.903, allocations: 1.132 MB / 0.998 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001397/0.9044, allocations: 349.7 kB / 0.9983 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.9047, allocations: 127.3 kB / 0.9984 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of SimCode: time 9.31e-07/0.9047, allocations: 0 / 0.9984 GB, free: 4.598 MB / 0.7325 GB Notification: Performance of Templates: time 0.03227/0.937, allocations: 20.41 MB / 1.018 GB, free: 8.016 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) Environment - environmentSimulation: