Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.618/2.618, allocations: 287.5 MB / 302.4 MB, free: 8.281 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.001414/0.001413, allocations: 170.7 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.186/2.186, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.001321/0.00132, allocations: 91.23 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005096/0.0005098, allocations: 16.75 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2086/0.2092, allocations: 115.3 MB / 0.9783 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.8778/1.087, allocations: 158.8 MB / 1.133 GB, free: 104 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.02663/1.114, allocations: 14.09 MB / 1.147 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002006/1.116, allocations: 23.59 kB / 1.147 GB, free: 11.31 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002429/1.118, allocations: 404.1 kB / 1.148 GB, free: 11.13 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0/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.0/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.0/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.005526/1.124, allocations: 1.066 MB / 1.149 GB, free: 10.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005799/1.13, allocations: 1.228 MB / 1.15 GB, free: 10.34 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005422/1.135, allocations: 2.664 MB / 1.152 GB, free: 9.691 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003635/1.139, allocations: 1.33 MB / 1.154 GB, free: 9.16 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003659/1.143, allocations: 0.9725 MB / 1.155 GB, free: 8.781 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002368/1.145, allocations: 0.763 MB / 1.155 GB, free: 8.383 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005323/1.146, allocations: 43.78 kB / 1.156 GB, free: 8.383 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004057/1.15, allocations: 0.76 MB / 1.156 GB, free: 8.027 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0009441/1.151, allocations: 370.7 kB / 1.157 GB, free: 7.789 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0008404/1.151, allocations: 330.1 kB / 1.157 GB, free: 7.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004841/1.156, allocations: 1.976 MB / 1.159 GB, free: 6.211 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/1.156, allocations: 0 / 1.159 GB, free: 6.211 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.617e-06/1.156, allocations: 4 kB / 1.159 GB, free: 6.207 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.794e-05/1.156, allocations: 0 / 1.159 GB, free: 6.207 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: 391 * Number of variables: 391 Notification: Performance of Generate backend data structure: time 0.006167/1.163, allocations: 1.796 MB / 1.161 GB, free: 4.844 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.163, allocations: 8.406 kB / 1.161 GB, free: 4.844 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005264/1.168, allocations: 467.4 kB / 1.161 GB, free: 4.633 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003317/1.171, allocations: 1.021 MB / 1.162 GB, free: 3.84 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/1.172, allocations: 112.8 kB / 1.162 GB, free: 3.789 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004393/1.172, allocations: 148.3 kB / 1.162 GB, free: 3.742 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005487/1.178, allocations: 1.693 MB / 1.164 GB, free: 2.668 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.125e-05/1.178, allocations: 10.06 kB / 1.164 GB, free: 2.66 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002943/1.178, allocations: 67.97 kB / 1.164 GB, free: 2.609 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.735e-05/1.178, allocations: 46.02 kB / 1.164 GB, free: 2.605 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005742/1.184, allocations: 1.705 MB / 1.166 GB, free: 1.785 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.01501/1.199, allocations: 5.691 MB / 1.171 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004369/1.203, allocations: 1.47 MB / 1.173 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001764/1.205, allocations: 0.544 MB / 1.173 GB, free: 11.92 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/1.207, allocations: 0.8834 MB / 1.174 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002254/1.209, allocations: 0.7242 MB / 1.175 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=117): time 4.699e-06/1.209, allocations: 0 / 1.175 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117): time 0.007667/1.217, allocations: 1.762 MB / 1.177 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/1.217, allocations: 195.7 kB / 1.177 GB, free: 9.34 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/1.219, allocations: 0.9169 MB / 1.178 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003321/1.219, allocations: 55.45 kB / 1.178 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008332/1.22, allocations: 0.634 MB / 1.178 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006574/1.22, allocations: 391.6 kB / 1.179 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001188/1.221, allocations: 20.53 kB / 1.179 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001823/1.221, allocations: 345.3 kB / 1.179 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/1.222, allocations: 420.1 kB / 1.179 GB, free: 7.305 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001736/1.224, allocations: 0.5643 MB / 1.18 GB, free: 6.945 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/1.226, allocations: 485.8 kB / 1.18 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/1.226, allocations: 0 / 1.18 GB, free: 6.703 MB / 0.7136 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.004943/1.231, allocations: 1.263 MB / 1.182 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/1.231, allocations: 7.938 kB / 1.182 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/1.231, allocations: 1.812 kB / 1.182 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009794/1.232, allocations: 98.28 kB / 1.182 GB, free: 6.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002515/1.234, allocations: 279.5 kB / 1.182 GB, free: 5.945 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003041/1.237, allocations: 1.53 MB / 1.184 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/1.24, allocations: 164.9 kB / 1.184 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002175/1.24, allocations: 49.03 kB / 1.184 GB, free: 4.324 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (132): * Single equations (assignments): 131 * 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.001146/1.241, allocations: 362.1 kB / 1.184 GB, free: 4.059 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004456/1.242, allocations: 127.7 kB / 1.184 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005737/1.247, allocations: 1.529 MB / 1.186 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-05/1.248, allocations: 10.69 kB / 1.186 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/1.248, allocations: 0 / 1.186 GB, free: 3.121 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.71e-05/1.248, allocations: 3.984 kB / 1.186 GB, free: 3.117 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008975/1.257, allocations: 2.968 MB / 1.189 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/1.257, allocations: 0 / 1.189 GB, free: 1.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002399/1.259, allocations: 267.2 kB / 1.189 GB, free: 1.137 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008771/1.26, allocations: 87.14 kB / 1.189 GB, free: 1.094 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001728/1.26, allocations: 30.73 kB / 1.189 GB, free: 1.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002946/1.263, allocations: 1.564 MB / 1.191 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/1.263, allocations: 0 / 1.191 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007445/1.271, allocations: 2.028 MB / 1.193 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.272, allocations: 393.1 kB / 1.193 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004336/1.272, allocations: 21.03 kB / 1.193 GB, free: 14.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002352/1.275, allocations: 118.9 kB / 1.193 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003101/1.275, allocations: 86.53 kB / 1.193 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002175/1.275, allocations: 52.84 kB / 1.193 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001446/1.277, allocations: 0.6283 MB / 1.194 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.51e-07/1.277, allocations: 0 / 1.194 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.002332/1.279, allocations: 0.4915 MB / 1.194 GB, free: 13.47 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * 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 (128): * Single equations (assignments): 125 * 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.00221/1.282, allocations: 0.6726 MB / 1.195 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004242/1.286, allocations: 1.192 MB / 1.196 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.247e-05/1.286, allocations: 8.297 kB / 1.196 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.002242/1.288, allocations: 0.709 MB / 1.197 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004311/1.292, allocations: 0.5149 MB / 1.197 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/1.303, allocations: 3.541 MB / 1.201 GB, free: 7.254 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001308/1.304, allocations: 1.271 MB / 1.202 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003026/1.307, allocations: 422 kB / 1.202 GB, free: 5.535 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006911/1.308, allocations: 143.4 kB / 1.203 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of SimCode: time 1.232e-06/1.308, allocations: 3.938 kB / 1.203 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of Templates: time 0.06647/1.374, allocations: 22.93 MB / 1.225 GB, free: 14.67 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)