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: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.401/1.401, allocations: 288.4 MB / 303.6 MB, free: 8.059 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.0008498/0.0008499, allocations: 187.2 kB / 372.3 MB, free: 10.11 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.192/1.192, allocations: 205.4 MB / 0.631 GB, free: 9.871 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.0007235/0.0007233, allocations: 98.53 kB / 0.7444 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003179/0.0003179, allocations: 13.34 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.4307/0.5723, allocations: 159.7 MB / 1.136 GB, free: 148 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.009724/0.582, allocations: 9.796 MB / 1.146 GB, free: 12.9 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008945/0.5829, allocations: 34.5 kB / 1.146 GB, free: 12.88 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0007863/0.5837, allocations: 287.1 kB / 1.146 GB, free: 12.76 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.001906/0.5857, allocations: 0.8308 MB / 1.147 GB, free: 12.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002971/0.5886, allocations: 1.316 MB / 1.148 GB, free: 11.87 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001801/0.5905, allocations: 2.202 MB / 1.15 GB, free: 11.14 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001361/0.5918, allocations: 1.196 MB / 1.151 GB, free: 10.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00213/0.594, allocations: 0.9573 MB / 1.152 GB, free: 10.25 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006583/0.5946, allocations: 0.5903 MB / 1.153 GB, free: 9.973 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.5948, allocations: 40.41 kB / 1.153 GB, free: 9.973 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002235/0.597, allocations: 1.31 MB / 1.154 GB, free: 9.48 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0002799/0.5973, allocations: 296.5 kB / 1.154 GB, free: 9.348 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0005044/0.5978, allocations: 0.5734 MB / 1.155 GB, free: 9.082 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001653/0.5995, allocations: 1.69 MB / 1.157 GB, free: 8.039 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.5995, allocations: 4 kB / 1.157 GB, free: 8.035 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5995, allocations: 0 / 1.157 GB, free: 8.035 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.35e-05/0.5995, allocations: 0 / 1.157 GB, free: 8.035 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.002355/0.6019, allocations: 1.467 MB / 1.158 GB, free: 6.883 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.6019, allocations: 14.25 kB / 1.158 GB, free: 6.879 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001804/0.6021, allocations: 168.7 kB / 1.158 GB, free: 6.742 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001796/0.6039, allocations: 347.1 kB / 1.159 GB, free: 6.59 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.6052, allocations: 0.9117 MB / 1.16 GB, free: 5.859 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.164e-05/0.6053, allocations: 83.27 kB / 1.16 GB, free: 5.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001403/0.6054, allocations: 111.7 kB / 1.16 GB, free: 5.781 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/0.6073, allocations: 1.221 MB / 1.161 GB, free: 4.996 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/0.6073, allocations: 0 / 1.161 GB, free: 4.996 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000112/0.6075, allocations: 52 kB / 1.161 GB, free: 4.957 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.6075, allocations: 26.19 kB / 1.161 GB, free: 4.957 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.6096, allocations: 1.39 MB / 1.162 GB, free: 4.289 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.005076/0.6147, allocations: 3.706 MB / 1.166 GB, free: 1.422 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001793/0.6165, allocations: 1.117 MB / 1.167 GB, free: 0.8008 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006661/0.6172, allocations: 421.4 kB / 1.167 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006917/0.6179, allocations: 441.4 kB / 1.168 GB, free: 172 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000961/0.6188, allocations: 0.5853 MB / 1.168 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=97): time 2.365e-06/0.6189, allocations: 0 / 1.168 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97): time 0.003333/0.6222, allocations: 1.494 MB / 1.17 GB, free: 15 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.104e-05/0.6223, allocations: 191.8 kB / 1.17 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008515/0.6231, allocations: 0.8082 MB / 1.171 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.755e-05/0.6232, allocations: 47.45 kB / 1.171 GB, free: 14.28 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003459/0.6236, allocations: 0.4995 MB / 1.171 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.6238, allocations: 323.6 kB / 1.172 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.6239, allocations: 18.16 kB / 1.172 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.624, allocations: 341.8 kB / 1.172 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005714/0.6246, allocations: 334.2 kB / 1.172 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006586/0.6252, allocations: 478.5 kB / 1.173 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.6265, allocations: 0.7861 MB / 1.174 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.6265, allocations: 0 / 1.174 GB, free: 12.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001984/0.6285, allocations: 1.053 MB / 1.175 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.6285, allocations: 3.25 kB / 1.175 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.6285, allocations: 2.688 kB / 1.175 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005265/0.629, allocations: 83.44 kB / 1.175 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008125/0.6299, allocations: 210.4 kB / 1.175 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001741/0.6316, allocations: 1.529 MB / 1.176 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008082/0.6324, allocations: 127.2 kB / 1.177 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.379e-05/0.6325, allocations: 36.55 kB / 1.177 GB, free: 10.08 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: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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.0004697/0.633, allocations: 306.8 kB / 1.177 GB, free: 9.848 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001336/0.6331, allocations: 112.5 kB / 1.177 GB, free: 9.789 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002538/0.6357, allocations: 1.405 MB / 1.178 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.6357, allocations: 10.84 kB / 1.178 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.314e-06/0.6357, allocations: 0 / 1.178 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.6357, allocations: 7.969 kB / 1.178 GB, free: 8.957 MB / 0.7136 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.003862/0.6396, allocations: 2.656 MB / 1.181 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.6396, allocations: 0 / 1.181 GB, free: 7.117 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000791/0.6404, allocations: 201 kB / 1.181 GB, free: 7.07 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/0.6409, allocations: 91.66 kB / 1.181 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.451e-05/0.641, allocations: 34.42 kB / 1.181 GB, free: 7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001546/0.6425, allocations: 1.566 MB / 1.183 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.849e-06/0.6425, allocations: 0 / 1.183 GB, free: 5.48 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002689/0.6452, allocations: 1.721 MB / 1.184 GB, free: 4.5 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000438/0.6457, allocations: 336.4 kB / 1.185 GB, free: 4.215 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001249/0.6458, allocations: 32.7 kB / 1.185 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007706/0.6466, allocations: 82.28 kB / 1.185 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001336/0.6467, allocations: 79.27 kB / 1.185 GB, free: 4.117 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.511e-05/0.6468, allocations: 43.31 kB / 1.185 GB, free: 4.102 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0006888/0.6475, allocations: 0.5801 MB / 1.186 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6475, allocations: 0 / 1.186 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0009283/0.6485, allocations: 399.8 kB / 1.186 GB, free: 3.648 MB / 0.7136 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.004114/0.6526, allocations: 2.833 MB / 1.189 GB, free: 1.867 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001678/0.6543, allocations: 0.9819 MB / 1.19 GB, free: 1.359 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.6543, allocations: 7 kB / 1.19 GB, free: 1.355 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0009099/0.6552, allocations: 0.6041 MB / 1.19 GB, free: 1.027 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.6573, allocations: 467.3 kB / 1.191 GB, free: 0.793 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/0.6683, allocations: 6.89 MB / 1.197 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006263/0.669, allocations: 1.134 MB / 1.199 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001194/0.6702, allocations: 364.9 kB / 1.199 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006128/0.6708, allocations: 499.2 kB / 1.199 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of SimCode: time 5.11e-07/0.6708, allocations: 0 / 1.199 GB, free: 8.789 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9826/1.653, allocations: 30.81 MB / 1.229 GB, free: 10.31 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002036/1.654, allocations: 248.5 kB / 1.23 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.905/4.559, allocations: 0 / 1.23 GB, free: 9.977 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)