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.001237/0.001237, allocations: 105.4 kB / 15.7 MB, free: 20 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.001259/0.00126, allocations: 195.6 kB / 16.64 MB, free: 6.59 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.46/1.46, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.737/1.737, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001437/0.001437, allocations: 71.09 kB / 0.6723 GB, free: 25.78 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2342/0.2357, allocations: 114.5 MB / 0.7841 GB, free: 12.74 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003817/0.2396, allocations: 2.357 MB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002797/0.2424, allocations: 1.855 MB / 0.7883 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001505/0.2425, allocations: 8 kB / 0.7883 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0007172/0.2433, allocations: 222.7 kB / 0.7885 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000125/0.2434, allocations: 59.42 kB / 0.7885 GB, free: 8.215 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.001124/0.2446, allocations: 421.2 kB / 0.7889 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005147/0.2451, allocations: 414.7 kB / 0.7893 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2452, allocations: 40.39 kB / 0.7894 GB, free: 7.367 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001529/0.2454, allocations: 155.6 kB / 0.7895 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001973/0.2456, allocations: 147.5 kB / 0.7897 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.543e-05/0.2456, allocations: 28 kB / 0.7897 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003517/0.246, allocations: 255.6 kB / 0.7899 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.2461, allocations: 115.7 kB / 0.79 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001611/0.2463, allocations: 171.1 kB / 0.7902 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006451/0.247, allocations: 0.5998 MB / 0.7908 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.247, allocations: 0 / 0.7908 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.342e-06/0.247, allocations: 4 kB / 0.7908 GB, free: 5.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.261e-06/0.247, allocations: 0 / 0.7908 GB, free: 5.906 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.001105/0.2481, allocations: 0.7022 MB / 0.7915 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.813e-05/0.2481, allocations: 12.02 kB / 0.7915 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.2498, allocations: 152.4 kB / 0.7916 GB, free: 4.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005326/0.2504, allocations: 374.3 kB / 0.792 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001182/0.2505, allocations: 83.84 kB / 0.7921 GB, free: 4.488 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.011e-05/0.2505, allocations: 7.938 kB / 0.7921 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001019/0.2516, allocations: 436 kB / 0.7925 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.2516, allocations: 0 / 0.7925 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.966e-05/0.2516, allocations: 8 kB / 0.7925 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.934e-06/0.2517, allocations: 0 / 0.7925 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.2532, allocations: 0.5893 MB / 0.7931 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001854/0.2551, allocations: 1.05 MB / 0.7941 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004568/0.2596, allocations: 0.8494 MB / 0.7949 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007213/0.2604, allocations: 308.6 kB / 0.7952 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.2604, allocations: 12 kB / 0.7952 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009951/0.2614, allocations: 443.1 kB / 0.7957 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.675e-06/0.2614, allocations: 4 kB / 0.7957 GB, free: 0.7266 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.002478/0.2639, allocations: 0.9147 MB / 0.7966 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.03e-05/0.264, allocations: 59.34 kB / 0.7966 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/0.2645, allocations: 433.6 kB / 0.797 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.224e-05/0.2646, allocations: 33.7 kB / 0.7971 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.2648, allocations: 175.9 kB / 0.7972 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.92e-05/0.2648, allocations: 47.3 kB / 0.7973 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001299/0.265, allocations: 57.67 kB / 0.7973 GB, free: 14.98 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.2651, allocations: 346.8 kB / 0.7977 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008936/0.266, allocations: 380.6 kB / 0.798 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008291/0.2669, allocations: 371.7 kB / 0.7984 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001444/0.2683, allocations: 0.6026 MB / 0.799 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.2684, allocations: 0 / 0.799 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001995/0.2704, allocations: 0.9046 MB / 0.7999 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.41e-05/0.2704, allocations: 49.69 kB / 0.7999 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2705, allocations: 0 / 0.7999 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.2705, allocations: 3.984 kB / 0.7999 GB, free: 12.31 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004489/0.2709, allocations: 59.92 kB / 0.8 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.271, allocations: 3.938 kB / 0.8 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000382/0.2713, allocations: 47.86 kB / 0.8 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.188e-05/0.2714, allocations: 11.98 kB / 0.8 GB, free: 12.19 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.0002636/0.2717, allocations: 192.8 kB / 0.8002 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.285e-05/0.2717, allocations: 39.5 kB / 0.8002 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.931e-05/0.2718, allocations: 43.47 kB / 0.8003 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.2718, allocations: 4 kB / 0.8003 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.2719, allocations: 3.938 kB / 0.8003 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.2719, allocations: 3.984 kB / 0.8003 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000614/0.2725, allocations: 0.5476 MB / 0.8008 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.2725, allocations: 0 / 0.8008 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004332/0.2729, allocations: 67.91 kB / 0.8009 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2729, allocations: 0 / 0.8009 GB, free: 11.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.204e-05/0.273, allocations: 11.98 kB / 0.8009 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.273, allocations: 0 / 0.8009 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.273, allocations: 3.938 kB / 0.8009 GB, free: 11.22 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001602/0.2746, allocations: 0.6554 MB / 0.8015 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000204/0.2748, allocations: 160.7 kB / 0.8017 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.114e-05/0.2749, allocations: 7.984 kB / 0.8017 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/0.2753, allocations: 47.94 kB / 0.8018 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.092e-05/0.2754, allocations: 19.92 kB / 0.8018 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.2755, allocations: 15.98 kB / 0.8018 GB, free: 10.28 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003311/0.2758, allocations: 319.1 kB / 0.8021 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2758, allocations: 0 / 0.8021 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003628/0.2762, allocations: 88.14 kB / 0.8022 GB, free: 9.883 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.000458/0.2766, allocations: 157.1 kB / 0.8023 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001841/0.2785, allocations: 0.7633 MB / 0.8031 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2785, allocations: 0 / 0.8031 GB, free: 8.949 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0008147/0.2793, allocations: 327.7 kB / 0.8034 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/0.2797, allocations: 77.44 kB / 0.8035 GB, free: 8.555 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.2815, allocations: 0.8113 MB / 0.8043 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004287/0.2819, allocations: 0.8143 MB / 0.805 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0003332/0.2823, allocations: 90.27 kB / 0.8051 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.2824, allocations: 39.41 kB / 0.8052 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of SimCode: time 2.51e-07/0.2824, allocations: 0 / 0.8052 GB, free: 6.75 MB / 0.6231 GB Notification: Performance of Templates: time 0.01197/0.2944, allocations: 7.173 MB / 0.8122 GB, free: 15.69 MB / 0.6387 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)