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.818/1.818, allocations: 288.4 MB / 303.3 MB, free: 8.137 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.001209/0.001209, allocations: 187 kB / 372 MB, free: 10.26 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.657/1.657, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.00126/0.001261, allocations: 83.31 kB / 0.744 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004051/0.0004052, allocations: 11.5 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2421/0.2425, allocations: 115.3 MB / 0.9796 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.7008/0.9434, allocations: 159.7 MB / 1.136 GB, free: 15.79 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01452/0.9579, allocations: 9.785 MB / 1.145 GB, free: 12.56 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.9605, allocations: 29.59 kB / 1.145 GB, free: 12.55 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001447/0.962, allocations: 280.2 kB / 1.145 GB, free: 12.43 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.004346/0.9663, allocations: 0.7823 MB / 1.146 GB, free: 12.08 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004708/0.971, allocations: 1.217 MB / 1.147 GB, free: 11.66 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003429/0.9745, allocations: 2.162 MB / 1.149 GB, free: 10.95 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002163/0.9767, allocations: 0.9889 MB / 1.15 GB, free: 10.54 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002858/0.9795, allocations: 0.9044 MB / 1.151 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.9809, allocations: 0.5949 MB / 1.152 GB, free: 9.867 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.9811, allocations: 39.5 kB / 1.152 GB, free: 9.867 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00367/0.9848, allocations: 0.8199 MB / 1.153 GB, free: 9.617 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005771/0.9854, allocations: 294.9 kB / 1.153 GB, free: 9.484 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007286/0.9861, allocations: 253 kB / 1.153 GB, free: 9.41 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003419/0.9896, allocations: 1.621 MB / 1.155 GB, free: 8.496 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.705e-06/0.9896, allocations: 1.594 kB / 1.155 GB, free: 8.496 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.395e-06/0.9896, allocations: 0 / 1.155 GB, free: 8.496 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.001e-05/0.9897, allocations: 0 / 1.155 GB, free: 8.496 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.003779/0.9934, allocations: 1.495 MB / 1.156 GB, free: 7.422 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.13e-05/0.9935, allocations: 10.25 kB / 1.156 GB, free: 7.422 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002626/0.9938, allocations: 167.5 kB / 1.156 GB, free: 7.352 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002247/0.9961, allocations: 353.4 kB / 1.157 GB, free: 7.203 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00185/0.9979, allocations: 0.8729 MB / 1.158 GB, free: 6.688 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.725e-05/0.998, allocations: 85.61 kB / 1.158 GB, free: 6.684 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.9982, allocations: 112.3 kB / 1.158 GB, free: 6.68 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00246/1.001, allocations: 1.221 MB / 1.159 GB, free: 6.105 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.78e-05/1.001, allocations: 0 / 1.159 GB, free: 6.105 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000124/1.001, allocations: 48.25 kB / 1.159 GB, free: 6.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.147e-05/1.001, allocations: 25.94 kB / 1.159 GB, free: 6.07 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002794/1.004, allocations: 1.394 MB / 1.16 GB, free: 5.398 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.007793/1.012, allocations: 3.699 MB / 1.164 GB, free: 2.531 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/1.014, allocations: 1.129 MB / 1.165 GB, free: 1.898 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007438/1.015, allocations: 424.4 kB / 1.166 GB, free: 1.691 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008208/1.015, allocations: 439.7 kB / 1.166 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/1.016, allocations: 0.5847 MB / 1.167 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of pre-optimization done (n=97): time 2.815e-06/1.017, allocations: 0 / 1.167 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of matching and sorting (n=97): time 0.004195/1.021, allocations: 1.493 MB / 1.168 GB, free: 104 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001292/1.021, allocations: 195.7 kB / 1.168 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001219/1.022, allocations: 0.8135 MB / 1.169 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/1.022, allocations: 42.95 kB / 1.169 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/1.023, allocations: 0.4983 MB / 1.17 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000287/1.023, allocations: 325.6 kB / 1.17 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/1.023, allocations: 20.88 kB / 1.17 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.023, allocations: 343.2 kB / 1.17 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006622/1.024, allocations: 324.9 kB / 1.171 GB, free: 14.14 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007489/1.025, allocations: 475.4 kB / 1.171 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007421/1.025, allocations: 398 kB / 1.171 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.86e-06/1.025, allocations: 0 / 1.171 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002334/1.028, allocations: 1.045 MB / 1.172 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/1.028, allocations: 6.562 kB / 1.172 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.206e-06/1.028, allocations: 0 / 1.172 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/1.028, allocations: 91.48 kB / 1.172 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008904/1.029, allocations: 202.8 kB / 1.173 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00207/1.031, allocations: 1.529 MB / 1.174 GB, free: 11.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/1.033, allocations: 133.9 kB / 1.174 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.945e-05/1.033, allocations: 40.62 kB / 1.174 GB, free: 11.42 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.0006728/1.033, allocations: 303.3 kB / 1.175 GB, free: 11.19 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002258/1.034, allocations: 113 kB / 1.175 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002897/1.036, allocations: 1.412 MB / 1.176 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.055e-05/1.036, allocations: 10.75 kB / 1.176 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.135e-06/1.036, allocations: 0 / 1.176 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.209e-05/1.037, allocations: 3.984 kB / 1.176 GB, free: 10.29 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.004858/1.041, allocations: 2.664 MB / 1.179 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/1.041, allocations: 0 / 1.179 GB, free: 8.445 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008889/1.042, allocations: 200.9 kB / 1.179 GB, free: 8.398 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005506/1.043, allocations: 87.55 kB / 1.179 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.918e-05/1.043, allocations: 35.27 kB / 1.179 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001973/1.045, allocations: 1.56 MB / 1.181 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.045, allocations: 2.906 kB / 1.181 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003545/1.049, allocations: 1.714 MB / 1.182 GB, free: 5.836 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008116/1.049, allocations: 339.4 kB / 1.183 GB, free: 5.551 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003447/1.05, allocations: 23.69 kB / 1.183 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001107/1.051, allocations: 106.2 kB / 1.183 GB, free: 5.484 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/1.051, allocations: 80.3 kB / 1.183 GB, free: 5.441 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.051, allocations: 39.53 kB / 1.183 GB, free: 5.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001143/1.052, allocations: 0.5799 MB / 1.183 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.21e-07/1.052, allocations: 0 / 1.183 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001471/1.054, allocations: 403.1 kB / 1.184 GB, free: 4.973 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.005212/1.059, allocations: 2.822 MB / 1.186 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002078/1.061, allocations: 0.9745 MB / 1.187 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.061, allocations: 7.312 kB / 1.187 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/1.062, allocations: 0.6076 MB / 1.188 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002629/1.065, allocations: 464.4 kB / 1.188 GB, free: 2.145 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/1.081, allocations: 6.897 MB / 1.195 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000972/1.082, allocations: 1.134 MB / 1.196 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001666/1.083, allocations: 357 kB / 1.197 GB, free: 11.31 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008131/1.084, allocations: 487.2 kB / 1.197 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of SimCode: time 9.11e-07/1.084, allocations: 0 / 1.197 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06358/1.148, allocations: 30.53 MB / 1.227 GB, free: 12.64 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000231/1.148, allocations: 256.5 kB / 1.227 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.156/4.304, allocations: 0 / 1.227 GB, free: 12.3 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)