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.001063/0.001068, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.0011/0.0011, allocations: 194.7 kB / 16.14 MB, free: 6.703 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.491/1.491, allocations: 205.1 MB / 222 MB, free: 4.969 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.542/1.542, allocations: 251.7 MB / 0.5088 GB, free: 3.348 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.001357/0.001357, allocations: 63.91 kB / 0.6216 GB, free: 2 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4871/0.4884, allocations: 104.7 MB / 0.7238 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1956/0.6841, allocations: 164.7 MB / 0.8846 GB, free: 7.848 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02227/0.7064, allocations: 16.75 MB / 0.901 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002058/0.7085, allocations: 27.81 kB / 0.901 GB, free: 7.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002119/0.7107, allocations: 441.4 kB / 0.9014 GB, free: 6.582 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.00525/0.716, allocations: 1.228 MB / 0.9026 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004777/0.7208, allocations: 1.289 MB / 0.9039 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004515/0.7253, allocations: 2.796 MB / 0.9066 GB, free: 1.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.5283/1.254, allocations: 1.781 MB / 0.9083 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006777/1.26, allocations: 1.18 MB / 0.9095 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/1.263, allocations: 0.9013 MB / 0.9104 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006313/1.264, allocations: 107.2 kB / 0.9105 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004168/1.268, allocations: 1.396 MB / 0.9118 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008573/1.269, allocations: 479.3 kB / 0.9123 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001732/1.27, allocations: 0.8768 MB / 0.9131 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00571/1.276, allocations: 2.862 MB / 0.9159 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/1.276, allocations: 0 / 0.9159 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.756e-06/1.276, allocations: 1 kB / 0.9159 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.907e-05/1.276, allocations: 0 / 0.9159 GB, free: 3.453 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.005928/1.282, allocations: 2.179 MB / 0.9181 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/1.282, allocations: 9.594 kB / 0.9181 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004374/1.287, allocations: 0.4981 MB / 0.9186 GB, free: 18.31 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002927/1.29, allocations: 1.058 MB / 0.9196 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001837/1.29, allocations: 122.8 kB / 0.9197 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004236/1.29, allocations: 164.4 kB / 0.9199 GB, free: 17.94 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004104/1.294, allocations: 1.779 MB / 0.9216 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.562e-05/1.294, allocations: 6.25 kB / 0.9216 GB, free: 17.76 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001939/1.295, allocations: 78.5 kB / 0.9217 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/1.295, allocations: 39.88 kB / 0.9217 GB, free: 17.75 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003419/1.298, allocations: 1.812 MB / 0.9235 GB, free: 17.73 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008832/1.307, allocations: 5.02 MB / 0.9284 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/1.31, allocations: 1.334 MB / 0.9297 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001056/1.311, allocations: 0.6146 MB / 0.9303 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/1.312, allocations: 0.8078 MB / 0.9311 GB, free: 15 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001517/1.313, allocations: 0.8303 MB / 0.9319 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=137): time 3.076e-06/1.313, allocations: 0 / 0.9319 GB, free: 14.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=137): time 0.005924/1.319, allocations: 2.411 MB / 0.9343 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/1.319, allocations: 201.5 kB / 0.9345 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001289/1.321, allocations: 0.7851 MB / 0.9352 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0002311/1.321, allocations: 59.02 kB / 0.9353 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005432/1.321, allocations: 0.631 MB / 0.9359 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003798/1.322, allocations: 459.1 kB / 0.9363 GB, free: 13.26 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004032/1.322, allocations: 243 kB / 0.9366 GB, free: 13.24 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001487/1.322, allocations: 352.9 kB / 0.9369 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008895/1.323, allocations: 457.5 kB / 0.9373 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/1.324, allocations: 0.5874 MB / 0.9379 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001857/1.326, allocations: 1.039 MB / 0.9389 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.142e-06/1.326, allocations: 4 kB / 0.9389 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003378/1.33, allocations: 1.441 MB / 0.9403 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/1.33, allocations: 6.719 kB / 0.9403 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.267e-06/1.33, allocations: 0 / 0.9403 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009531/1.331, allocations: 197.6 kB / 0.9405 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001441/1.332, allocations: 302.8 kB / 0.9408 GB, free: 12.55 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00582/1.338, allocations: 6.769 MB / 0.9474 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00236/1.34, allocations: 153 kB / 0.9476 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001994/1.34, allocations: 50.09 kB / 0.9476 GB, free: 6.18 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.001408/1.342, allocations: 370.2 kB / 0.948 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004907/1.342, allocations: 130.6 kB / 0.9481 GB, free: 5.996 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00384/1.346, allocations: 1.719 MB / 0.9498 GB, free: 5.812 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.935e-05/1.346, allocations: 21.55 kB / 0.9498 GB, free: 5.805 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/1.346, allocations: 6.312 kB / 0.9498 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/1.346, allocations: 9.281 kB / 0.9498 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002148/1.348, allocations: 1.436 MB / 0.9512 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.162e-06/1.348, allocations: 0 / 0.9512 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001395/1.35, allocations: 295.9 kB / 0.9515 GB, free: 5.555 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008411/1.351, allocations: 192.8 kB / 0.9517 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.989e-05/1.351, allocations: 34.66 kB / 0.9517 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005481/1.356, allocations: 6.805 MB / 0.9584 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.356, allocations: 3.938 kB / 0.9584 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/1.36, allocations: 1.523 MB / 0.9599 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007902/1.361, allocations: 386.1 kB / 0.9602 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/1.361, allocations: 28.86 kB / 0.9602 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/1.362, allocations: 127.1 kB / 0.9604 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002503/1.363, allocations: 103.9 kB / 0.9605 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/1.363, allocations: 67.64 kB / 0.9605 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0008126/1.364, allocations: 0.5483 MB / 0.9611 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.71e-07/1.364, allocations: 0 / 0.9611 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001904/1.366, allocations: 0.5413 MB / 0.9616 GB, free: 14.56 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.001704/1.367, allocations: 0.6853 MB / 0.9623 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003037/1.37, allocations: 1.752 MB / 0.964 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/1.37, allocations: 4.062 kB / 0.964 GB, free: 13.74 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001809/1.372, allocations: 1.25 MB / 0.9652 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002296/1.374, allocations: 469.6 kB / 0.9656 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006502/1.381, allocations: 3.547 MB / 0.9691 GB, free: 11.36 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009962/1.382, allocations: 1.284 MB / 0.9704 GB, free: 10.61 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002134/1.384, allocations: 419.1 kB / 0.9708 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004248/1.385, allocations: 145.2 kB / 0.9709 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of SimCode: time 9.61e-07/1.385, allocations: 4 kB / 0.9709 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of Templates: time 0.04703/1.432, allocations: 24.9 MB / 0.9952 GB, free: 14.46 MB / 0.7637 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.makefile (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)