Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside") translateModel(Buildings.Fluid.Sources.Examples.Outside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.585/1.585, allocations: 288.4 MB / 304.3 MB, free: 8.199 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.001045/0.001045, allocations: 187 kB / 372.9 MB, free: 10.14 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.317/1.317, allocations: 205.4 MB / 0.6316 GB, free: 9.789 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006949/0.0006949, allocations: 86.36 kB / 0.745 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003713/0.0003714, allocations: 12.09 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1733/0.1737, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.7083/0.8821, allocations: 159.7 MB / 1.137 GB, free: 172 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01679/0.8989, allocations: 9.802 MB / 1.146 GB, free: 12.93 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.9005, allocations: 28.62 kB / 1.146 GB, free: 12.91 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.902, allocations: 286.3 kB / 1.147 GB, free: 12.79 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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 8.0.1-maint.8.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.003738/0.9057, allocations: 0.8303 MB / 1.147 GB, free: 12.43 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005278/0.911, allocations: 1.326 MB / 1.149 GB, free: 11.9 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003796/0.9148, allocations: 2.192 MB / 1.151 GB, free: 11.18 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002936/0.9178, allocations: 1.191 MB / 1.152 GB, free: 10.71 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003852/0.9217, allocations: 0.9603 MB / 1.153 GB, free: 10.29 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001442/0.9231, allocations: 0.5942 MB / 1.153 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0003003/0.9234, allocations: 39.5 kB / 1.153 GB, free: 10.01 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.9274, allocations: 1.311 MB / 1.155 GB, free: 9.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005936/0.928, allocations: 298.5 kB / 1.155 GB, free: 9.383 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001268/0.9293, allocations: 0.5734 MB / 1.156 GB, free: 9.117 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003401/0.9327, allocations: 1.684 MB / 1.157 GB, free: 8.129 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.9327, allocations: 0.9688 kB / 1.157 GB, free: 8.129 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.174e-06/0.9327, allocations: 0 / 1.157 GB, free: 8.129 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.632e-05/0.9328, allocations: 0 / 1.157 GB, free: 8.129 MB / 0.698 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.004748/0.9376, allocations: 1.468 MB / 1.159 GB, free: 6.973 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.9376, allocations: 9.531 kB / 1.159 GB, free: 6.973 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003461/0.9411, allocations: 352.1 kB / 1.159 GB, free: 6.816 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.9438, allocations: 0.9063 MB / 1.16 GB, free: 6.09 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.9439, allocations: 83.55 kB / 1.16 GB, free: 6.051 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003483/0.9443, allocations: 107.9 kB / 1.16 GB, free: 6.016 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003571/0.9479, allocations: 1.223 MB / 1.161 GB, free: 5.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.9479, allocations: 0 / 1.161 GB, free: 5.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001785/0.9481, allocations: 47.88 kB / 1.161 GB, free: 5.195 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.902e-05/0.9482, allocations: 30.72 kB / 1.161 GB, free: 5.191 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003767/0.9519, allocations: 1.387 MB / 1.163 GB, free: 4.527 MB / 0.698 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.009152/0.9611, allocations: 3.705 MB / 1.166 GB, free: 1.656 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002937/0.9641, allocations: 1.112 MB / 1.167 GB, free: 1.039 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001121/0.9652, allocations: 426.3 kB / 1.168 GB, free: 0.832 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001025/0.9662, allocations: 439.1 kB / 1.168 GB, free: 412 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001527/0.9678, allocations: 0.584 MB / 1.169 GB, free: 36 kB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 4.539e-06/0.9678, allocations: 4 kB / 1.169 GB, free: 32 kB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.005618/0.9734, allocations: 1.485 MB / 1.17 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/0.9736, allocations: 207.5 kB / 1.17 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.9751, allocations: 0.8081 MB / 1.171 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001072/0.9753, allocations: 43.61 kB / 1.171 GB, free: 14.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005784/0.9758, allocations: 0.4909 MB / 1.172 GB, free: 14.07 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/0.9762, allocations: 328.4 kB / 1.172 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.638e-05/0.9763, allocations: 21.75 kB / 1.172 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001797/0.9765, allocations: 342 kB / 1.172 GB, free: 13.44 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001031/0.9776, allocations: 353.5 kB / 1.173 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001205/0.9788, allocations: 477.5 kB / 1.173 GB, free: 12.98 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002213/0.981, allocations: 0.8147 MB / 1.174 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.9811, allocations: 3.984 kB / 1.174 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003415/0.9845, allocations: 1.091 MB / 1.175 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.9845, allocations: 5.562 kB / 1.175 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.131e-05/0.9845, allocations: 2.938 kB / 1.175 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008024/0.9854, allocations: 86.08 kB / 1.175 GB, free: 11.94 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.9867, allocations: 216.6 kB / 1.175 GB, free: 11.89 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002786/0.9895, allocations: 1.538 MB / 1.177 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.9909, allocations: 123.6 kB / 1.177 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.991, allocations: 43.47 kB / 1.177 GB, free: 10.29 MB / 0.7136 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.0008131/0.9919, allocations: 316.5 kB / 1.177 GB, free: 10.05 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002319/0.9921, allocations: 107.2 kB / 1.177 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004217/0.9963, allocations: 1.408 MB / 1.179 GB, free: 9.164 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/0.9964, allocations: 7.922 kB / 1.179 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.9964, allocations: 0 / 1.179 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007746/0.9972, allocations: 341.3 kB / 1.179 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002172/0.9974, allocations: 21 kB / 1.179 GB, free: 8.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001097/0.9985, allocations: 82.22 kB / 1.179 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002045/0.9987, allocations: 72.8 kB / 1.179 GB, free: 8.781 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003688/1.002, allocations: 1.155 MB / 1.18 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003994/1.006, allocations: 1.697 MB / 1.182 GB, free: 7.176 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001073/1.008, allocations: 442.9 kB / 1.183 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001208/1.009, allocations: 0.5769 MB / 1.183 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of Backend: time 6.01e-07/1.009, allocations: 0 / 1.183 GB, free: 6.602 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00544/1.014, allocations: 1.526 MB / 1.185 GB, free: 5.801 MB / 0.7136 GB Notification: Performance of SimCode: time 0.006427/1.021, allocations: 3.224 MB / 1.188 GB, free: 3.496 MB / 0.7136 GB Notification: Performance of Templates: time 0.05763/1.078, allocations: 23.73 MB / 1.211 GB, free: 14.43 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)