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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.705/1.705, allocations: 292.3 MB / 308.1 MB, free: 4.27 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001198/0.001198, allocations: 188.1 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 205.1 MB / 0.6354 GB, free: 9.797 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009159/0.000916, allocations: 107.6 kB / 0.748 GB, free: 61.25 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001023/0.001024, allocations: 51.92 kB / 0.8703 GB, free: 13.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2228/0.2239, allocations: 114.5 MB / 0.9822 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.628/0.8519, allocations: 173.5 MB / 1.152 GB, free: 8.195 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.01506/0.867, allocations: 10.56 MB / 1.162 GB, free: 0.7266 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001838/0.8689, allocations: 27.09 kB / 1.162 GB, free: 0.7188 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001503/0.8704, allocations: 319.6 kB / 1.162 GB, free: 0.5273 MB / 0.7605 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.003678/0.8741, allocations: 0.8732 MB / 1.163 GB, free: 40 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.005112/0.8793, allocations: 1.462 MB / 1.165 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003034/0.8823, allocations: 2.476 MB / 1.167 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001737/0.8841, allocations: 1.255 MB / 1.168 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003617/0.8877, allocations: 1.091 MB / 1.169 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009384/0.8886, allocations: 0.7169 MB / 1.17 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001477/0.8888, allocations: 73.31 kB / 1.17 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00271/0.8915, allocations: 1.381 MB / 1.171 GB, free: 12.39 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.8918, allocations: 350.6 kB / 1.172 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0006349/0.8925, allocations: 0.6462 MB / 1.172 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002587/0.8951, allocations: 2.308 MB / 1.175 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.8951, allocations: 0 / 1.175 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 8.21e-07/0.8951, allocations: 4 kB / 1.175 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.8951, allocations: 0 / 1.175 GB, free: 10.94 MB / 0.7761 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.00293/0.8981, allocations: 1.741 MB / 1.176 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.8981, allocations: 9.031 kB / 1.176 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002045/0.9002, allocations: 353.6 kB / 1.177 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.9018, allocations: 0.8983 MB / 1.177 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.994e-05/0.9019, allocations: 82.77 kB / 1.178 GB, free: 9.105 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.9021, allocations: 112.3 kB / 1.178 GB, free: 9.07 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001968/0.904, allocations: 1.214 MB / 1.179 GB, free: 8.523 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.21e-05/0.9041, allocations: 3.938 kB / 1.179 GB, free: 8.52 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.9042, allocations: 48.53 kB / 1.179 GB, free: 8.484 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.86e-05/0.9042, allocations: 29.39 kB / 1.179 GB, free: 8.48 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.9062, allocations: 1.396 MB / 1.18 GB, free: 8.129 MB / 0.7761 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.005621/0.9119, allocations: 3.667 MB / 1.184 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001873/0.9138, allocations: 1.122 MB / 1.185 GB, free: 5.484 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006895/0.9145, allocations: 424 kB / 1.185 GB, free: 5.328 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007509/0.9152, allocations: 429.3 kB / 1.186 GB, free: 4.93 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.9163, allocations: 0.5854 MB / 1.186 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=97): time 3.747e-06/0.9163, allocations: 0 / 1.186 GB, free: 4.688 MB / 0.7761 GB Notification: Performance of matching and sorting (n=97): time 0.003877/0.9202, allocations: 1.482 MB / 1.188 GB, free: 4.094 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/0.9203, allocations: 190.3 kB / 1.188 GB, free: 3.875 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/0.9215, allocations: 0.8253 MB / 1.189 GB, free: 3.531 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001149/0.9216, allocations: 47.23 kB / 1.189 GB, free: 3.488 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003969/0.9221, allocations: 0.4913 MB / 1.189 GB, free: 3.098 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002763/0.9223, allocations: 323 kB / 1.19 GB, free: 2.844 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/0.9227, allocations: 202.8 kB / 1.19 GB, free: 2.746 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.9228, allocations: 343.6 kB / 1.19 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007166/0.9236, allocations: 344.3 kB / 1.19 GB, free: 2.312 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008631/0.9244, allocations: 481.3 kB / 1.191 GB, free: 2.094 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001548/0.926, allocations: 0.8111 MB / 1.192 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.926, allocations: 0.5 kB / 1.192 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.002588/0.9286, allocations: 1.092 MB / 1.193 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.9286, allocations: 6.469 kB / 1.193 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.9287, allocations: 1.156 kB / 1.193 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005991/0.9293, allocations: 82.77 kB / 1.193 GB, free: 1.273 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009189/0.9302, allocations: 223.3 kB / 1.193 GB, free: 1.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/0.9325, allocations: 1.527 MB / 1.195 GB, free: 15.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001192/0.9337, allocations: 124.9 kB / 1.195 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/0.9338, allocations: 43.88 kB / 1.195 GB, free: 15.73 MB / 0.7917 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.0007008/0.9345, allocations: 312.8 kB / 1.195 GB, free: 15.52 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.9348, allocations: 110.7 kB / 1.195 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/0.9379, allocations: 1.403 MB / 1.197 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.224e-05/0.9379, allocations: 10.66 kB / 1.197 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.9379, allocations: 0 / 1.197 GB, free: 14.88 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.938, allocations: 8.156 kB / 1.197 GB, free: 14.88 MB / 0.7917 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.005004/0.943, allocations: 2.634 MB / 1.199 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.943, allocations: 2.297 kB / 1.199 GB, free: 13.54 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009269/0.9439, allocations: 203.4 kB / 1.199 GB, free: 13.52 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005538/0.9445, allocations: 86.58 kB / 1.199 GB, free: 13.5 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-05/0.9446, allocations: 25.81 kB / 1.199 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002098/0.9467, allocations: 1.565 MB / 1.201 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.9467, allocations: 2.531 kB / 1.201 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02635/0.9731, allocations: 7.599 MB / 1.208 GB, free: 8.441 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006968/0.9738, allocations: 323.2 kB / 1.209 GB, free: 8.215 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001588/0.974, allocations: 27.98 kB / 1.209 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008676/0.9749, allocations: 78.55 kB / 1.209 GB, free: 8.172 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/0.9751, allocations: 71.89 kB / 1.209 GB, free: 8.164 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00011/0.9752, allocations: 44.72 kB / 1.209 GB, free: 8.156 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001087/0.9763, allocations: 0.5842 MB / 1.209 GB, free: 7.898 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9763, allocations: 0 / 1.209 GB, free: 7.898 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002113/0.9785, allocations: 0.5061 MB / 1.21 GB, free: 7.785 MB / 0.7917 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.001981/0.9805, allocations: 0.7259 MB / 1.211 GB, free: 7.441 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002566/0.983, allocations: 1.009 MB / 1.212 GB, free: 7.039 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.005e-06/0.9831, allocations: 5.484 kB / 1.212 GB, free: 7.035 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001291/0.9844, allocations: 0.6161 MB / 1.212 GB, free: 6.758 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002603/0.987, allocations: 474.8 kB / 1.213 GB, free: 6.629 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007137/0.9941, allocations: 3.452 MB / 1.216 GB, free: 4.5 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001183/0.9953, allocations: 1.166 MB / 1.217 GB, free: 3.758 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.002131/0.9975, allocations: 382.6 kB / 1.218 GB, free: 3.668 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005136/0.998, allocations: 140.3 kB / 1.218 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of SimCode: time 1.102e-06/0.998, allocations: 0 / 1.218 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of Templates: time 0.05041/1.048, allocations: 25.02 MB / 1.242 GB, free: 8.883 MB / 0.8073 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside.makefile (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)