Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001591/0.001591, allocations: 193.7 kB / 16.14 MB, free: 6.652 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.509/1.509, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.64/1.64, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.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.001384/0.001384, allocations: 66.25 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3006/0.3019, allocations: 114.5 MB / 0.7827 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005756/0.3077, allocations: 2.941 MB / 0.7856 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004612/0.3124, allocations: 2.252 MB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000255/0.3127, allocations: 4 kB / 0.7878 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001168/0.3139, allocations: 247.1 kB / 0.788 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002259/0.3142, allocations: 63.47 kB / 0.7881 GB, free: 8.461 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/HeatExchangers/DXCoils/BaseClasses/Functions/warnIfPerformanceOutOfBounds.mo:2:1-41:33:writable] Warning: Pure function ‘Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Functions.warnIfPerformanceOutOfBounds‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.3157, allocations: 441 kB / 0.7885 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00073/0.3165, allocations: 486.5 kB / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001757/0.3167, allocations: 52.7 kB / 0.789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.3169, allocations: 179.5 kB / 0.7892 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000339/0.3173, allocations: 207.3 kB / 0.7894 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.3174, allocations: 31.94 kB / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005617/0.318, allocations: 235.7 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002432/0.3182, allocations: 155.5 kB / 0.7898 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002768/0.3185, allocations: 199 kB / 0.79 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00105/0.3196, allocations: 0.7361 MB / 0.7907 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3196, allocations: 0 / 0.7907 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.3196, allocations: 0 / 0.7907 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.3196, allocations: 0 / 0.7907 GB, free: 5.777 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.00203/0.3217, allocations: 0.8322 MB / 0.7915 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.131e-05/0.3217, allocations: 8.031 kB / 0.7915 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002853/0.3246, allocations: 236.1 kB / 0.7917 GB, free: 4.645 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007709/0.3254, allocations: 426 kB / 0.7921 GB, free: 4.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.3256, allocations: 87.94 kB / 0.7922 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.936e-05/0.3256, allocations: 15.94 kB / 0.7922 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001694/0.3273, allocations: 0.5256 MB / 0.7927 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.3274, allocations: 4 kB / 0.7927 GB, free: 3.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.343e-05/0.3274, allocations: 7.938 kB / 0.7927 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.3275, allocations: 0 / 0.7927 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0027/0.3302, allocations: 0.7717 MB / 0.7935 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002954/0.3331, allocations: 1.265 MB / 0.7947 GB, free: 1.449 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006986/0.3401, allocations: 1.013 MB / 0.7957 GB, free: 436 kB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00135/0.3415, allocations: 396.5 kB / 0.7961 GB, free: 36 kB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.3416, allocations: 4 kB / 0.7961 GB, free: 32 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001679/0.3433, allocations: 0.5406 MB / 0.7966 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=21): time 2.866e-06/0.3433, allocations: 0 / 0.7966 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of matching and sorting (n=21): time 0.004224/0.3475, allocations: 1.176 MB / 0.7978 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.3476, allocations: 59.34 kB / 0.7978 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008417/0.3484, allocations: 0.5174 MB / 0.7983 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 8.927e-05/0.3485, allocations: 33.7 kB / 0.7984 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.3488, allocations: 204.4 kB / 0.7986 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001056/0.3489, allocations: 67.09 kB / 0.7986 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000216/0.3491, allocations: 65.66 kB / 0.7987 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.3493, allocations: 354.8 kB / 0.799 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001457/0.3508, allocations: 476.4 kB / 0.7995 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.3523, allocations: 0.5004 MB / 0.8 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00251/0.3548, allocations: 0.752 MB / 0.8007 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.3548, allocations: 0 / 0.8007 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00323/0.3581, allocations: 1.09 MB / 0.8018 GB, free: 10.13 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.379e-05/0.3581, allocations: 45.62 kB / 0.8018 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3582, allocations: 0 / 0.8018 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.732e-05/0.3582, allocations: 7.984 kB / 0.8018 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007871/0.359, allocations: 87.89 kB / 0.8019 GB, free: 9.984 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.253e-05/0.359, allocations: 7.984 kB / 0.8019 GB, free: 9.977 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006727/0.3597, allocations: 59.84 kB / 0.802 GB, free: 9.918 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.256e-05/0.3598, allocations: 15.97 kB / 0.802 GB, free: 9.902 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004289/0.3602, allocations: 217.1 kB / 0.8022 GB, free: 9.684 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.3604, allocations: 43.47 kB / 0.8022 GB, free: 9.641 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.3605, allocations: 51.92 kB / 0.8023 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.715e-06/0.3605, allocations: 4 kB / 0.8023 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3605, allocations: 0 / 0.8023 GB, free: 9.582 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.3605, allocations: 3.984 kB / 0.8023 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009395/0.3615, allocations: 0.6455 MB / 0.8029 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.3615, allocations: 4 kB / 0.8029 GB, free: 8.879 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007571/0.3623, allocations: 91.77 kB / 0.803 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3623, allocations: 4 kB / 0.803 GB, free: 8.785 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.866e-05/0.3623, allocations: 15.98 kB / 0.803 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3623, allocations: 0 / 0.803 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3624, allocations: 0 / 0.803 GB, free: 8.77 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002738/0.3651, allocations: 0.832 MB / 0.8039 GB, free: 7.918 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000347/0.3655, allocations: 188.4 kB / 0.804 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.392e-05/0.3656, allocations: 11.94 kB / 0.804 GB, free: 7.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006975/0.3663, allocations: 67.91 kB / 0.8041 GB, free: 7.637 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.3664, allocations: 19.97 kB / 0.8041 GB, free: 7.617 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-05/0.3665, allocations: 15.92 kB / 0.8041 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0005935/0.3671, allocations: 395 kB / 0.8045 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3671, allocations: 0 / 0.8045 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005978/0.3677, allocations: 103.9 kB / 0.8046 GB, free: 7.117 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004856/0.3682, allocations: 158.9 kB / 0.8048 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003047/0.3713, allocations: 0.9401 MB / 0.8057 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.3713, allocations: 0 / 0.8057 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001371/0.3727, allocations: 422.3 kB / 0.8061 GB, free: 5.602 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007574/0.3734, allocations: 89.89 kB / 0.8062 GB, free: 5.516 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003144/0.3766, allocations: 1.147 MB / 0.8073 GB, free: 4.34 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.3771, allocations: 0.8583 MB / 0.8081 GB, free: 3.453 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0006253/0.3778, allocations: 130.9 kB / 0.8083 GB, free: 3.328 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.378, allocations: 47.34 kB / 0.8083 GB, free: 3.281 MB / 0.6231 GB Notification: Performance of SimCode: time 1.092e-06/0.378, allocations: 3.938 kB / 0.8083 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of Templates: time 0.01402/0.392, allocations: 8.284 MB / 0.8164 GB, free: 11.11 MB / 0.6387 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)