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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.657/1.657, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001318/0.001318, allocations: 196 kB / 376.9 MB, free: 1.809 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.448/1.448, allocations: 205.1 MB / 0.6354 GB, free: 9.789 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001192/0.001192, allocations: 96.62 kB / 0.748 GB, free: 61.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 59.92 kB / 0.8704 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2576/0.2586, allocations: 114.5 MB / 0.9822 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003892/0.2626, allocations: 2.406 MB / 0.9846 GB, free: 7.938 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002818/0.2654, allocations: 1.877 MB / 0.9864 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001865/0.2656, allocations: 0 / 0.9864 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.2664, allocations: 215.2 kB / 0.9866 GB, free: 5.844 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.000168/0.2666, allocations: 55.55 kB / 0.9867 GB, free: 5.789 MB / 0.7136 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.00106/0.2677, allocations: 375.3 kB / 0.987 GB, free: 5.422 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.2682, allocations: 398.8 kB / 0.9874 GB, free: 5.031 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.2683, allocations: 32.39 kB / 0.9874 GB, free: 4.996 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.2686, allocations: 143.6 kB / 0.9876 GB, free: 4.855 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002247/0.2688, allocations: 155.4 kB / 0.9877 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.368e-05/0.2689, allocations: 20 kB / 0.9878 GB, free: 4.684 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004278/0.2693, allocations: 227.7 kB / 0.988 GB, free: 4.461 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001468/0.2695, allocations: 111.6 kB / 0.9881 GB, free: 4.352 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001789/0.2697, allocations: 155.2 kB / 0.9882 GB, free: 4.199 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0006904/0.2704, allocations: 0.592 MB / 0.9888 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2704, allocations: 0 / 0.9888 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2704, allocations: 0 / 0.9888 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.2704, allocations: 0 / 0.9888 GB, free: 3.605 MB / 0.7136 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.001258/0.2717, allocations: 0.7022 MB / 0.9895 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.2717, allocations: 12.03 kB / 0.9895 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00171/0.2734, allocations: 160.4 kB / 0.9897 GB, free: 2.68 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005052/0.2739, allocations: 374.2 kB / 0.99 GB, free: 2.277 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/0.2741, allocations: 71.95 kB / 0.9901 GB, free: 2.195 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.2741, allocations: 11.94 kB / 0.9901 GB, free: 2.184 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.2751, allocations: 437.3 kB / 0.9905 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.677e-06/0.2752, allocations: 0 / 0.9905 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.2752, allocations: 0 / 0.9905 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.2752, allocations: 4 kB / 0.9905 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.2768, allocations: 0.5893 MB / 0.9911 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001856/0.2787, allocations: 1.054 MB / 0.9921 GB, free: 52 kB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004936/0.2836, allocations: 0.8416 MB / 0.9929 GB, free: 15.2 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007526/0.2844, allocations: 312.7 kB / 0.9932 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.499e-05/0.2845, allocations: 0 / 0.9932 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009836/0.2854, allocations: 443 kB / 0.9937 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=16): time 2.024e-06/0.2855, allocations: 0 / 0.9937 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=16): time 0.002441/0.2879, allocations: 0.917 MB / 0.9946 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.035e-05/0.288, allocations: 55.41 kB / 0.9946 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004677/0.2884, allocations: 445.5 kB / 0.995 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.336e-05/0.2885, allocations: 29.7 kB / 0.9951 GB, free: 12.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.2886, allocations: 176 kB / 0.9952 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.129e-05/0.2887, allocations: 51.28 kB / 0.9953 GB, free: 12.75 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001546/0.2889, allocations: 53.67 kB / 0.9953 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.289, allocations: 350.8 kB / 0.9957 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008586/0.2899, allocations: 376.6 kB / 0.996 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000842/0.2907, allocations: 375.7 kB / 0.9964 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.2922, allocations: 0.6017 MB / 0.997 GB, free: 11 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2923, allocations: 4 kB / 0.997 GB, free: 10.99 MB / 0.7292 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001971/0.2942, allocations: 0.9068 MB / 0.9979 GB, free: 10.07 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.216e-05/0.2943, allocations: 45.62 kB / 0.9979 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.053e-05/0.2943, allocations: 7.984 kB / 0.9979 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.2943, allocations: 0 / 0.9979 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004578/0.2948, allocations: 63.86 kB / 0.998 GB, free: 9.953 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.885e-06/0.2948, allocations: 7.938 kB / 0.998 GB, free: 9.945 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.2952, allocations: 39.86 kB / 0.998 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.303e-05/0.2953, allocations: 11.98 kB / 0.998 GB, free: 9.895 MB / 0.7292 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.0002991/0.2956, allocations: 196.4 kB / 0.9982 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.375e-05/0.2957, allocations: 31.62 kB / 0.9982 GB, free: 9.664 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.129e-05/0.2958, allocations: 43.47 kB / 0.9983 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.2958, allocations: 0 / 0.9983 GB, free: 9.613 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/0.2958, allocations: 7.922 kB / 0.9983 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.2958, allocations: 0 / 0.9983 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00066/0.2965, allocations: 0.5362 MB / 0.9988 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2965, allocations: 0 / 0.9988 GB, free: 9.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/0.297, allocations: 71.84 kB / 0.9989 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.297, allocations: 0 / 0.9989 GB, free: 8.949 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.428e-05/0.297, allocations: 11.98 kB / 0.9989 GB, free: 8.938 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.2971, allocations: 3.984 kB / 0.9989 GB, free: 8.934 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2971, allocations: 3.938 kB / 0.9989 GB, free: 8.93 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002969/0.3, allocations: 1.673 MB / 1.001 GB, free: 7.195 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002662/0.3003, allocations: 172.6 kB / 1.001 GB, free: 7.008 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.26e-05/0.3004, allocations: 4 kB / 1.001 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.3009, allocations: 43.94 kB / 1.001 GB, free: 6.961 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/0.301, allocations: 19.97 kB / 1.001 GB, free: 6.941 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.283e-05/0.301, allocations: 7.984 kB / 1.001 GB, free: 6.934 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003545/0.3014, allocations: 327.1 kB / 1.001 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.693e-06/0.3014, allocations: 0 / 1.001 GB, free: 6.621 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004886/0.3019, allocations: 92.03 kB / 1.001 GB, free: 6.531 MB / 0.7292 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.0004629/0.3024, allocations: 153.8 kB / 1.001 GB, free: 6.371 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001857/0.3042, allocations: 0.7605 MB / 1.002 GB, free: 5.602 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.54e-06/0.3042, allocations: 4 kB / 1.002 GB, free: 5.598 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0008244/0.3051, allocations: 327.7 kB / 1.002 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004863/0.3056, allocations: 81.39 kB / 1.002 GB, free: 5.195 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.3076, allocations: 1.05 MB / 1.003 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004891/0.3081, allocations: 0.8107 MB / 1.004 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004334/0.3086, allocations: 102.2 kB / 1.004 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.3087, allocations: 31.41 kB / 1.004 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of SimCode: time 2.11e-07/0.3087, allocations: 0 / 1.004 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of Templates: time 0.01246/0.3212, allocations: 6.922 MB / 1.011 GB, free: 12.28 MB / 0.7448 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)