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.CoolingCapacityWaterCooled.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.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.732/1.732, allocations: 288.3 MB / 303.2 MB, free: 8.195 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.001402/0.001402, allocations: 187.4 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.587/1.587, allocations: 205.4 MB / 0.6306 GB, free: 9.996 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.0009082/0.0009084, allocations: 94.88 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004065/0.0004066, allocations: 12.97 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2348, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002274/0.2371, allocations: 2.348 MB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.2392, allocations: 1.954 MB / 0.9836 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001208/0.2393, allocations: 7.938 kB / 0.9836 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0006709/0.24, allocations: 247.1 kB / 0.9839 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001061/0.2401, allocations: 87.7 kB / 0.984 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008199/0.241, allocations: 419.3 kB / 0.9844 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000307/0.2413, allocations: 327.4 kB / 0.9847 GB, free: 22.3 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2414, allocations: 44.72 kB / 0.9847 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001308/0.2415, allocations: 167.5 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.2417, allocations: 195.3 kB / 0.9851 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.761e-05/0.2418, allocations: 24 kB / 0.9851 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002622/0.242, allocations: 211.7 kB / 0.9853 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0001043/0.2422, allocations: 139.6 kB / 0.9854 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 6.883e-05/0.2422, allocations: 93.52 kB / 0.9855 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003827/0.2426, allocations: 0.5769 MB / 0.9861 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.2426, allocations: 4 kB / 0.9861 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.402e-06/0.2426, allocations: 0 / 0.9861 GB, free: 20.85 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.121e-06/0.2427, allocations: 0 / 0.9861 GB, free: 20.85 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001068/0.2437, allocations: 0.7738 MB / 0.9868 GB, free: 20.02 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2438, allocations: 12.02 kB / 0.9868 GB, free: 20 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001947/0.2457, allocations: 251.1 kB / 0.9871 GB, free: 19.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004838/0.2462, allocations: 401.1 kB / 0.9875 GB, free: 19.32 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.635e-05/0.2463, allocations: 83.38 kB / 0.9875 GB, free: 19.23 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.382e-05/0.2464, allocations: 12 kB / 0.9876 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001133/0.2475, allocations: 0.5573 MB / 0.9881 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.2475, allocations: 3.984 kB / 0.9881 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.2476, allocations: 4 kB / 0.9881 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.2476, allocations: 4 kB / 0.9881 GB, free: 18.64 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001833/0.2494, allocations: 0.8352 MB / 0.9889 GB, free: 17.81 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001891/0.2513, allocations: 1.28 MB / 0.9902 GB, free: 16.48 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00517/0.2565, allocations: 1.088 MB / 0.9912 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.791e-05/0.2566, allocations: 4 kB / 0.9912 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001128/0.2577, allocations: 0.5512 MB / 0.9918 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=21): time 3.848e-06/0.2577, allocations: 0 / 0.9918 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of matching and sorting (n=21): time 0.002925/0.2607, allocations: 1.27 MB / 0.993 GB, free: 13.54 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.2607, allocations: 51.41 kB / 0.9931 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.2612, allocations: 0.5139 MB / 0.9936 GB, free: 12.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.596e-05/0.2613, allocations: 33.7 kB / 0.9936 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001295/0.2614, allocations: 204.4 kB / 0.9938 GB, free: 12.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/0.2615, allocations: 75.02 kB / 0.9939 GB, free: 12.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.2616, allocations: 4 kB / 0.9939 GB, free: 12.63 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.007e-05/0.2616, allocations: 362.8 kB / 0.9942 GB, free: 12.27 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009705/0.2626, allocations: 496.5 kB / 0.9947 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.2636, allocations: 0.513 MB / 0.9952 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009319/0.2646, allocations: 474.4 kB / 0.9957 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2646, allocations: 0 / 0.9957 GB, free: 10.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002159/0.2668, allocations: 1.138 MB / 0.9968 GB, free: 9.645 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.798e-05/0.2668, allocations: 41.69 kB / 0.9968 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.2668, allocations: 0 / 0.9968 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.2669, allocations: 0 / 0.9968 GB, free: 9.598 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/0.2674, allocations: 111.8 kB / 0.9969 GB, free: 9.488 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.495e-06/0.2675, allocations: 11.98 kB / 0.9969 GB, free: 9.477 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000553/0.268, allocations: 75.78 kB / 0.997 GB, free: 9.402 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.336e-05/0.2681, allocations: 15.97 kB / 0.997 GB, free: 9.387 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 (22): * Single equations (assignments): 21 * 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.0002791/0.2684, allocations: 213.7 kB / 0.9972 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.791e-05/0.2684, allocations: 43.44 kB / 0.9973 GB, free: 9.125 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.983e-05/0.2685, allocations: 47.92 kB / 0.9973 GB, free: 9.074 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.2685, allocations: 4 kB / 0.9973 GB, free: 9.07 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/0.2686, allocations: 3.984 kB / 0.9973 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.2686, allocations: 4 kB / 0.9973 GB, free: 9.062 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.2691, allocations: 0.6495 MB / 0.9979 GB, free: 8.363 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.2691, allocations: 4 kB / 0.9979 GB, free: 8.359 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005579/0.2697, allocations: 103.8 kB / 0.998 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.2697, allocations: 0 / 0.998 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.46e-05/0.2697, allocations: 11.98 kB / 0.9981 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2697, allocations: 0 / 0.9981 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2697, allocations: 0 / 0.9981 GB, free: 8.246 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001861/0.2716, allocations: 0.8934 MB / 0.9989 GB, free: 7.336 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002675/0.2719, allocations: 192.4 kB / 0.9991 GB, free: 7.129 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.048e-05/0.2719, allocations: 7.984 kB / 0.9991 GB, free: 7.121 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005459/0.2725, allocations: 83.92 kB / 0.9992 GB, free: 7.039 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.25e-05/0.2726, allocations: 31.88 kB / 0.9992 GB, free: 7.008 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.2726, allocations: 15.98 kB / 0.9992 GB, free: 6.992 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003805/0.273, allocations: 383.1 kB / 0.9996 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.41e-07/0.273, allocations: 0 / 0.9996 GB, free: 6.625 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004348/0.2735, allocations: 96 kB / 0.9997 GB, free: 6.531 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 (21): * Single equations (assignments): 19 * 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.0004127/0.2739, allocations: 155.9 kB / 0.9999 GB, free: 6.375 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002031/0.2759, allocations: 0.9948 MB / 1.001 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.276, allocations: 0 / 1.001 GB, free: 5.367 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0009306/0.2769, allocations: 455.6 kB / 1.001 GB, free: 4.922 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.2773, allocations: 81.88 kB / 1.001 GB, free: 4.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001941/0.2792, allocations: 1.131 MB / 1.002 GB, free: 3.688 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002369/0.2795, allocations: 0.8661 MB / 1.003 GB, free: 2.797 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005445/0.28, allocations: 126.9 kB / 1.003 GB, free: 2.672 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001596/0.2802, allocations: 43.41 kB / 1.003 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of SimCode: time 5.51e-07/0.2802, allocations: 0 / 1.003 GB, free: 2.629 MB / 0.6198 GB Notification: Performance of Templates: time 0.01349/0.2937, allocations: 7.956 MB / 1.011 GB, free: 10.78 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)