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.0008141/0.0008139, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008214/0.0008218, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.554/1.554, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.601/1.601, allocations: 252 MB / 0.5102 GB, free: 4.762 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.0005195/0.0005196, allocations: 12 kB / 0.6243 GB, free: 1.07 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.599/0.5996, allocations: 106.3 MB / 0.7281 GB, free: 11.39 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1841/0.7838, allocations: 151.6 MB / 0.8761 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02296/0.8068, allocations: 15.52 MB / 0.8913 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.8086, allocations: 27.81 kB / 0.8913 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.001468/0.8101, allocations: 365.4 kB / 0.8917 GB, free: 3.461 MB / 0.7012 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.004551/0.8147, allocations: 1.051 MB / 0.8927 GB, free: 2.406 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004089/0.8188, allocations: 1.125 MB / 0.8938 GB, free: 1.293 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.003804/0.8226, allocations: 2.48 MB / 0.8962 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002405/0.825, allocations: 1.437 MB / 0.8976 GB, free: 13.35 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002218/0.8273, allocations: 0.9493 MB / 0.8985 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.8285, allocations: 0.6802 MB / 0.8992 GB, free: 11.71 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001569/0.8287, allocations: 40 kB / 0.8992 GB, free: 11.67 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002436/0.8312, allocations: 0.8422 MB / 0.9001 GB, free: 10.83 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004364/0.8316, allocations: 366.5 kB / 0.9004 GB, free: 10.47 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00047/0.8321, allocations: 324.8 kB / 0.9007 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.002694/0.8348, allocations: 2.1 MB / 0.9028 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8348, allocations: 0 / 0.9028 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.933e-06/0.8348, allocations: 0 / 0.9028 GB, free: 8.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.128e-05/0.8349, allocations: 4 kB / 0.9028 GB, free: 8.035 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.003447/0.8383, allocations: 1.792 MB / 0.9045 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/0.8384, allocations: 8.031 kB / 0.9045 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/0.8418, allocations: 0.509 MB / 0.905 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/0.8437, allocations: 1.02 MB / 0.906 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001234/0.8438, allocations: 119.3 kB / 0.9061 GB, free: 4.484 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.844, allocations: 171.9 kB / 0.9063 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003268/0.8473, allocations: 1.772 MB / 0.908 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/0.8473, allocations: 7.891 kB / 0.908 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001653/0.8475, allocations: 79.97 kB / 0.9081 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.8475, allocations: 40 kB / 0.9082 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003173/0.8507, allocations: 1.808 MB / 0.9099 GB, free: 0.5547 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4713/1.322, allocations: 5.043 MB / 0.9148 GB, free: 178 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002777/1.325, allocations: 1.319 MB / 0.9161 GB, free: 177.6 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001161/1.326, allocations: 0.6178 MB / 0.9167 GB, free: 177.3 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007901/1.327, allocations: 0.8085 MB / 0.9175 GB, free: 176.5 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001856/1.329, allocations: 0.836 MB / 0.9183 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=137): time 3.487e-06/1.329, allocations: 2.312 kB / 0.9183 GB, free: 176.2 MB / 0.7169 GB Notification: Performance of matching and sorting (n=137): time 0.00645/1.335, allocations: 2.423 MB / 0.9207 GB, free: 175 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.966e-05/1.335, allocations: 197.4 kB / 0.9209 GB, free: 174.8 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/1.337, allocations: 0.783 MB / 0.9217 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002049/1.337, allocations: 58.89 kB / 0.9217 GB, free: 174.4 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000615/1.338, allocations: 0.6302 MB / 0.9223 GB, free: 173.9 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004386/1.338, allocations: 462 kB / 0.9228 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.697e-05/1.338, allocations: 25.25 kB / 0.9228 GB, free: 173.6 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001032/1.338, allocations: 352.8 kB / 0.9231 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00114/1.339, allocations: 454.1 kB / 0.9236 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001082/1.341, allocations: 0.5896 MB / 0.9241 GB, free: 172.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/1.342, allocations: 0.5171 MB / 0.9246 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.342, allocations: 1.375 kB / 0.9246 GB, free: 172.6 MB / 0.7169 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003547/1.345, allocations: 1.44 MB / 0.9261 GB, free: 172 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.768e-05/1.345, allocations: 3.688 kB / 0.9261 GB, free: 172 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/1.345, allocations: 1.875 kB / 0.9261 GB, free: 172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009088/1.346, allocations: 192.9 kB / 0.9262 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/1.348, allocations: 309.8 kB / 0.9265 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004188/1.352, allocations: 6.761 MB / 0.9331 GB, free: 164.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/1.353, allocations: 160.6 kB / 0.9333 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001038/1.354, allocations: 54.8 kB / 0.9333 GB, free: 164.8 MB / 0.7169 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.0008877/1.354, allocations: 379.7 kB / 0.9337 GB, free: 164.5 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000223/1.355, allocations: 125.3 kB / 0.9338 GB, free: 164.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003376/1.358, allocations: 1.729 MB / 0.9355 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.19e-05/1.358, allocations: 15.73 kB / 0.9355 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/1.358, allocations: 3.906 kB / 0.9355 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.379e-05/1.358, allocations: 7.969 kB / 0.9355 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001895/1.36, allocations: 1.434 MB / 0.9369 GB, free: 162.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/1.36, allocations: 6.344 kB / 0.937 GB, free: 162.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00128/1.361, allocations: 293.6 kB / 0.9372 GB, free: 162.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007271/1.362, allocations: 200.7 kB / 0.9374 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.652e-05/1.362, allocations: 35.47 kB / 0.9375 GB, free: 162.2 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00392/1.366, allocations: 6.811 MB / 0.9441 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.366, allocations: 0 / 0.9441 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003004/1.369, allocations: 1.518 MB / 0.9456 GB, free: 153.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006754/1.37, allocations: 403 kB / 0.946 GB, free: 153.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/1.37, allocations: 28 kB / 0.946 GB, free: 153.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001046/1.371, allocations: 141 kB / 0.9461 GB, free: 153 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002067/1.371, allocations: 105.1 kB / 0.9462 GB, free: 152.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001136/1.371, allocations: 67.94 kB / 0.9463 GB, free: 152.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0006284/1.372, allocations: 0.538 MB / 0.9468 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.71e-07/1.372, allocations: 8.938 kB / 0.9468 GB, free: 152.3 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001444/1.373, allocations: 0.5406 MB / 0.9474 GB, free: 151.8 MB / 0.7169 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 (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.001444/1.375, allocations: 0.6666 MB / 0.948 GB, free: 151.3 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002669/1.378, allocations: 1.765 MB / 0.9497 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.653e-06/1.378, allocations: 0.6562 kB / 0.9497 GB, free: 149.5 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001622/1.379, allocations: 1.262 MB / 0.951 GB, free: 148.2 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/1.381, allocations: 461.4 kB / 0.9514 GB, free: 147.7 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005551/1.387, allocations: 3.503 MB / 0.9548 GB, free: 144.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006336/1.388, allocations: 1.29 MB / 0.9561 GB, free: 142.9 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001861/1.39, allocations: 421.6 kB / 0.9565 GB, free: 142.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003499/1.39, allocations: 135.4 kB / 0.9566 GB, free: 142.3 MB / 0.7169 GB Notification: Performance of SimCode: time 7.71e-07/1.39, allocations: 4 kB / 0.9566 GB, free: 142.3 MB / 0.7169 GB Notification: Performance of Templates: time 0.03573/1.426, allocations: 23.99 MB / 0.9801 GB, free: 118.7 MB / 0.7169 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: