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 1.708/1.708, allocations: 287.5 MB / 302.6 MB, free: 8.219 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.001127/0.001128, allocations: 176.5 kB / 371.2 MB, free: 10.83 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.393/1.393, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0009118/0.000912, allocations: 96.53 kB / 0.7432 GB, free: 6.551 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000453/0.0004533, allocations: 10.97 kB / 0.8661 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2541, allocations: 115.3 MB / 0.9787 GB, free: 28.21 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.7034/0.9575, allocations: 158.8 MB / 1.134 GB, free: 132 kB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01678/0.9744, allocations: 14.11 MB / 1.148 GB, free: 11.33 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001761/0.9762, allocations: 28.66 kB / 1.148 GB, free: 11.32 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001401/0.9776, allocations: 400.9 kB / 1.148 GB, free: 11.14 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.004088/0.9817, allocations: 1.066 MB / 1.149 GB, free: 10.66 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004659/0.9864, allocations: 1.227 MB / 1.15 GB, free: 10.35 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005624/0.992, allocations: 2.7 MB / 1.153 GB, free: 9.688 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004584/0.9966, allocations: 1.545 MB / 1.154 GB, free: 9.016 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003878/1.001, allocations: 0.9745 MB / 1.155 GB, free: 8.523 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002593/1.003, allocations: 0.756 MB / 1.156 GB, free: 8.078 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0006863/1.004, allocations: 48.59 kB / 1.156 GB, free: 8.074 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004104/1.008, allocations: 0.7638 MB / 1.157 GB, free: 7.715 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001175/1.009, allocations: 371.3 kB / 1.157 GB, free: 7.477 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001267/1.01, allocations: 326.2 kB / 1.157 GB, free: 7.281 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004667/1.015, allocations: 1.979 MB / 1.159 GB, free: 5.898 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.433e-06/1.015, allocations: 3.938 kB / 1.159 GB, free: 5.895 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.645e-06/1.015, allocations: 1.031 kB / 1.159 GB, free: 5.895 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001423/1.015, allocations: 0 / 1.159 GB, free: 5.895 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.007136/1.022, allocations: 1.777 MB / 1.161 GB, free: 4.531 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.693e-05/1.023, allocations: 9.594 kB / 1.161 GB, free: 4.531 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00519/1.028, allocations: 462.6 kB / 1.162 GB, free: 4.324 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003821/1.032, allocations: 1.06 MB / 1.163 GB, free: 3.492 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/1.032, allocations: 117.4 kB / 1.163 GB, free: 3.438 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005643/1.032, allocations: 151.1 kB / 1.163 GB, free: 3.387 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005992/1.038, allocations: 1.696 MB / 1.165 GB, free: 2.309 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.178e-05/1.039, allocations: 4.969 kB / 1.165 GB, free: 2.305 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003589/1.039, allocations: 72.86 kB / 1.165 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.336e-05/1.039, allocations: 42.69 kB / 1.165 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005241/1.044, allocations: 1.705 MB / 1.166 GB, free: 1.43 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.01268/1.057, allocations: 5.698 MB / 1.172 GB, free: 12.74 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00242/1.059, allocations: 1.477 MB / 1.173 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009278/1.06, allocations: 0.5327 MB / 1.174 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008913/1.061, allocations: 0.888 MB / 1.175 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/1.063, allocations: 0.7252 MB / 1.175 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=117): time 3.757e-06/1.063, allocations: 0 / 1.175 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117): time 0.00455/1.067, allocations: 1.768 MB / 1.177 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.461e-05/1.067, allocations: 193.9 kB / 1.177 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001227/1.069, allocations: 0.9065 MB / 1.178 GB, free: 8.449 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/1.069, allocations: 49.61 kB / 1.178 GB, free: 8.402 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005413/1.069, allocations: 0.6295 MB / 1.179 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003283/1.07, allocations: 399.5 kB / 1.179 GB, free: 7.5 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.685e-05/1.07, allocations: 26.25 kB / 1.179 GB, free: 7.48 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001438/1.07, allocations: 349.7 kB / 1.18 GB, free: 7.141 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007966/1.071, allocations: 412.2 kB / 1.18 GB, free: 6.938 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009205/1.072, allocations: 0.5666 MB / 1.181 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001745/1.073, allocations: 0.9912 MB / 1.182 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/1.073, allocations: 0 / 1.182 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.002675/1.076, allocations: 1.262 MB / 1.183 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/1.076, allocations: 6.219 kB / 1.183 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/1.076, allocations: 2.594 kB / 1.183 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005754/1.077, allocations: 83.59 kB / 1.183 GB, free: 5.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/1.078, allocations: 280.9 kB / 1.183 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00192/1.08, allocations: 1.541 MB / 1.185 GB, free: 3.762 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/1.081, allocations: 152.6 kB / 1.185 GB, free: 3.668 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.055e-05/1.081, allocations: 48.62 kB / 1.185 GB, free: 3.652 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.0007155/1.082, allocations: 367.1 kB / 1.185 GB, free: 3.383 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001923/1.082, allocations: 129.6 kB / 1.185 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003089/1.085, allocations: 1.51 MB / 1.187 GB, free: 2.461 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/1.085, allocations: 18.23 kB / 1.187 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.085, allocations: 0 / 1.187 GB, free: 2.457 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/1.085, allocations: 7.969 kB / 1.187 GB, free: 2.449 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004945/1.09, allocations: 2.957 MB / 1.19 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/1.09, allocations: 0 / 1.19 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/1.092, allocations: 270.9 kB / 1.19 GB, free: 488 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/1.092, allocations: 87.08 kB / 1.19 GB, free: 444 kB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-05/1.092, allocations: 34.84 kB / 1.19 GB, free: 420 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001795/1.094, allocations: 1.555 MB / 1.192 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/1.094, allocations: 4.062 kB / 1.192 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003702/1.098, allocations: 2.029 MB / 1.194 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007833/1.098, allocations: 389.2 kB / 1.194 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001678/1.099, allocations: 21.47 kB / 1.194 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/1.1, allocations: 123 kB / 1.194 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001613/1.1, allocations: 90.34 kB / 1.194 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/1.1, allocations: 59.92 kB / 1.194 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0008316/1.101, allocations: 0.6218 MB / 1.195 GB, free: 12.96 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/1.101, allocations: 3.938 kB / 1.195 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001267/1.102, allocations: 0.4985 MB / 1.195 GB, free: 12.78 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.001352/1.103, allocations: 0.6568 MB / 1.196 GB, free: 12.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.002346/1.106, allocations: 1.189 MB / 1.197 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/1.106, allocations: 8.297 kB / 1.197 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/1.107, allocations: 0.7168 MB / 1.198 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00227/1.109, allocations: 0.4916 MB / 1.198 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006346/1.116, allocations: 3.545 MB / 1.202 GB, free: 6.293 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008434/1.117, allocations: 1.275 MB / 1.203 GB, free: 4.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001856/1.118, allocations: 433.9 kB / 1.203 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004455/1.119, allocations: 143.4 kB / 1.204 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of SimCode: time 8.92e-07/1.119, allocations: 0 / 1.204 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of Templates: time 0.04135/1.16, allocations: 22.99 MB / 1.226 GB, free: 13.64 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)