Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.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.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.661/1.661, allocations: 288.4 MB / 303.7 MB, free: 8.828 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.0009321/0.0009323, allocations: 176.5 kB / 372.3 MB, free: 6.418 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.48/1.48, allocations: 205.4 MB / 0.631 GB, free: 13.51 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.0008039/0.0008036, allocations: 89.92 kB / 0.7444 GB, free: 64.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000625/0.0006252, allocations: 12 kB / 0.8675 GB, free: 0.5742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3471/0.3477, allocations: 115.3 MB / 0.9801 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.8603/1.208, allocations: 151.3 MB / 1.128 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01847/1.227, allocations: 15.4 MB / 1.143 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/1.228, allocations: 20.53 kB / 1.143 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001142/1.229, allocations: 402.4 kB / 1.143 GB, free: 3.672 MB / 0.7448 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.003123/1.232, allocations: 1.124 MB / 1.144 GB, free: 3.055 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002845/1.235, allocations: 1.054 MB / 1.145 GB, free: 2.543 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002224/1.237, allocations: 2.279 MB / 1.148 GB, free: 1.5 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001726/1.239, allocations: 1.591 MB / 1.149 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/1.241, allocations: 0.9024 MB / 1.15 GB, free: 480 kB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006343/1.242, allocations: 0.6478 MB / 1.151 GB, free: 188 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001095/1.242, allocations: 38.22 kB / 1.151 GB, free: 188 kB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002367/1.244, allocations: 1.296 MB / 1.152 GB, free: 15.76 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0002913/1.245, allocations: 331.4 kB / 1.152 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006382/1.245, allocations: 0.7103 MB / 1.153 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001945/1.247, allocations: 2.054 MB / 1.155 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.247, allocations: 0 / 1.155 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.903e-06/1.247, allocations: 0 / 1.155 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 2.332e-05/1.247, allocations: 0 / 1.155 GB, free: 14.68 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: 414 * Number of variables: 414 Notification: Performance of Generate backend data structure: time 0.00285/1.25, allocations: 1.754 MB / 1.157 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/1.25, allocations: 13.62 kB / 1.157 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0031/1.253, allocations: 0.5121 MB / 1.157 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001468/1.255, allocations: 1.035 MB / 1.158 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-05/1.255, allocations: 125.7 kB / 1.158 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/1.255, allocations: 159.2 kB / 1.159 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002734/1.258, allocations: 1.743 MB / 1.16 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/1.258, allocations: 0 / 1.16 GB, free: 11.95 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/1.258, allocations: 74.84 kB / 1.16 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.641e-05/1.258, allocations: 40.28 kB / 1.16 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002809/1.261, allocations: 1.805 MB / 1.162 GB, free: 11.41 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.007135/1.268, allocations: 5.012 MB / 1.167 GB, free: 8.371 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002588/1.271, allocations: 1.658 MB / 1.169 GB, free: 7.5 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001103/1.272, allocations: 0.6253 MB / 1.169 GB, free: 7.254 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009077/1.273, allocations: 0.8176 MB / 1.17 GB, free: 6.383 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/1.274, allocations: 0.817 MB / 1.171 GB, free: 6.066 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=137): time 3.025e-06/1.274, allocations: 0 / 1.171 GB, free: 6.066 MB / 0.7605 GB Notification: Performance of matching and sorting (n=137): time 0.005576/1.28, allocations: 2.44 MB / 1.173 GB, free: 4.852 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001078/1.28, allocations: 201 kB / 1.173 GB, free: 4.633 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009499/1.281, allocations: 0.7525 MB / 1.174 GB, free: 4.316 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/1.281, allocations: 55.2 kB / 1.174 GB, free: 4.266 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004838/1.281, allocations: 0.6208 MB / 1.175 GB, free: 3.781 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003684/1.282, allocations: 457.5 kB / 1.175 GB, free: 3.418 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/1.282, allocations: 25.72 kB / 1.175 GB, free: 3.398 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001296/1.282, allocations: 352.6 kB / 1.176 GB, free: 3.074 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008933/1.283, allocations: 464 kB / 1.176 GB, free: 2.91 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/1.284, allocations: 0.6019 MB / 1.177 GB, free: 2.645 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001912/1.286, allocations: 1.065 MB / 1.178 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/1.286, allocations: 3.938 kB / 1.178 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003157/1.289, allocations: 1.464 MB / 1.179 GB, free: 1.57 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/1.289, allocations: 3.25 kB / 1.179 GB, free: 1.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/1.289, allocations: 2.969 kB / 1.179 GB, free: 1.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009029/1.29, allocations: 193.6 kB / 1.179 GB, free: 1.496 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/1.292, allocations: 326.1 kB / 1.18 GB, free: 1.469 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006253/1.298, allocations: 6.777 MB / 1.186 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001763/1.3, allocations: 157.5 kB / 1.186 GB, free: 10.64 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003205/1.3, allocations: 54.91 kB / 1.186 GB, free: 10.63 MB / 0.7761 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 ($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 (144): * Single equations (assignments): 139 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001325/1.301, allocations: 355.8 kB / 1.187 GB, free: 10.38 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005279/1.302, allocations: 124 kB / 1.187 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004761/1.307, allocations: 1.748 MB / 1.189 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.89e-05/1.307, allocations: 14.66 kB / 1.189 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-05/1.307, allocations: 3.25 kB / 1.189 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-05/1.307, allocations: 7.078 kB / 1.189 GB, free: 9.594 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007162/1.314, allocations: 3.248 MB / 1.192 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/1.314, allocations: 0 / 1.192 GB, free: 8.117 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001505/1.315, allocations: 309.6 kB / 1.192 GB, free: 8.098 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008855/1.316, allocations: 201.5 kB / 1.192 GB, free: 8.016 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001315/1.317, allocations: 35.23 kB / 1.192 GB, free: 8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006193/1.323, allocations: 6.799 MB / 1.199 GB, free: 1.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/1.323, allocations: 5.469 kB / 1.199 GB, free: 1.238 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004207/1.327, allocations: 1.603 MB / 1.201 GB, free: 0.5273 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/1.328, allocations: 403.1 kB / 1.201 GB, free: 264 kB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003036/1.328, allocations: 30.59 kB / 1.201 GB, free: 240 kB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/1.33, allocations: 128 kB / 1.201 GB, free: 204 kB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002805/1.33, allocations: 97.89 kB / 1.201 GB, free: 192 kB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002172/1.33, allocations: 66.33 kB / 1.201 GB, free: 180 kB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001106/1.331, allocations: 0.5314 MB / 1.202 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of sort global known variables: time 1.31e-07/1.331, allocations: 0 / 1.202 GB, free: 15.95 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.002103/1.334, allocations: 0.5351 MB / 1.202 GB, free: 15.79 MB / 0.7917 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.conTim.tNext,weaDat.conTimMin.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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001931/1.336, allocations: 0.6761 MB / 1.203 GB, free: 15.45 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.003723/1.339, allocations: 1.785 MB / 1.205 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-05/1.339, allocations: 6.781 kB / 1.205 GB, free: 14.48 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002107/1.341, allocations: 1.26 MB / 1.206 GB, free: 13.68 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002666/1.344, allocations: 463.1 kB / 1.206 GB, free: 13.55 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007925/1.352, allocations: 3.471 MB / 1.21 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001436/1.354, allocations: 1.268 MB / 1.211 GB, free: 10.88 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00253/1.356, allocations: 418.1 kB / 1.211 GB, free: 10.76 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006786/1.357, allocations: 150.7 kB / 1.212 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of SimCode: time 9.62e-07/1.357, allocations: 0 / 1.212 GB, free: 10.73 MB / 0.7917 GB Notification: Performance of Templates: time 0.05146/1.408, allocations: 23.91 MB / 1.235 GB, free: 4.625 MB / 0.7917 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)