Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.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: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.768/1.768, allocations: 288.4 MB / 303.7 MB, free: 8.84 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.001077/0.001078, allocations: 176.5 kB / 372.3 MB, free: 6.441 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.463/1.463, allocations: 205.4 MB / 0.631 GB, free: 13.47 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008389/0.0008389, allocations: 92.77 kB / 0.7444 GB, free: 64.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.000464, allocations: 12 kB / 0.8675 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2835/0.284, allocations: 115.3 MB / 0.9801 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.7305/1.015, allocations: 158.8 MB / 1.135 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01632/1.031, allocations: 14.1 MB / 1.149 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002064/1.033, allocations: 23.75 kB / 1.149 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.001752/1.035, allocations: 456.9 kB / 1.149 GB, free: 15.21 MB / 0.7605 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.004389/1.039, allocations: 1.181 MB / 1.151 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.004571/1.044, allocations: 1.295 MB / 1.152 GB, free: 13.94 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.003926/1.048, allocations: 2.707 MB / 1.155 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002366/1.05, allocations: 1.548 MB / 1.156 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003112/1.053, allocations: 0.9934 MB / 1.157 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001316/1.055, allocations: 0.7466 MB / 1.158 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0003477/1.055, allocations: 42.66 kB / 1.158 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002854/1.058, allocations: 1.24 MB / 1.159 GB, free: 11 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0003904/1.058, allocations: 372.6 kB / 1.159 GB, free: 10.86 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0008805/1.059, allocations: 0.7277 MB / 1.16 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002145/1.061, allocations: 2.004 MB / 1.162 GB, free: 9.91 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/1.061, allocations: 0 / 1.162 GB, free: 9.91 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.124e-06/1.061, allocations: 0 / 1.162 GB, free: 9.91 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.342e-05/1.061, allocations: 0 / 1.162 GB, free: 9.91 MB / 0.7605 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.00302/1.064, allocations: 1.783 MB / 1.164 GB, free: 8.758 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/1.064, allocations: 13.38 kB / 1.164 GB, free: 8.754 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002722/1.067, allocations: 460.3 kB / 1.164 GB, free: 8.641 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/1.069, allocations: 1.055 MB / 1.165 GB, free: 7.992 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.127e-05/1.069, allocations: 114.2 kB / 1.165 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001753/1.069, allocations: 146.2 kB / 1.165 GB, free: 7.895 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/1.072, allocations: 1.704 MB / 1.167 GB, free: 7.125 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/1.072, allocations: 4.562 kB / 1.167 GB, free: 7.121 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/1.072, allocations: 68.41 kB / 1.167 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.178e-05/1.072, allocations: 44.44 kB / 1.167 GB, free: 7.07 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00268/1.075, allocations: 1.706 MB / 1.169 GB, free: 6.617 MB / 0.7605 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.00773/1.082, allocations: 5.688 MB / 1.174 GB, free: 2.879 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002402/1.085, allocations: 1.48 MB / 1.176 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009174/1.086, allocations: 0.5385 MB / 1.176 GB, free: 1.918 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009595/1.087, allocations: 0.8857 MB / 1.177 GB, free: 0.9609 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001247/1.088, allocations: 0.7323 MB / 1.178 GB, free: 0.6641 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=117): time 2.835e-06/1.088, allocations: 3.938 kB / 1.178 GB, free: 0.6602 MB / 0.7605 GB Notification: Performance of matching and sorting (n=117): time 0.004558/1.092, allocations: 1.76 MB / 1.18 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/1.093, allocations: 193.7 kB / 1.18 GB, free: 15.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/1.094, allocations: 0.9066 MB / 1.181 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/1.094, allocations: 52.11 kB / 1.181 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005825/1.095, allocations: 0.6283 MB / 1.181 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003802/1.095, allocations: 395.7 kB / 1.182 GB, free: 14.52 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.112e-05/1.095, allocations: 26.28 kB / 1.182 GB, free: 14.5 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.095, allocations: 353.7 kB / 1.182 GB, free: 14.17 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007919/1.096, allocations: 416.7 kB / 1.183 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000917/1.097, allocations: 0.5635 MB / 1.183 GB, free: 13.75 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001799/1.099, allocations: 0.9866 MB / 1.184 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/1.099, allocations: 0 / 1.184 GB, free: 13.28 MB / 0.7761 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002955/1.102, allocations: 1.264 MB / 1.185 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.764e-05/1.102, allocations: 8.969 kB / 1.185 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.102, allocations: 1.031 kB / 1.185 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005966/1.102, allocations: 89.23 kB / 1.185 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001344/1.104, allocations: 272.9 kB / 1.186 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/1.106, allocations: 1.559 MB / 1.187 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/1.107, allocations: 147.7 kB / 1.187 GB, free: 11.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001145/1.108, allocations: 49.08 kB / 1.187 GB, free: 11.2 MB / 0.7761 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.0009721/1.109, allocations: 360.7 kB / 1.188 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002526/1.109, allocations: 130.5 kB / 1.188 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003488/1.112, allocations: 1.506 MB / 1.189 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.616e-05/1.112, allocations: 12.78 kB / 1.189 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/1.112, allocations: 1.031 kB / 1.189 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/1.112, allocations: 6.609 kB / 1.189 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005514/1.118, allocations: 2.962 MB / 1.192 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.118, allocations: 0 / 1.192 GB, free: 8.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001286/1.119, allocations: 273.4 kB / 1.193 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005228/1.12, allocations: 87.23 kB / 1.193 GB, free: 8.91 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.903e-05/1.12, allocations: 33.16 kB / 1.193 GB, free: 8.895 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001982/1.122, allocations: 1.561 MB / 1.194 GB, free: 7.445 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/1.122, allocations: 5.484 kB / 1.194 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004272/1.126, allocations: 2.034 MB / 1.196 GB, free: 6.555 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009593/1.127, allocations: 386.9 kB / 1.197 GB, free: 6.297 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003449/1.127, allocations: 21.78 kB / 1.197 GB, free: 6.281 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001384/1.129, allocations: 127.8 kB / 1.197 GB, free: 6.246 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002096/1.129, allocations: 87.34 kB / 1.197 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001446/1.129, allocations: 59.45 kB / 1.197 GB, free: 6.219 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001309/1.131, allocations: 0.6277 MB / 1.197 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.3e-07/1.131, allocations: 0 / 1.197 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001924/1.132, allocations: 498.3 kB / 1.198 GB, free: 5.812 MB / 0.7761 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.001688/1.134, allocations: 0.6644 MB / 1.199 GB, free: 5.48 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003124/1.137, allocations: 1.193 MB / 1.2 GB, free: 5.016 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.033e-05/1.137, allocations: 5.672 kB / 1.2 GB, free: 5.012 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001511/1.139, allocations: 0.7241 MB / 1.2 GB, free: 4.699 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002573/1.141, allocations: 0.4906 MB / 1.201 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006707/1.148, allocations: 3.549 MB / 1.204 GB, free: 2.621 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.149, allocations: 1.274 MB / 1.206 GB, free: 1.855 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.002236/1.152, allocations: 422.2 kB / 1.206 GB, free: 1.742 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005385/1.152, allocations: 143.5 kB / 1.206 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of SimCode: time 6.41e-07/1.152, allocations: 0 / 1.206 GB, free: 1.719 MB / 0.7761 GB Notification: Performance of Templates: time 0.04908/1.201, allocations: 23.32 MB / 1.229 GB, free: 11.82 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)