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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.524/1.524, allocations: 252 MB / 267 MB, free: 10.95 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00106/0.00106, allocations: 187.3 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.788/1.788, allocations: 205.4 MB / 0.5777 GB, free: 20.53 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008471/0.0008473, allocations: 90.06 kB / 0.6823 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003577, allocations: 14.89 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2481, allocations: 106.3 MB / 0.9003 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.7303/0.9785, allocations: 159.8 MB / 1.056 GB, free: 4.23 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.9934, allocations: 9.836 MB / 1.066 GB, free: 4.094 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.995, allocations: 26.66 kB / 1.066 GB, free: 4.094 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001414/0.9965, allocations: 280.4 kB / 1.066 GB, free: 4.09 MB / 0.698 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.003987/1, allocations: 0.7922 MB / 1.067 GB, free: 4.047 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004868/1.005, allocations: 1.246 MB / 1.068 GB, free: 3.992 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003626/1.009, allocations: 2.217 MB / 1.07 GB, free: 3.984 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00241/1.011, allocations: 1.001 MB / 1.071 GB, free: 3.871 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002939/1.014, allocations: 0.9283 MB / 1.072 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001499/1.016, allocations: 0.6027 MB / 1.073 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002498/1.016, allocations: 40.75 kB / 1.073 GB, free: 3.863 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003051/1.019, allocations: 0.8209 MB / 1.074 GB, free: 3.84 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0005127/1.02, allocations: 298.7 kB / 1.074 GB, free: 3.84 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008812/1.021, allocations: 258.7 kB / 1.074 GB, free: 19.81 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.003371/1.024, allocations: 1.646 MB / 1.076 GB, free: 19.68 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/1.024, allocations: 0 / 1.076 GB, free: 19.68 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.887e-06/1.024, allocations: 0.6562 kB / 1.076 GB, free: 19.68 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.955e-05/1.024, allocations: 0 / 1.076 GB, free: 19.68 MB / 0.7136 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.00369/1.028, allocations: 1.494 MB / 1.077 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/1.028, allocations: 9.031 kB / 1.077 GB, free: 18.81 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002984/1.028, allocations: 172 kB / 1.077 GB, free: 18.77 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002334/1.031, allocations: 363.4 kB / 1.078 GB, free: 18.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/1.032, allocations: 0.8706 MB / 1.079 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.129e-05/1.032, allocations: 86.06 kB / 1.079 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/1.033, allocations: 110.5 kB / 1.079 GB, free: 18.37 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002291/1.035, allocations: 1.226 MB / 1.08 GB, free: 18.18 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/1.035, allocations: 0 / 1.08 GB, free: 18.18 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000111/1.035, allocations: 47.09 kB / 1.08 GB, free: 18.18 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.728e-05/1.035, allocations: 26.22 kB / 1.08 GB, free: 18.18 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/1.037, allocations: 1.397 MB / 1.082 GB, free: 18.16 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 preOpt removeSimpleEquations (simulation): time 0.006595/1.044, allocations: 3.709 MB / 1.085 GB, free: 16.9 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002076/1.046, allocations: 1.112 MB / 1.086 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000772/1.047, allocations: 427.9 kB / 1.087 GB, free: 16.75 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009078/1.048, allocations: 442.4 kB / 1.087 GB, free: 16.38 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001185/1.049, allocations: 0.5942 MB / 1.088 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=97): time 3.276e-06/1.049, allocations: 0 / 1.088 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97): time 0.004106/1.053, allocations: 1.486 MB / 1.089 GB, free: 16.06 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001277/1.053, allocations: 194.5 kB / 1.089 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001381/1.055, allocations: 0.82 MB / 1.09 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001919/1.055, allocations: 49.06 kB / 1.09 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/1.056, allocations: 0.4913 MB / 1.091 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003731/1.056, allocations: 330.2 kB / 1.091 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.108e-05/1.056, allocations: 16.69 kB / 1.091 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002336/1.056, allocations: 350 kB / 1.091 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007741/1.057, allocations: 328.4 kB / 1.092 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000881/1.058, allocations: 469.4 kB / 1.092 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008221/1.059, allocations: 394.9 kB / 1.092 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.728e-06/1.059, allocations: 3.438 kB / 1.092 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002532/1.061, allocations: 1.032 MB / 1.093 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.854e-05/1.061, allocations: 8 kB / 1.093 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.061, allocations: 0 / 1.093 GB, free: 14.68 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006655/1.062, allocations: 88.66 kB / 1.093 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009671/1.063, allocations: 208.4 kB / 1.094 GB, free: 14.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/1.065, allocations: 1.531 MB / 1.095 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001272/1.067, allocations: 125.6 kB / 1.095 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/1.067, allocations: 41.83 kB / 1.095 GB, free: 13.32 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.0008211/1.068, allocations: 299.3 kB / 1.096 GB, free: 13.21 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002417/1.068, allocations: 107.4 kB / 1.096 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00285/1.071, allocations: 1.424 MB / 1.097 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.161e-05/1.071, allocations: 11.31 kB / 1.097 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.071, allocations: 3.938 kB / 1.097 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/1.071, allocations: 8.188 kB / 1.097 GB, free: 12.97 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.004709/1.075, allocations: 2.646 MB / 1.1 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.793e-06/1.075, allocations: 4.031 kB / 1.1 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009167/1.076, allocations: 199.8 kB / 1.1 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005318/1.077, allocations: 88.84 kB / 1.1 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-05/1.077, allocations: 30.31 kB / 1.1 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001902/1.079, allocations: 1.559 MB / 1.102 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/1.079, allocations: 9.766 kB / 1.102 GB, free: 11.07 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003241/1.082, allocations: 1.712 MB / 1.103 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007655/1.083, allocations: 342.3 kB / 1.104 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001579/1.083, allocations: 23.25 kB / 1.104 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009658/1.084, allocations: 105.4 kB / 1.104 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001685/1.084, allocations: 77.97 kB / 1.104 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.137e-05/1.084, allocations: 45.61 kB / 1.104 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0009061/1.085, allocations: 0.5826 MB / 1.104 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.085, allocations: 0 / 1.104 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001501/1.087, allocations: 395.8 kB / 1.105 GB, free: 10.43 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.005072/1.092, allocations: 2.821 MB / 1.108 GB, free: 9.434 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00201/1.094, allocations: 0.9825 MB / 1.108 GB, free: 9.293 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.147e-06/1.094, allocations: 7.25 kB / 1.108 GB, free: 9.289 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/1.095, allocations: 0.605 MB / 1.109 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/1.098, allocations: 474.5 kB / 1.11 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01674/1.114, allocations: 6.907 MB / 1.116 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008861/1.115, allocations: 1.138 MB / 1.117 GB, free: 6 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002045/1.117, allocations: 357.7 kB / 1.118 GB, free: 5.898 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000906/1.118, allocations: 492.3 kB / 1.118 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of SimCode: time 2.054e-06/1.118, allocations: 0 / 1.118 GB, free: 5.891 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06384/1.182, allocations: 30.65 MB / 1.148 GB, free: 4.086 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002549/1.182, allocations: 252.5 kB / 1.148 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.207/4.389, allocations: 4.062 kB / 1.148 GB, free: 3.75 MB / 0.7292 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1)