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/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.359/1.359, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008932/0.0008933, allocations: 178.7 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205 MB / 0.5766 GB, free: 20.99 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007447/0.0007447, allocations: 110.4 kB / 0.6804 GB, free: 14.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002955, allocations: 8.75 kB / 0.7938 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1516/0.152, allocations: 105.4 MB / 0.8967 GB, free: 68.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4843/0.6363, allocations: 164.3 MB / 1.057 GB, free: 1.898 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.016/0.6523, allocations: 16.74 MB / 1.074 GB, free: 1.664 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001352/0.6537, allocations: 27.94 kB / 1.074 GB, free: 1.664 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.6551, allocations: 434.8 kB / 1.074 GB, free: 1.656 MB / 0.698 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.003776/0.6589, allocations: 1.239 MB / 1.075 GB, free: 1.586 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.003854/0.6628, allocations: 1.287 MB / 1.076 GB, free: 1.539 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003568/0.6664, allocations: 2.792 MB / 1.079 GB, free: 1.523 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002225/0.6686, allocations: 1.608 MB / 1.081 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005314/0.6739, allocations: 1.051 MB / 1.082 GB, free: 1.246 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001072/0.675, allocations: 0.7175 MB / 1.082 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001748/0.6752, allocations: 43.16 kB / 1.083 GB, free: 1.242 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.6777, allocations: 1.321 MB / 1.084 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003364/0.6781, allocations: 373 kB / 1.084 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0007731/0.6788, allocations: 0.7487 MB / 1.085 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002723/0.6816, allocations: 2.763 MB / 1.088 GB, free: 1.062 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.6816, allocations: 2.906 kB / 1.088 GB, free: 1.062 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.433e-06/0.6816, allocations: 0 / 1.088 GB, free: 1.062 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.273e-05/0.6816, allocations: 1.188 kB / 1.088 GB, free: 1.062 MB / 0.698 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.002849/0.6845, allocations: 1.782 MB / 1.089 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.6845, allocations: 8.812 kB / 1.089 GB, free: 16.07 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003275/0.6878, allocations: 0.5058 MB / 1.09 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001489/0.6893, allocations: 1.059 MB / 1.091 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.309e-05/0.6894, allocations: 122.2 kB / 1.091 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.6896, allocations: 172 kB / 1.091 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.6922, allocations: 1.785 MB / 1.093 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.6923, allocations: 0 / 1.093 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001391/0.6924, allocations: 75.02 kB / 1.093 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.359e-05/0.6924, allocations: 44.84 kB / 1.093 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002701/0.6951, allocations: 1.825 MB / 1.095 GB, free: 15.38 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006779/0.7019, allocations: 5.062 MB / 1.1 GB, free: 13.51 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002165/0.7041, allocations: 1.338 MB / 1.101 GB, free: 13.45 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008963/0.705, allocations: 0.6219 MB / 1.102 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008128/0.7059, allocations: 0.8148 MB / 1.102 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0013/0.7072, allocations: 0.8345 MB / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=137): time 3.546e-06/0.7072, allocations: 0 / 1.103 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=137): time 0.005141/0.7123, allocations: 2.423 MB / 1.106 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.625e-05/0.7124, allocations: 195.9 kB / 1.106 GB, free: 11.61 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.7133, allocations: 0.7958 MB / 1.107 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/0.7134, allocations: 52.95 kB / 1.107 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003993/0.7138, allocations: 0.6338 MB / 1.107 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003287/0.7142, allocations: 461.1 kB / 1.108 GB, free: 10.85 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.7143, allocations: 100 kB / 1.108 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.7144, allocations: 356.5 kB / 1.108 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007863/0.7152, allocations: 459 kB / 1.109 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009063/0.7161, allocations: 0.5933 MB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.7179, allocations: 1.048 MB / 1.11 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.7179, allocations: 0 / 1.11 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003105/0.721, allocations: 1.45 MB / 1.112 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.119e-05/0.721, allocations: 9.031 kB / 1.112 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.146e-06/0.721, allocations: 0 / 1.112 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000845/0.7219, allocations: 193.1 kB / 1.112 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/0.7232, allocations: 304.4 kB / 1.112 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005038/0.7283, allocations: 6.779 MB / 1.119 GB, free: 3.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001205/0.7295, allocations: 148.1 kB / 1.119 GB, free: 3.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.615e-05/0.7296, allocations: 66.77 kB / 1.119 GB, free: 3.742 MB / 0.7136 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.0007121/0.7303, allocations: 373.2 kB / 1.119 GB, free: 3.625 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000249/0.7306, allocations: 125.2 kB / 1.119 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003913/0.7345, allocations: 1.729 MB / 1.121 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-05/0.7345, allocations: 7.547 kB / 1.121 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.7346, allocations: 0.7188 kB / 1.121 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006792/0.7352, allocations: 395.3 kB / 1.121 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/0.7354, allocations: 24.72 kB / 1.121 GB, free: 3.188 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001164/0.7366, allocations: 139.7 kB / 1.122 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/0.7368, allocations: 100 kB / 1.122 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003635/0.7405, allocations: 1.657 MB / 1.123 GB, free: 2.965 MB / 0.7136 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003232/0.7437, allocations: 2.213 MB / 1.126 GB, free: 2.629 MB / 0.7136 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000845/0.7446, allocations: 0.5869 MB / 1.126 GB, free: 2.621 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0005827/0.7452, allocations: 0.549 MB / 1.127 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of Backend: time 7.11e-07/0.7452, allocations: 0 / 1.127 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.004165/0.7493, allocations: 2.137 MB / 1.129 GB, free: 1.66 MB / 0.7136 GB Notification: Performance of SimCode: time 0.004358/0.7537, allocations: 3.748 MB / 1.132 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of Templates: time 0.03842/0.7921, allocations: 26.69 MB / 1.158 GB, free: 14.29 MB / 0.7448 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)