Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001134/0.001134, 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.001123/0.001124, allocations: 193.8 kB / 16.13 MB, free: 6.66 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.537/1.537, allocations: 205.1 MB / 222 MB, free: 4.73 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.656/1.656, allocations: 251.6 MB / 0.5088 GB, free: 3.379 MB / 414.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.001531/0.001531, allocations: 64.47 kB / 0.6216 GB, free: 2.008 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5996/0.6012, allocations: 104.7 MB / 0.7238 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1826/0.7838, allocations: 173.6 MB / 0.8933 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01376/0.7976, allocations: 10.62 MB / 0.9037 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001363/0.799, allocations: 31.81 kB / 0.9037 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001207/0.8002, allocations: 309.9 kB / 0.904 GB, free: 3.918 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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 7.0.3-maint.7.0.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.002866/0.8032, allocations: 0.8823 MB / 0.9049 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003996/0.8072, allocations: 1.481 MB / 0.9063 GB, free: 1.562 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.5428/1.35, allocations: 2.535 MB / 0.9088 GB, free: 3.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002693/1.353, allocations: 1.266 MB / 0.9101 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005285/1.358, allocations: 1.091 MB / 0.9111 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002717/1.361, allocations: 0.7347 MB / 0.9118 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005231/1.361, allocations: 73.69 kB / 0.9119 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004713/1.366, allocations: 1.379 MB / 0.9133 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007055/1.367, allocations: 362.6 kB / 0.9136 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001417/1.368, allocations: 0.6494 MB / 0.9142 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005864/1.374, allocations: 2.326 MB / 0.9165 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/1.374, allocations: 5.094 kB / 0.9165 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.983e-06/1.374, allocations: 0 / 0.9165 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.977e-05/1.374, allocations: 0 / 0.9165 GB, free: 2.836 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005895/1.38, allocations: 1.754 MB / 0.9182 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/1.38, allocations: 8.5 kB / 0.9182 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002851/1.383, allocations: 343.5 kB / 0.9186 GB, free: 17.86 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/1.385, allocations: 0.9149 MB / 0.9194 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001529/1.385, allocations: 82.66 kB / 0.9195 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000279/1.386, allocations: 107.1 kB / 0.9196 GB, free: 17.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002834/1.389, allocations: 1.235 MB / 0.9208 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/1.389, allocations: 4.281 kB / 0.9208 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/1.389, allocations: 48.5 kB / 0.9209 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.244e-05/1.389, allocations: 31.5 kB / 0.9209 GB, free: 17.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/1.391, allocations: 1.388 MB / 0.9223 GB, free: 17.32 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.006372/1.398, allocations: 3.673 MB / 0.9259 GB, free: 16.05 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001936/1.4, allocations: 1.118 MB / 0.927 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007772/1.4, allocations: 414.7 kB / 0.9273 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008131/1.401, allocations: 427.4 kB / 0.9278 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001114/1.402, allocations: 0.5806 MB / 0.9283 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=97): time 3.446e-06/1.402, allocations: 6.906 kB / 0.9283 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=97): time 0.004194/1.407, allocations: 1.48 MB / 0.9298 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/1.407, allocations: 193.2 kB / 0.93 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00122/1.408, allocations: 0.8263 MB / 0.9308 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000133/1.408, allocations: 47.58 kB / 0.9308 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004101/1.409, allocations: 0.4947 MB / 0.9313 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/1.409, allocations: 333 kB / 0.9316 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/1.409, allocations: 198.4 kB / 0.9318 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.409, allocations: 339.4 kB / 0.9321 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/1.41, allocations: 346.1 kB / 0.9325 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007644/1.411, allocations: 476.2 kB / 0.9329 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001317/1.412, allocations: 0.8128 MB / 0.9337 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/1.412, allocations: 3.938 kB / 0.9337 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002406/1.414, allocations: 1.079 MB / 0.9348 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.247e-05/1.414, allocations: 4.938 kB / 0.9348 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.202e-05/1.414, allocations: 7.984 kB / 0.9348 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005821/1.415, allocations: 88.06 kB / 0.9349 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008958/1.416, allocations: 220.6 kB / 0.9351 GB, free: 13.81 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002005/1.418, allocations: 1.535 MB / 0.9366 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/1.419, allocations: 124.3 kB / 0.9367 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.705e-05/1.419, allocations: 42.97 kB / 0.9367 GB, free: 12.46 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 (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 (116): * Single equations (assignments): 115 * 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.0007289/1.42, allocations: 307.4 kB / 0.937 GB, free: 12.35 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002812/1.42, allocations: 118.9 kB / 0.9371 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002819/1.423, allocations: 1.399 MB / 0.9385 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/1.423, allocations: 10.12 kB / 0.9385 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.423, allocations: 0 / 0.9385 GB, free: 12.12 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.423, allocations: 10.23 kB / 0.9385 GB, free: 12.12 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.005115/1.428, allocations: 2.649 MB / 0.9411 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/1.428, allocations: 4.031 kB / 0.9411 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008612/1.429, allocations: 198.1 kB / 0.9413 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005254/1.43, allocations: 84 kB / 0.9414 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.732e-05/1.43, allocations: 31.02 kB / 0.9414 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/1.432, allocations: 1.555 MB / 0.9429 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/1.432, allocations: 7.875 kB / 0.9429 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003454/1.435, allocations: 1.711 MB / 0.9446 GB, free: 9.938 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008361/1.436, allocations: 324.5 kB / 0.9449 GB, free: 9.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003991/1.436, allocations: 26.41 kB / 0.9449 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/1.438, allocations: 86.02 kB / 0.945 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/1.438, allocations: 75.66 kB / 0.9451 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.438, allocations: 42.39 kB / 0.9451 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001103/1.439, allocations: 0.5863 MB / 0.9457 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.41e-07/1.439, allocations: 1.203 kB / 0.9457 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00181/1.441, allocations: 408.5 kB / 0.9461 GB, free: 9.59 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 (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.001972/1.443, allocations: 0.6682 MB / 0.9467 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002303/1.445, allocations: 1.005 MB / 0.9477 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/1.445, allocations: 0 / 0.9477 GB, free: 9.215 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001175/1.446, allocations: 0.6104 MB / 0.9483 GB, free: 9.098 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002704/1.449, allocations: 479 kB / 0.9488 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005752/1.455, allocations: 2.899 MB / 0.9516 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007624/1.456, allocations: 1.139 MB / 0.9527 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001744/1.457, allocations: 352.7 kB / 0.9531 GB, free: 6.762 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003672/1.458, allocations: 129.3 kB / 0.9532 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of SimCode: time 9.12e-07/1.458, allocations: 0 / 0.9532 GB, free: 6.75 MB / 0.7325 GB Notification: Performance of Templates: time 0.03951/1.497, allocations: 21.23 MB / 0.9739 GB, free: 444 kB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)