Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") translateModel(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000773/0.000773, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004612/0.004612, allocations: 171.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.526/1.526, allocations: 252 MB / 0.5105 GB, free: 4.637 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005071, allocations: 12 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.5506, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1864/0.737, allocations: 162.5 MB / 0.8874 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0231/0.7602, allocations: 16.54 MB / 0.9035 GB, free: 7.617 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001666/0.7619, allocations: 27.81 kB / 0.9035 GB, free: 7.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001758/0.7637, allocations: 441.3 kB / 0.904 GB, free: 7.156 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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 7.0.3-maint.7.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.005096/0.7688, allocations: 1.224 MB / 0.9052 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004378/0.7732, allocations: 1.285 MB / 0.9064 GB, free: 4.656 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004133/0.7773, allocations: 2.796 MB / 0.9091 GB, free: 1.848 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003285/0.7806, allocations: 1.655 MB / 0.9108 GB, free: 164 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.5836/1.364, allocations: 1.018 MB / 0.9118 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002139/1.366, allocations: 0.7171 MB / 0.9125 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003763/1.367, allocations: 42.59 kB / 0.9125 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003696/1.37, allocations: 1.326 MB / 0.9138 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006462/1.371, allocations: 373.5 kB / 0.9141 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001419/1.373, allocations: 0.7687 MB / 0.9149 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006381/1.379, allocations: 2.772 MB / 0.9176 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.379, allocations: 1.594 kB / 0.9176 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.465e-06/1.379, allocations: 0.8438 kB / 0.9176 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.539e-05/1.379, allocations: 0 / 0.9176 GB, free: 4.141 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 422 * Number of variables: 422 Notification: Performance of Generate backend data structure: time 0.004848/1.384, allocations: 1.784 MB / 0.9194 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/1.384, allocations: 9.438 kB / 0.9194 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004004/1.388, allocations: 0.5106 MB / 0.9199 GB, free: 3.051 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/1.39, allocations: 1.053 MB / 0.9209 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001673/1.391, allocations: 126.2 kB / 0.921 GB, free: 2.688 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003222/1.391, allocations: 161.9 kB / 0.9212 GB, free: 2.684 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004729/1.396, allocations: 1.788 MB / 0.9229 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.66e-05/1.396, allocations: 1.875 kB / 0.9229 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002977/1.396, allocations: 74.12 kB / 0.923 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-05/1.396, allocations: 40.81 kB / 0.923 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004239/1.4, allocations: 1.827 MB / 0.9248 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009722/1.41, allocations: 5.056 MB / 0.9297 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002429/1.413, allocations: 1.329 MB / 0.931 GB, free: 16.6 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/1.414, allocations: 0.6217 MB / 0.9316 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009442/1.415, allocations: 0.812 MB / 0.9324 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/1.416, allocations: 0.8315 MB / 0.9333 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=137): time 3.496e-06/1.416, allocations: 0 / 0.9333 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of matching and sorting (n=137): time 0.006365/1.423, allocations: 2.438 MB / 0.9356 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001907/1.423, allocations: 196 kB / 0.9358 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001656/1.424, allocations: 0.788 MB / 0.9366 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003/1.425, allocations: 56.45 kB / 0.9366 GB, free: 14.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008267/1.426, allocations: 0.6286 MB / 0.9373 GB, free: 14.29 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004351/1.426, allocations: 470 kB / 0.9377 GB, free: 14 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001662/1.426, allocations: 104.8 kB / 0.9378 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000177/1.426, allocations: 353.1 kB / 0.9381 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000889/1.427, allocations: 451.3 kB / 0.9386 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/1.428, allocations: 0.599 MB / 0.9392 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002091/1.43, allocations: 1.045 MB / 0.9402 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.13e-06/1.43, allocations: 3.188 kB / 0.9402 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003393/1.434, allocations: 1.456 MB / 0.9416 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/1.434, allocations: 2.938 kB / 0.9416 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.091e-05/1.434, allocations: 3.188 kB / 0.9416 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008972/1.435, allocations: 192.6 kB / 0.9418 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001383/1.436, allocations: 309.4 kB / 0.9421 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005899/1.442, allocations: 6.78 MB / 0.9487 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001741/1.444, allocations: 156.5 kB / 0.9489 GB, free: 6.902 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/1.444, allocations: 54.75 kB / 0.9489 GB, free: 6.902 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001086/1.445, allocations: 371.6 kB / 0.9493 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002566/1.445, allocations: 123.9 kB / 0.9494 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003759/1.449, allocations: 1.737 MB / 0.9511 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.449, allocations: 14.19 kB / 0.9511 GB, free: 6.535 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/1.449, allocations: 7.156 kB / 0.9511 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/1.449, allocations: 6.328 kB / 0.9511 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001944/1.451, allocations: 1.434 MB / 0.9525 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.451, allocations: 0 / 0.9525 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001307/1.452, allocations: 298 kB / 0.9528 GB, free: 6.293 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008254/1.453, allocations: 195 kB / 0.953 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.342e-05/1.453, allocations: 36.19 kB / 0.953 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005523/1.459, allocations: 6.815 MB / 0.9597 GB, free: 15.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.459, allocations: 6.781 kB / 0.9597 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003758/1.463, allocations: 1.532 MB / 0.9612 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001031/1.464, allocations: 395.6 kB / 0.9615 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003567/1.464, allocations: 37.47 kB / 0.9616 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/1.466, allocations: 138.5 kB / 0.9617 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002648/1.466, allocations: 102.3 kB / 0.9618 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001909/1.466, allocations: 64.19 kB / 0.9619 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001005/1.467, allocations: 0.5509 MB / 0.9624 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.4e-07/1.467, allocations: 0 / 0.9624 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002211/1.469, allocations: 0.5475 MB / 0.9629 GB, free: 15.29 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002249/1.472, allocations: 0.6675 MB / 0.9636 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003423/1.475, allocations: 1.775 MB / 0.9653 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.475, allocations: 0.6562 kB / 0.9653 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001966/1.477, allocations: 1.258 MB / 0.9666 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003013/1.48, allocations: 474.5 kB / 0.967 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007926/1.488, allocations: 3.597 MB / 0.9705 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001439/1.49, allocations: 1.28 MB / 0.9718 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002611/1.492, allocations: 423 kB / 0.9722 GB, free: 11.22 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006554/1.493, allocations: 138.6 kB / 0.9723 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of SimCode: time 1.342e-06/1.493, allocations: 0 / 0.9723 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of Templates: time 0.04763/1.541, allocations: 24.77 MB / 0.9965 GB, free: 0.8906 MB / 0.7481 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) Environment - environmentSimulation: