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.001048/0.001048, allocations: 91.22 kB / 15.06 MB, free: 1.098 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.001422/0.001422, allocations: 172.7 kB / 15.95 MB, free: 208 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.547/1.547, allocations: 205.4 MB / 222.1 MB, free: 5.66 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.587/1.587, allocations: 252 MB / 0.5102 GB, free: 4.781 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.0005695/0.0005696, allocations: 12 kB / 0.6243 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5698/0.5704, allocations: 106.4 MB / 0.7281 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.1894/0.7598, allocations: 159.8 MB / 0.8842 GB, free: 11.31 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.01448/0.7743, allocations: 9.846 MB / 0.8938 GB, free: 1.438 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001749/0.7761, allocations: 27.81 kB / 0.8938 GB, free: 1.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001087/0.7772, allocations: 281.9 kB / 0.8941 GB, free: 1.133 MB / 0.7012 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.003008/0.7803, allocations: 0.7917 MB / 0.8949 GB, free: 348 kB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004423/0.7847, allocations: 1.231 MB / 0.8961 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003301/0.788, allocations: 2.225 MB / 0.8982 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001696/0.7897, allocations: 1 MB / 0.8992 GB, free: 11.86 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002556/0.7923, allocations: 0.9259 MB / 0.9001 GB, free: 10.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001009/0.7933, allocations: 0.6027 MB / 0.9007 GB, free: 10.33 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001195/0.7934, allocations: 43.98 kB / 0.9008 GB, free: 10.29 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002334/0.7958, allocations: 0.8188 MB / 0.9016 GB, free: 9.465 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003384/0.7961, allocations: 306.8 kB / 0.9018 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003792/0.7965, allocations: 257 kB / 0.9021 GB, free: 8.906 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002232/0.7988, allocations: 1.633 MB / 0.9037 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.7988, allocations: 0 / 0.9037 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.315e-06/0.7988, allocations: 0 / 0.9037 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.74e-05/0.7988, allocations: 0 / 0.9037 GB, free: 7.27 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.002748/0.8016, allocations: 1.496 MB / 0.9051 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.8016, allocations: 12.03 kB / 0.9052 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.8037, allocations: 346 kB / 0.9055 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001463/0.8052, allocations: 0.8791 MB / 0.9063 GB, free: 4.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/0.8053, allocations: 86.17 kB / 0.9064 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000155/0.8054, allocations: 104 kB / 0.9065 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.8075, allocations: 1.234 MB / 0.9077 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.149e-05/0.8076, allocations: 4 kB / 0.9077 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.8077, allocations: 48 kB / 0.9078 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.8077, allocations: 24 kB / 0.9078 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00218/0.8099, allocations: 1.394 MB / 0.9092 GB, free: 1.48 MB / 0.7169 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.4981/1.308, allocations: 3.703 MB / 0.9128 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002109/1.31, allocations: 1.121 MB / 0.9139 GB, free: 179.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007475/1.311, allocations: 418.9 kB / 0.9143 GB, free: 179.7 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006751/1.312, allocations: 447.7 kB / 0.9147 GB, free: 179.3 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001121/1.313, allocations: 0.584 MB / 0.9153 GB, free: 179 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=97): time 2.154e-06/1.313, allocations: 0 / 0.9153 GB, free: 179 MB / 0.7169 GB Notification: Performance of matching and sorting (n=97): time 0.00385/1.317, allocations: 1.489 MB / 0.9167 GB, free: 178.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.221e-05/1.317, allocations: 192.7 kB / 0.9169 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001223/1.318, allocations: 0.8138 MB / 0.9177 GB, free: 177.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.805e-05/1.318, allocations: 50.92 kB / 0.9178 GB, free: 177.8 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004128/1.318, allocations: 0.4986 MB / 0.9182 GB, free: 177.5 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002587/1.319, allocations: 327.3 kB / 0.9186 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.172e-05/1.319, allocations: 19.44 kB / 0.9186 GB, free: 177.2 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.996e-05/1.319, allocations: 341.8 kB / 0.9189 GB, free: 176.9 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007202/1.32, allocations: 348.2 kB / 0.9192 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008219/1.32, allocations: 481.2 kB / 0.9197 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008456/1.321, allocations: 410.5 kB / 0.9201 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/1.321, allocations: 1.969 kB / 0.9201 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002564/1.324, allocations: 1.083 MB / 0.9211 GB, free: 176 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.746e-05/1.324, allocations: 6.312 kB / 0.9211 GB, free: 176 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/1.324, allocations: 4.25 kB / 0.9212 GB, free: 176 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005824/1.324, allocations: 84.73 kB / 0.9212 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001079/1.326, allocations: 217.8 kB / 0.9214 GB, free: 175.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002038/1.328, allocations: 1.54 MB / 0.9229 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009721/1.329, allocations: 127.8 kB / 0.9231 GB, free: 174.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.879e-05/1.329, allocations: 45.41 kB / 0.9231 GB, free: 174.4 MB / 0.7169 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.0005641/1.329, allocations: 320.1 kB / 0.9234 GB, free: 174.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/1.329, allocations: 109.3 kB / 0.9235 GB, free: 174.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002652/1.332, allocations: 1.411 MB / 0.9249 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/1.332, allocations: 9.625 kB / 0.9249 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/1.332, allocations: 4.594 kB / 0.9249 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.969e-06/1.332, allocations: 3.656 kB / 0.9249 GB, free: 173.6 MB / 0.7169 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.004125/1.336, allocations: 2.644 MB / 0.9275 GB, free: 172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/1.336, allocations: 3.969 kB / 0.9275 GB, free: 172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007671/1.337, allocations: 197.5 kB / 0.9277 GB, free: 172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004261/1.338, allocations: 90.27 kB / 0.9278 GB, free: 172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.166e-05/1.338, allocations: 27.8 kB / 0.9278 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001345/1.339, allocations: 1.558 MB / 0.9293 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/1.339, allocations: 3.938 kB / 0.9293 GB, free: 170.4 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002527/1.341, allocations: 1.722 MB / 0.931 GB, free: 169.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000423/1.342, allocations: 339.9 kB / 0.9313 GB, free: 169.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001401/1.342, allocations: 30.39 kB / 0.9314 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000731/1.343, allocations: 96.11 kB / 0.9315 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001218/1.343, allocations: 74.95 kB / 0.9315 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.626e-05/1.343, allocations: 44.41 kB / 0.9316 GB, free: 169 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006602/1.344, allocations: 0.5806 MB / 0.9321 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/1.344, allocations: 0 / 0.9321 GB, free: 168.7 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001093/1.345, allocations: 407.6 kB / 0.9325 GB, free: 168.6 MB / 0.7169 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.001317/1.346, allocations: 0.6526 MB / 0.9332 GB, free: 168.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001845/1.348, allocations: 1.017 MB / 0.9342 GB, free: 167.6 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/1.348, allocations: 0 / 0.9342 GB, free: 167.6 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0008635/1.349, allocations: 0.6099 MB / 0.9347 GB, free: 167 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/1.351, allocations: 474.3 kB / 0.9352 GB, free: 166.5 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/1.355, allocations: 2.951 MB / 0.9381 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004968/1.356, allocations: 1.134 MB / 0.9392 GB, free: 162.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00126/1.357, allocations: 365 kB / 0.9395 GB, free: 162 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002883/1.357, allocations: 123.4 kB / 0.9397 GB, free: 161.9 MB / 0.7169 GB Notification: Performance of SimCode: time 1.473e-06/1.357, allocations: 0 / 0.9397 GB, free: 161.9 MB / 0.7169 GB Notification: Performance of Templates: time 0.03164/1.389, allocations: 20.52 MB / 0.9597 GB, free: 141.7 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: