Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.745/1.745, allocations: 288.3 MB / 303.2 MB, free: 8.203 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.001089/0.001089, allocations: 181 kB / 371.9 MB, free: 10.27 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.546/1.546, allocations: 205.4 MB / 0.6306 GB, free: 9.949 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001246/0.001247, allocations: 102.6 kB / 0.7439 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005715/0.0005716, allocations: 12.81 kB / 0.8668 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2379, allocations: 115.3 MB / 0.9794 GB, free: 27.67 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002269/0.2403, allocations: 1.906 MB / 0.9813 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001911/0.2422, allocations: 1.633 MB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.2423, allocations: 4 kB / 0.9829 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.00057/0.2429, allocations: 207.2 kB / 0.9831 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001003/0.243, allocations: 71.8 kB / 0.9832 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008349/0.2439, allocations: 368.7 kB / 0.9835 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0003003/0.2442, allocations: 259.5 kB / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.2443, allocations: 36.39 kB / 0.9838 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.2444, allocations: 127.6 kB / 0.9839 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001602/0.2446, allocations: 143.5 kB / 0.9841 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.048e-05/0.2446, allocations: 20 kB / 0.9841 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002913/0.2449, allocations: 211.6 kB / 0.9843 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.2451, allocations: 99.77 kB / 0.9844 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.922e-05/0.2451, allocations: 77.52 kB / 0.9844 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0004023/0.2455, allocations: 463.1 kB / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2456, allocations: 0 / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2456, allocations: 0 / 0.9849 GB, free: 22.06 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.523e-06/0.2456, allocations: 4 kB / 0.9849 GB, free: 22.06 MB / 0.6198 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.001056/0.2466, allocations: 0.6594 MB / 0.9855 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.2467, allocations: 12.02 kB / 0.9855 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/0.2483, allocations: 171.4 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004162/0.2487, allocations: 357.2 kB / 0.986 GB, free: 20.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/0.2488, allocations: 75.38 kB / 0.9861 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.666e-05/0.2488, allocations: 12 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000957/0.2498, allocations: 449.3 kB / 0.9866 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.2498, allocations: 4 kB / 0.9866 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.522e-05/0.2499, allocations: 4 kB / 0.9866 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2499, allocations: 4 kB / 0.9866 GB, free: 20.22 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001429/0.2513, allocations: 0.6283 MB / 0.9872 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001596/0.2529, allocations: 1.051 MB / 0.9882 GB, free: 18.49 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004578/0.2575, allocations: 0.912 MB / 0.9891 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.2576, allocations: 4 kB / 0.9891 GB, free: 17.57 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008785/0.2584, allocations: 459 kB / 0.9895 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 1.993e-06/0.2585, allocations: 3.938 kB / 0.9895 GB, free: 17.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.002168/0.2606, allocations: 0.9811 MB / 0.9905 GB, free: 16.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.74e-05/0.2607, allocations: 59.41 kB / 0.9906 GB, free: 16.04 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003695/0.2611, allocations: 429.6 kB / 0.991 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.324e-05/0.2611, allocations: 33.7 kB / 0.991 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.2612, allocations: 168.1 kB / 0.9912 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.046e-05/0.2613, allocations: 55.28 kB / 0.9912 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.268e-05/0.2613, allocations: 0 / 0.9912 GB, free: 15.35 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.035e-05/0.2614, allocations: 350.8 kB / 0.9915 GB, free: 15 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007467/0.2621, allocations: 404.6 kB / 0.9919 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007422/0.2629, allocations: 397.1 kB / 0.9923 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006925/0.2636, allocations: 381.3 kB / 0.9927 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-06/0.2636, allocations: 0 / 0.9927 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001644/0.2653, allocations: 0.9447 MB / 0.9936 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.644e-05/0.2653, allocations: 41.69 kB / 0.9936 GB, free: 12.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/0.2653, allocations: 7.938 kB / 0.9936 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.2654, allocations: 0 / 0.9936 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00041/0.2658, allocations: 71.92 kB / 0.9937 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2658, allocations: 3.984 kB / 0.9937 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003652/0.2662, allocations: 55.89 kB / 0.9938 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.2662, allocations: 19.91 kB / 0.9938 GB, free: 12.68 MB / 0.6198 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 ($whenCondition2,$whenCondition1,cooCap.stage,$PRE.cooCap.checkBoundsTEva[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTCon[1]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000198/0.2664, allocations: 191.4 kB / 0.994 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.535e-05/0.2665, allocations: 39.52 kB / 0.994 GB, free: 12.44 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.202e-05/0.2665, allocations: 39.47 kB / 0.994 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/0.2666, allocations: 4 kB / 0.9941 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.2666, allocations: 0 / 0.9941 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.2666, allocations: 0 / 0.9941 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004204/0.267, allocations: 0.5478 MB / 0.9946 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.267, allocations: 3.938 kB / 0.9946 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004074/0.2674, allocations: 75.86 kB / 0.9947 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.2674, allocations: 0 / 0.9947 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.2675, allocations: 11.98 kB / 0.9947 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.2675, allocations: 0 / 0.9947 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.2675, allocations: 0 / 0.9947 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0014/0.2689, allocations: 0.7054 MB / 0.9954 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001804/0.2691, allocations: 168.6 kB / 0.9955 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.2691, allocations: 0 / 0.9955 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004206/0.2696, allocations: 63.94 kB / 0.9956 GB, free: 10.73 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.187e-05/0.2697, allocations: 19.97 kB / 0.9956 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.2697, allocations: 7.984 kB / 0.9956 GB, free: 10.71 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002547/0.2699, allocations: 319.1 kB / 0.9959 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.27, allocations: 0 / 0.9959 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003397/0.2703, allocations: 84.23 kB / 0.996 GB, free: 10.32 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004144/0.2707, allocations: 158.3 kB / 0.9961 GB, free: 10.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001558/0.2723, allocations: 0.793 MB / 0.9969 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.2723, allocations: 0 / 0.9969 GB, free: 9.359 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0006945/0.273, allocations: 347.7 kB / 0.9973 GB, free: 9.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.2733, allocations: 77.39 kB / 0.9973 GB, free: 8.941 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.2748, allocations: 0.8842 MB / 0.9982 GB, free: 8.035 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002084/0.275, allocations: 0.8224 MB / 0.999 GB, free: 7.188 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003865/0.2754, allocations: 94.23 kB / 0.9991 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001194/0.2755, allocations: 31.41 kB / 0.9991 GB, free: 7.066 MB / 0.6198 GB Notification: Performance of SimCode: time 2.21e-07/0.2755, allocations: 4 kB / 0.9991 GB, free: 7.062 MB / 0.6198 GB Notification: Performance of Templates: time 0.009059/0.2846, allocations: 6.48 MB / 1.005 GB, free: 0.6875 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1)