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.815/1.815, allocations: 252 MB / 267.3 MB, free: 10.8 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.001228/0.001228, allocations: 173 kB / 327 MB, free: 2.082 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.804/1.804, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0007551/0.000755, allocations: 94.3 kB / 0.6826 GB, free: 12.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003648/0.0003649, allocations: 8.656 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2358, allocations: 106.4 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.763/0.9988, allocations: 171.3 MB / 1.068 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01562/1.015, allocations: 10.46 MB / 1.078 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002036/1.017, allocations: 25.12 kB / 1.078 GB, free: 1.719 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001291/1.018, allocations: 316.5 kB / 1.079 GB, free: 1.715 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.003855/1.022, allocations: 0.881 MB / 1.08 GB, free: 1.664 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005557/1.027, allocations: 1.48 MB / 1.081 GB, free: 1.609 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004811/1.032, allocations: 2.533 MB / 1.084 GB, free: 1.594 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/1.035, allocations: 1.211 MB / 1.085 GB, free: 1.391 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005052/1.04, allocations: 1.024 MB / 1.086 GB, free: 1.367 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/1.041, allocations: 0.6313 MB / 1.086 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002097/1.042, allocations: 45.25 kB / 1.086 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0037/1.045, allocations: 1.347 MB / 1.088 GB, free: 1.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003983/1.046, allocations: 303.7 kB / 1.088 GB, free: 1.34 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009559/1.047, allocations: 0.6137 MB / 1.089 GB, free: 1.305 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004941/1.052, allocations: 2.271 MB / 1.091 GB, free: 1.172 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.558e-06/1.052, allocations: 1.125 kB / 1.091 GB, free: 1.172 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/1.052, allocations: 2.906 kB / 1.091 GB, free: 1.172 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.553e-05/1.052, allocations: 0 / 1.091 GB, free: 1.172 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: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.003937/1.056, allocations: 1.471 MB / 1.092 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 8.402e-05/1.056, allocations: 13.27 kB / 1.092 GB, free: 16.3 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003162/1.056, allocations: 170 kB / 1.092 GB, free: 16.26 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002521/1.059, allocations: 359.1 kB / 1.093 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001774/1.06, allocations: 0.9184 MB / 1.094 GB, free: 15.83 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.355e-05/1.061, allocations: 80.81 kB / 1.094 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001759/1.061, allocations: 108.6 kB / 1.094 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002243/1.063, allocations: 1.233 MB / 1.095 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/1.063, allocations: 2.906 kB / 1.095 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001123/1.063, allocations: 53 kB / 1.095 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.402e-05/1.063, allocations: 26.34 kB / 1.095 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002259/1.065, allocations: 1.397 MB / 1.096 GB, free: 15.62 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.006703/1.072, allocations: 3.733 MB / 1.1 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002/1.074, allocations: 1.122 MB / 1.101 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006911/1.075, allocations: 429.8 kB / 1.102 GB, free: 14.18 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008069/1.076, allocations: 436.9 kB / 1.102 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00105/1.077, allocations: 0.5896 MB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=97): time 3.006e-06/1.077, allocations: 3.312 kB / 1.103 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of matching and sorting (n=97): time 0.004015/1.081, allocations: 1.495 MB / 1.104 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/1.081, allocations: 192.9 kB / 1.104 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/1.082, allocations: 0.8225 MB / 1.105 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/1.083, allocations: 46.11 kB / 1.105 GB, free: 13.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/1.083, allocations: 0.4975 MB / 1.106 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003252/1.083, allocations: 326.2 kB / 1.106 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/1.083, allocations: 21.19 kB / 1.106 GB, free: 12.68 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000146/1.084, allocations: 334.2 kB / 1.106 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006091/1.084, allocations: 338.4 kB / 1.107 GB, free: 12.37 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000726/1.085, allocations: 478.3 kB / 1.107 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001406/1.086, allocations: 0.7956 MB / 1.108 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/1.086, allocations: 0 / 1.108 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.002551/1.089, allocations: 1.049 MB / 1.109 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/1.089, allocations: 3.094 kB / 1.109 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/1.089, allocations: 2.906 kB / 1.109 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006221/1.09, allocations: 84.53 kB / 1.109 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008797/1.09, allocations: 206.2 kB / 1.109 GB, free: 12.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002089/1.093, allocations: 1.539 MB / 1.111 GB, free: 10.74 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.094, allocations: 129.5 kB / 1.111 GB, free: 10.69 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.531e-05/1.094, allocations: 39.3 kB / 1.111 GB, free: 10.69 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 (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.0007449/1.095, allocations: 302.2 kB / 1.111 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001757/1.095, allocations: 113.3 kB / 1.111 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/1.098, allocations: 1.404 MB / 1.113 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/1.098, allocations: 17.14 kB / 1.113 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/1.098, allocations: 0 / 1.113 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/1.098, allocations: 10.14 kB / 1.113 GB, free: 10.36 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.004269/1.102, allocations: 2.656 MB / 1.115 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.102, allocations: 0 / 1.115 GB, free: 9.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008352/1.103, allocations: 200.9 kB / 1.115 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005114/1.103, allocations: 88.47 kB / 1.115 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.475e-05/1.103, allocations: 28.73 kB / 1.115 GB, free: 9.762 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001827/1.105, allocations: 1.562 MB / 1.117 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/1.105, allocations: 5.531 kB / 1.117 GB, free: 8.457 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003043/1.108, allocations: 1.725 MB / 1.119 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006943/1.109, allocations: 346.7 kB / 1.119 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001464/1.109, allocations: 25.66 kB / 1.119 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009187/1.11, allocations: 94.05 kB / 1.119 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/1.11, allocations: 80.33 kB / 1.119 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-05/1.11, allocations: 43.27 kB / 1.119 GB, free: 7.98 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007798/1.111, allocations: 0.5878 MB / 1.12 GB, free: 7.871 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/1.111, allocations: 4 kB / 1.12 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001472/1.113, allocations: 407.8 kB / 1.12 GB, free: 7.801 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 (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.00564/1.118, allocations: 2.836 MB / 1.123 GB, free: 6.812 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002343/1.121, allocations: 0.9825 MB / 1.124 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.347e-06/1.121, allocations: 0 / 1.124 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001378/1.122, allocations: 0.6194 MB / 1.125 GB, free: 6.555 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00338/1.125, allocations: 481.9 kB / 1.125 GB, free: 6.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01749/1.143, allocations: 9.354 MB / 1.134 GB, free: 2.727 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007552/1.144, allocations: 1.139 MB / 1.135 GB, free: 1.848 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001591/1.145, allocations: 359.5 kB / 1.136 GB, free: 1.672 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006481/1.146, allocations: 492.6 kB / 1.136 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of SimCode: time 1.924e-06/1.146, allocations: 0 / 1.136 GB, free: 1.613 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06135/1.207, allocations: 29.33 MB / 1.165 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002782/1.208, allocations: 275.2 kB / 1.165 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.544/4.752, allocations: 3.938 kB / 1.165 GB, free: 10.78 MB / 0.7448 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)