Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp") translateModel(Buildings.Fluid.Sources.Examples.Outside_Cp,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.605/1.605, allocations: 292.3 MB / 308.1 MB, free: 4.305 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.00133/0.00133, allocations: 190.2 kB / 376.9 MB, free: 1.809 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.38/1.38, allocations: 205.1 MB / 0.6354 GB, free: 9.785 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.000945/0.0009452, allocations: 100.8 kB / 0.748 GB, free: 61.13 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 55.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2518, allocations: 114.5 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.6557/0.9076, allocations: 172.6 MB / 1.151 GB, free: 8.789 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.02168/0.9294, allocations: 15.24 MB / 1.166 GB, free: 13.96 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002074/0.9315, allocations: 31.31 kB / 1.166 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.9334, allocations: 491.3 kB / 1.166 GB, free: 13.69 MB / 0.7761 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.1.4-maint.8.1.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.004447/0.938, allocations: 1.245 MB / 1.167 GB, free: 13 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004496/0.9425, allocations: 1.457 MB / 1.169 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.004119/0.9466, allocations: 3.075 MB / 1.172 GB, free: 10.97 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002399/0.949, allocations: 1.66 MB / 1.173 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005117/0.9542, allocations: 1.168 MB / 1.175 GB, free: 9.742 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.9557, allocations: 0.9396 MB / 1.175 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002995/0.956, allocations: 100 kB / 1.176 GB, free: 9.309 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002993/0.959, allocations: 1.326 MB / 1.177 GB, free: 8.855 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0004705/0.9595, allocations: 466.5 kB / 1.177 GB, free: 8.633 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0009881/0.9605, allocations: 0.8553 MB / 1.178 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.003306/0.9638, allocations: 2.701 MB / 1.181 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9638, allocations: 0 / 1.181 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.501e-06/0.9639, allocations: 0 / 1.181 GB, free: 7.055 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.235e-05/0.9639, allocations: 3.938 kB / 1.181 GB, free: 7.051 MB / 0.7761 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.003924/0.9678, allocations: 2.136 MB / 1.183 GB, free: 5.707 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.9679, allocations: 20.7 kB / 1.183 GB, free: 5.699 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002888/0.9708, allocations: 452 kB / 1.183 GB, free: 5.582 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001683/0.9725, allocations: 1.059 MB / 1.184 GB, free: 4.934 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.89e-05/0.9726, allocations: 115.9 kB / 1.184 GB, free: 4.883 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.9728, allocations: 149.3 kB / 1.185 GB, free: 4.832 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002755/0.9755, allocations: 1.7 MB / 1.186 GB, free: 4.07 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.9756, allocations: 6.781 kB / 1.186 GB, free: 4.066 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.9757, allocations: 66.22 kB / 1.186 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-05/0.9758, allocations: 40.09 kB / 1.186 GB, free: 4.02 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003123/0.9789, allocations: 1.717 MB / 1.188 GB, free: 3.562 MB / 0.7761 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.009022/0.9879, allocations: 5.669 MB / 1.194 GB, free: 15.82 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002517/0.9905, allocations: 1.478 MB / 1.195 GB, free: 15.07 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009596/0.9915, allocations: 0.5343 MB / 1.196 GB, free: 14.87 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008589/0.9923, allocations: 0.884 MB / 1.196 GB, free: 13.91 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001314/0.9937, allocations: 0.7319 MB / 1.197 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=117): time 2.875e-06/0.9937, allocations: 0 / 1.197 GB, free: 13.62 MB / 0.7917 GB Notification: Performance of matching and sorting (n=117): time 0.004605/0.9983, allocations: 1.758 MB / 1.199 GB, free: 12.92 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001103/0.9984, allocations: 197.2 kB / 1.199 GB, free: 12.7 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00125/0.9997, allocations: 0.9158 MB / 1.2 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.391e-05/0.9998, allocations: 49.58 kB / 1.2 GB, free: 12.27 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005129/1, allocations: 0.6322 MB / 1.201 GB, free: 11.78 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003439/1.001, allocations: 396.2 kB / 1.201 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003459/1.001, allocations: 221.7 kB / 1.201 GB, free: 11.37 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001508/1.001, allocations: 349.4 kB / 1.201 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008758/1.002, allocations: 416.4 kB / 1.202 GB, free: 10.9 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/1.003, allocations: 0.5542 MB / 1.202 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001976/1.005, allocations: 0.9889 MB / 1.203 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.27e-06/1.005, allocations: 1.125 kB / 1.203 GB, free: 10.16 MB / 0.7917 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003124/1.008, allocations: 1.261 MB / 1.205 GB, free: 9.668 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.683e-05/1.008, allocations: 5.312 kB / 1.205 GB, free: 9.668 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/1.008, allocations: 2.562 kB / 1.205 GB, free: 9.668 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006256/1.009, allocations: 86.33 kB / 1.205 GB, free: 9.648 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/1.01, allocations: 274.6 kB / 1.205 GB, free: 9.629 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/1.012, allocations: 1.539 MB / 1.206 GB, free: 8.184 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001348/1.014, allocations: 147.8 kB / 1.207 GB, free: 8.109 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001264/1.014, allocations: 57.55 kB / 1.207 GB, free: 8.094 MB / 0.7917 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * 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 (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.0007862/1.014, allocations: 359.4 kB / 1.207 GB, free: 7.848 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/1.015, allocations: 127.6 kB / 1.207 GB, free: 7.785 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00348/1.018, allocations: 1.512 MB / 1.209 GB, free: 7.176 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.539e-05/1.018, allocations: 12.44 kB / 1.209 GB, free: 7.176 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/1.018, allocations: 1.156 kB / 1.209 GB, free: 7.176 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.319e-05/1.018, allocations: 6.797 kB / 1.209 GB, free: 7.176 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006112/1.024, allocations: 2.955 MB / 1.212 GB, free: 5.859 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/1.024, allocations: 3.938 kB / 1.212 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/1.026, allocations: 265.6 kB / 1.212 GB, free: 5.832 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005576/1.026, allocations: 87.88 kB / 1.212 GB, free: 5.809 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/1.026, allocations: 33.69 kB / 1.212 GB, free: 5.793 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002073/1.029, allocations: 1.568 MB / 1.213 GB, free: 4.328 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/1.029, allocations: 0 / 1.213 GB, free: 4.328 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01249/1.041, allocations: 5.403 MB / 1.219 GB, free: 1.289 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.042, allocations: 376 kB / 1.219 GB, free: 1.035 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003198/1.042, allocations: 22.41 kB / 1.219 GB, free: 1.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001322/1.044, allocations: 113.3 kB / 1.219 GB, free: 0.9844 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002703/1.044, allocations: 80.88 kB / 1.219 GB, free: 0.9727 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/1.044, allocations: 61.38 kB / 1.219 GB, free: 0.957 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001291/1.046, allocations: 0.6334 MB / 1.22 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of sort global known variables: time 2.11e-07/1.046, allocations: 1.312 kB / 1.22 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002488/1.048, allocations: 0.6013 MB / 1.221 GB, free: 0.5391 MB / 0.7917 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 (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.001979/1.05, allocations: 0.7481 MB / 1.221 GB, free: 180 kB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002985/1.053, allocations: 1.198 MB / 1.222 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.696e-06/1.053, allocations: 1.75 kB / 1.222 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001588/1.055, allocations: 0.7196 MB / 1.223 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003024/1.058, allocations: 0.5073 MB / 1.224 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00804/1.066, allocations: 4.191 MB / 1.228 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001286/1.067, allocations: 1.303 MB / 1.229 GB, free: 11.97 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.00228/1.069, allocations: 428.5 kB / 1.229 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004727/1.07, allocations: 150.8 kB / 1.23 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of SimCode: time 8.31e-07/1.07, allocations: 0 / 1.23 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of Templates: time 0.04765/1.118, allocations: 25.52 MB / 1.254 GB, free: 11.98 MB / 0.823 GB make -j1 -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.makefile (rm -f Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & ./Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1)