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.64/1.64, allocations: 288.4 MB / 303.4 MB, free: 8.102 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.001049/0.001049, allocations: 190.3 kB / 372 MB, free: 10.27 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.5/1.5, allocations: 205.4 MB / 0.6307 GB, free: 9.973 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.001026/0.001026, allocations: 96.94 kB / 0.7441 GB, free: 5.906 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004291/0.0004294, allocations: 12.31 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2276, allocations: 115.3 MB / 0.9796 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.7222/0.9499, allocations: 158.8 MB / 1.135 GB, free: 492 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01762/0.9676, allocations: 14.09 MB / 1.148 GB, free: 11.67 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.9696, allocations: 28.56 kB / 1.148 GB, free: 11.66 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.9712, allocations: 402.4 kB / 1.149 GB, free: 11.42 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.004039/0.9752, allocations: 1.056 MB / 1.15 GB, free: 10.74 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004437/0.9797, allocations: 1.237 MB / 1.151 GB, free: 10.16 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.004111/0.9838, allocations: 2.657 MB / 1.154 GB, free: 9.172 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00252/0.9863, allocations: 1.336 MB / 1.155 GB, free: 8.383 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002739/0.9891, allocations: 0.9725 MB / 1.156 GB, free: 7.895 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.9907, allocations: 0.7539 MB / 1.157 GB, free: 7.449 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002246/0.9909, allocations: 48.25 kB / 1.157 GB, free: 7.445 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002561/0.9935, allocations: 0.764 MB / 1.157 GB, free: 7.086 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0004134/0.9939, allocations: 370.5 kB / 1.158 GB, free: 6.848 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006256/0.9946, allocations: 330.2 kB / 1.158 GB, free: 6.648 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002859/0.9974, allocations: 1.972 MB / 1.16 GB, free: 5.273 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.9975, allocations: 0 / 1.16 GB, free: 5.273 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.983e-06/0.9975, allocations: 1.125 kB / 1.16 GB, free: 5.273 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.382e-05/0.9975, allocations: 0 / 1.16 GB, free: 5.273 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.00382/1.001, allocations: 1.799 MB / 1.162 GB, free: 3.906 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.001, allocations: 8.844 kB / 1.162 GB, free: 3.906 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003348/1.005, allocations: 463.8 kB / 1.162 GB, free: 3.699 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/1.007, allocations: 1.02 MB / 1.163 GB, free: 2.906 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/1.007, allocations: 117.8 kB / 1.163 GB, free: 2.852 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003026/1.007, allocations: 147.8 kB / 1.164 GB, free: 2.805 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/1.011, allocations: 1.691 MB / 1.165 GB, free: 1.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.79e-05/1.011, allocations: 5.062 kB / 1.165 GB, free: 1.727 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/1.011, allocations: 72.27 kB / 1.165 GB, free: 1.672 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.418e-05/1.011, allocations: 49.83 kB / 1.165 GB, free: 1.664 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003271/1.014, allocations: 1.706 MB / 1.167 GB, free: 0.8438 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.0095/1.024, allocations: 5.69 MB / 1.173 GB, free: 12.16 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002452/1.026, allocations: 1.474 MB / 1.174 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009899/1.027, allocations: 0.5377 MB / 1.174 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009557/1.028, allocations: 0.8836 MB / 1.175 GB, free: 9.992 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001315/1.03, allocations: 0.7326 MB / 1.176 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=117): time 3.427e-06/1.03, allocations: 0 / 1.176 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117): time 0.004719/1.034, allocations: 1.769 MB / 1.178 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000116/1.035, allocations: 196.2 kB / 1.178 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001469/1.036, allocations: 0.9123 MB / 1.179 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001619/1.036, allocations: 49.73 kB / 1.179 GB, free: 7.812 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005824/1.037, allocations: 0.6335 MB / 1.18 GB, free: 7.254 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003863/1.037, allocations: 391.5 kB / 1.18 GB, free: 6.914 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.537e-05/1.037, allocations: 18.88 kB / 1.18 GB, free: 6.898 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000159/1.037, allocations: 348.8 kB / 1.18 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008673/1.038, allocations: 419.8 kB / 1.181 GB, free: 6.355 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.039, allocations: 0.5603 MB / 1.181 GB, free: 6 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009867/1.04, allocations: 490 kB / 1.182 GB, free: 5.754 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/1.04, allocations: 4 kB / 1.182 GB, free: 5.75 MB / 0.7136 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003024/1.043, allocations: 1.266 MB / 1.183 GB, free: 5.109 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.549e-05/1.043, allocations: 9.672 kB / 1.183 GB, free: 5.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.156e-05/1.043, allocations: 3.938 kB / 1.183 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006453/1.044, allocations: 86.06 kB / 1.183 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001279/1.045, allocations: 278.8 kB / 1.183 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002159/1.048, allocations: 1.538 MB / 1.185 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/1.049, allocations: 153.8 kB / 1.185 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/1.049, allocations: 52.48 kB / 1.185 GB, free: 3.379 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.001043/1.05, allocations: 364.2 kB / 1.185 GB, free: 3.113 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004655/1.051, allocations: 125.8 kB / 1.185 GB, free: 3.051 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003669/1.055, allocations: 1.517 MB / 1.187 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.467e-05/1.055, allocations: 14.88 kB / 1.187 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.055, allocations: 3.938 kB / 1.187 GB, free: 2.18 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.445e-05/1.055, allocations: 3.984 kB / 1.187 GB, free: 2.176 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00617/1.061, allocations: 2.961 MB / 1.19 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/1.061, allocations: 0 / 1.19 GB, free: 272 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/1.062, allocations: 271.1 kB / 1.19 GB, free: 204 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000565/1.063, allocations: 95 kB / 1.19 GB, free: 152 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000113/1.063, allocations: 30.42 kB / 1.19 GB, free: 132 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/1.065, allocations: 1.56 MB / 1.192 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/1.065, allocations: 0 / 1.192 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004167/1.069, allocations: 2.032 MB / 1.194 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009865/1.07, allocations: 392.9 kB / 1.194 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003499/1.07, allocations: 21.84 kB / 1.194 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/1.072, allocations: 123.9 kB / 1.194 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001796/1.072, allocations: 81.41 kB / 1.194 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001552/1.072, allocations: 60.3 kB / 1.194 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.00114/1.073, allocations: 0.624 MB / 1.195 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.91e-07/1.073, allocations: 0 / 1.195 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001704/1.075, allocations: 0.4905 MB / 1.195 GB, free: 12.54 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.001706/1.077, allocations: 0.6559 MB / 1.196 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002713/1.079, allocations: 1.193 MB / 1.197 GB, free: 10.88 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.804e-06/1.08, allocations: 12.36 kB / 1.197 GB, free: 10.87 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001388/1.081, allocations: 0.7128 MB / 1.198 GB, free: 10.14 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003036/1.084, allocations: 0.5206 MB / 1.198 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007575/1.092, allocations: 3.537 MB / 1.202 GB, free: 6.062 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001153/1.093, allocations: 1.275 MB / 1.203 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002211/1.095, allocations: 421.9 kB / 1.204 GB, free: 4.34 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005664/1.096, allocations: 143.4 kB / 1.204 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of SimCode: time 1.443e-06/1.096, allocations: 0 / 1.204 GB, free: 4.199 MB / 0.7292 GB Notification: Performance of Templates: time 0.04378/1.139, allocations: 22.94 MB / 1.226 GB, free: 13.47 MB / 0.7605 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)