Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.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.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001214/0.001213, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001803/0.001803, allocations: 196.9 kB / 16.53 MB, free: 6.664 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.515/1.515, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.669/1.669, allocations: 292.3 MB / 0.5489 GB, free: 12.86 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.001538/0.001538, allocations: 67.89 kB / 0.6715 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2553, allocations: 114.5 MB / 0.7834 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.004438/0.2598, allocations: 2.354 MB / 0.7857 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002673/0.2625, allocations: 1.863 MB / 0.7875 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001323/0.2626, allocations: 0 / 0.7875 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007047/0.2634, allocations: 223 kB / 0.7877 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.2635, allocations: 71.36 kB / 0.7878 GB, free: 8.938 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.001013/0.2645, allocations: 413.2 kB / 0.7882 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004862/0.265, allocations: 406 kB / 0.7886 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.2652, allocations: 52.39 kB / 0.7886 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.2654, allocations: 147.6 kB / 0.7888 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.2656, allocations: 159.5 kB / 0.7889 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.893e-05/0.2656, allocations: 24 kB / 0.7889 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003886/0.266, allocations: 247.6 kB / 0.7892 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.2662, allocations: 115.7 kB / 0.7893 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.2664, allocations: 167.1 kB / 0.7894 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006164/0.267, allocations: 0.596 MB / 0.79 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.267, allocations: 4 kB / 0.79 GB, free: 6.648 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.345e-06/0.267, allocations: 3.938 kB / 0.79 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.267, allocations: 0 / 0.79 GB, free: 6.645 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001136/0.2682, allocations: 0.7061 MB / 0.7907 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2682, allocations: 12.03 kB / 0.7907 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001775/0.27, allocations: 156.4 kB / 0.7909 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005146/0.2705, allocations: 370.2 kB / 0.7912 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.2707, allocations: 75.86 kB / 0.7913 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.457e-05/0.2707, allocations: 15.94 kB / 0.7913 GB, free: 5.215 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.2718, allocations: 433.3 kB / 0.7917 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.2718, allocations: 0 / 0.7917 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.665e-05/0.2718, allocations: 8 kB / 0.7917 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.2718, allocations: 0 / 0.7917 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.2735, allocations: 0.592 MB / 0.7923 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001821/0.2753, allocations: 1.046 MB / 0.7933 GB, free: 3.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005045/0.2803, allocations: 0.8417 MB / 0.7942 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/0.2811, allocations: 308.7 kB / 0.7945 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.2812, allocations: 0 / 0.7945 GB, free: 1.934 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009899/0.2822, allocations: 455 kB / 0.7949 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 3.536e-06/0.2822, allocations: 0 / 0.7949 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002578/0.2848, allocations: 0.9175 MB / 0.7958 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.2848, allocations: 59.41 kB / 0.7958 GB, free: 496 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005052/0.2853, allocations: 437.6 kB / 0.7963 GB, free: 52 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.249e-05/0.2854, allocations: 29.7 kB / 0.7963 GB, free: 16 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.2856, allocations: 172 kB / 0.7965 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 7.014e-05/0.2856, allocations: 55.28 kB / 0.7965 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/0.2858, allocations: 53.67 kB / 0.7966 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001533/0.2859, allocations: 346.8 kB / 0.7969 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000911/0.2869, allocations: 388.5 kB / 0.7973 GB, free: 15 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008463/0.2877, allocations: 371.7 kB / 0.7976 GB, free: 14.64 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/0.2893, allocations: 0.5919 MB / 0.7982 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.2893, allocations: 0 / 0.7982 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002065/0.2913, allocations: 0.9153 MB / 0.7991 GB, free: 13.11 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 7.008e-05/0.2914, allocations: 37.69 kB / 0.7991 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.2914, allocations: 0 / 0.7991 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/0.2915, allocations: 4 kB / 0.7991 GB, free: 13.06 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.2919, allocations: 67.86 kB / 0.7992 GB, free: 13 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.072e-05/0.292, allocations: 7.938 kB / 0.7992 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003875/0.2924, allocations: 39.86 kB / 0.7992 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.919e-05/0.2924, allocations: 15.98 kB / 0.7993 GB, free: 12.93 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 (17): * Single equations (assignments): 16 * 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.0002372/0.2926, allocations: 185.8 kB / 0.7994 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.2927, allocations: 31.62 kB / 0.7995 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.58e-05/0.2928, allocations: 39.47 kB / 0.7995 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.2928, allocations: 7.922 kB / 0.7995 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.786e-06/0.2928, allocations: 3.938 kB / 0.7995 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.2928, allocations: 4 kB / 0.7995 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005591/0.2934, allocations: 0.5515 MB / 0.8 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-06/0.2934, allocations: 3.938 kB / 0.8001 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004594/0.2939, allocations: 71.91 kB / 0.8001 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.2939, allocations: 0 / 0.8001 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.9e-05/0.2939, allocations: 7.984 kB / 0.8001 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2939, allocations: 4 kB / 0.8001 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.2939, allocations: 3.938 kB / 0.8001 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001652/0.2956, allocations: 0.6526 MB / 0.8008 GB, free: 11.29 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/0.2958, allocations: 160.7 kB / 0.8009 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.272e-05/0.2959, allocations: 11.92 kB / 0.8009 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004467/0.2963, allocations: 51.94 kB / 0.801 GB, free: 11.05 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.02e-05/0.2964, allocations: 23.91 kB / 0.801 GB, free: 11.03 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.748e-05/0.2964, allocations: 7.984 kB / 0.801 GB, free: 11.02 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003289/0.2968, allocations: 319.1 kB / 0.8013 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2968, allocations: 0 / 0.8013 GB, free: 10.71 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003844/0.2972, allocations: 88.14 kB / 0.8014 GB, free: 10.62 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 (16): * Single equations (assignments): 14 * 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.0004004/0.2976, allocations: 161.8 kB / 0.8016 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001871/0.2995, allocations: 0.7723 MB / 0.8023 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2995, allocations: 4 kB / 0.8023 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008136/0.3003, allocations: 334.8 kB / 0.8026 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004034/0.3007, allocations: 72.27 kB / 0.8027 GB, free: 9.281 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001783/0.3025, allocations: 0.8192 MB / 0.8035 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/0.3029, allocations: 0.8065 MB / 0.8043 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004077/0.3033, allocations: 102.2 kB / 0.8044 GB, free: 7.504 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001303/0.3035, allocations: 39.41 kB / 0.8044 GB, free: 7.465 MB / 0.6231 GB Notification: Performance of SimCode: time 2.5e-07/0.3035, allocations: 4 kB / 0.8044 GB, free: 7.461 MB / 0.6231 GB Notification: Performance of Templates: time 0.01231/0.3158, allocations: 7.153 MB / 0.8114 GB, free: 428 kB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)