Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008807/0.008807, allocations: 101.1 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0017/0.0017, allocations: 190.6 kB / 16.67 MB, free: 5.977 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.461/1.461, allocations: 205.1 MB / 222.5 MB, free: 4.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.586/1.586, allocations: 251.7 MB / 0.5094 GB, free: 3.086 MB / 414.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.001389/0.001389, allocations: 71.91 kB / 0.7258 GB, free: 8.98 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2241, allocations: 104.7 MB / 0.8281 GB, free: 176 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004547/0.2287, allocations: 2.902 MB / 0.8309 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.003093/0.2318, allocations: 2.26 MB / 0.8331 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/0.232, allocations: 7.938 kB / 0.8331 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007031/0.2327, allocations: 254.6 kB / 0.8334 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.2328, allocations: 87.2 kB / 0.8335 GB, free: 10.63 MB / 0.6544 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.001138/0.234, allocations: 487.1 kB / 0.8339 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005325/0.2345, allocations: 0.4986 MB / 0.8344 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.2347, allocations: 52.72 kB / 0.8345 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.2349, allocations: 207.4 kB / 0.8347 GB, free: 9.41 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002299/0.2351, allocations: 211.2 kB / 0.8349 GB, free: 9.203 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.167e-05/0.2352, allocations: 40 kB / 0.8349 GB, free: 9.164 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.2356, allocations: 259.6 kB / 0.8352 GB, free: 8.91 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.2357, allocations: 155.6 kB / 0.8353 GB, free: 8.758 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0002142/0.236, allocations: 214.9 kB / 0.8355 GB, free: 8.547 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0007185/0.2367, allocations: 0.7517 MB / 0.8362 GB, free: 7.793 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.2367, allocations: 3.984 kB / 0.8362 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2367, allocations: 0 / 0.8362 GB, free: 7.789 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.2367, allocations: 4 kB / 0.8363 GB, free: 7.785 MB / 0.6544 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.001353/0.2381, allocations: 0.8321 MB / 0.8371 GB, free: 6.891 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.2381, allocations: 15.97 kB / 0.8371 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.2403, allocations: 228.2 kB / 0.8373 GB, free: 6.652 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000563/0.2409, allocations: 429.9 kB / 0.8377 GB, free: 6.191 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.241, allocations: 75.95 kB / 0.8378 GB, free: 6.105 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.999e-05/0.241, allocations: 12.38 kB / 0.8378 GB, free: 6.094 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001333/0.2424, allocations: 0.5411 MB / 0.8383 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.678e-06/0.2424, allocations: 0 / 0.8383 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/0.2424, allocations: 4 kB / 0.8383 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.2425, allocations: 4 kB / 0.8383 GB, free: 5.539 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002076/0.2445, allocations: 0.7689 MB / 0.8391 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002231/0.2468, allocations: 1.261 MB / 0.8403 GB, free: 3.457 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005411/0.2522, allocations: 1.021 MB / 0.8413 GB, free: 2.426 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001011/0.2532, allocations: 396.6 kB / 0.8417 GB, free: 2.035 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.2533, allocations: 4.328 kB / 0.8417 GB, free: 2.031 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001292/0.2546, allocations: 0.532 MB / 0.8422 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=21): time 4.017e-06/0.2546, allocations: 0 / 0.8422 GB, free: 1.488 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.003309/0.2579, allocations: 1.186 MB / 0.8434 GB, free: 304 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.258, allocations: 55.41 kB / 0.8434 GB, free: 236 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006176/0.2586, allocations: 0.5213 MB / 0.8439 GB, free: 15.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.229e-05/0.2587, allocations: 33.7 kB / 0.844 GB, free: 15.66 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.2588, allocations: 200.5 kB / 0.8442 GB, free: 15.46 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.573e-05/0.2589, allocations: 63.02 kB / 0.8442 GB, free: 15.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001577/0.2591, allocations: 69.66 kB / 0.8443 GB, free: 15.33 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001424/0.2592, allocations: 350.8 kB / 0.8446 GB, free: 14.98 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001118/0.2604, allocations: 472.5 kB / 0.8451 GB, free: 14.51 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001142/0.2615, allocations: 0.4973 MB / 0.8455 GB, free: 14.01 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001987/0.2635, allocations: 0.7666 MB / 0.8463 GB, free: 13.23 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2635, allocations: 0 / 0.8463 GB, free: 13.23 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002595/0.2661, allocations: 1.084 MB / 0.8474 GB, free: 12.14 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.988e-05/0.2662, allocations: 41.69 kB / 0.8474 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.2662, allocations: 0 / 0.8474 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.2662, allocations: 3.938 kB / 0.8474 GB, free: 12.09 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006355/0.2669, allocations: 99.77 kB / 0.8475 GB, free: 11.99 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.2669, allocations: 4 kB / 0.8475 GB, free: 11.98 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000556/0.2675, allocations: 63.78 kB / 0.8476 GB, free: 11.92 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.2675, allocations: 15.97 kB / 0.8476 GB, free: 11.91 MB / 0.67 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 (22): * Single equations (assignments): 21 * 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.0003365/0.2679, allocations: 209.8 kB / 0.8478 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.63e-05/0.268, allocations: 43.44 kB / 0.8478 GB, free: 11.65 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.935e-05/0.2681, allocations: 55.86 kB / 0.8479 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.65e-06/0.2681, allocations: 3.984 kB / 0.8479 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/0.2681, allocations: 0 / 0.8479 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.2681, allocations: 0 / 0.8479 GB, free: 11.59 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006658/0.2688, allocations: 0.6377 MB / 0.8485 GB, free: 10.9 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.2688, allocations: 4 kB / 0.8485 GB, free: 10.89 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006058/0.2694, allocations: 87.83 kB / 0.8486 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.2694, allocations: 0 / 0.8486 GB, free: 10.81 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.837e-05/0.2694, allocations: 19.92 kB / 0.8486 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.2695, allocations: 0 / 0.8486 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2695, allocations: 0 / 0.8486 GB, free: 10.79 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002151/0.2716, allocations: 0.8387 MB / 0.8494 GB, free: 9.934 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002478/0.2719, allocations: 192.4 kB / 0.8496 GB, free: 9.727 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.067e-05/0.272, allocations: 11.92 kB / 0.8496 GB, free: 9.715 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005695/0.2725, allocations: 59.92 kB / 0.8497 GB, free: 9.656 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/0.2726, allocations: 31.91 kB / 0.8497 GB, free: 9.625 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.2727, allocations: 11.98 kB / 0.8497 GB, free: 9.613 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004447/0.2731, allocations: 387.1 kB / 0.8501 GB, free: 9.238 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2731, allocations: 0 / 0.8501 GB, free: 9.238 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004201/0.2736, allocations: 99.98 kB / 0.8502 GB, free: 9.141 MB / 0.67 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 (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.0004692/0.274, allocations: 159.7 kB / 0.8503 GB, free: 8.984 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002349/0.2764, allocations: 0.944 MB / 0.8513 GB, free: 8.027 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2764, allocations: 0 / 0.8513 GB, free: 8.027 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001088/0.2775, allocations: 415.6 kB / 0.8517 GB, free: 7.621 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.278, allocations: 97.77 kB / 0.8517 GB, free: 7.527 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002383/0.2804, allocations: 1.057 MB / 0.8528 GB, free: 6.445 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.2809, allocations: 0.8542 MB / 0.8536 GB, free: 5.562 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004571/0.2813, allocations: 134.8 kB / 0.8537 GB, free: 5.434 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.2815, allocations: 39.41 kB / 0.8538 GB, free: 5.395 MB / 0.67 GB Notification: Performance of SimCode: time 6.52e-07/0.2815, allocations: 0 / 0.8538 GB, free: 5.395 MB / 0.67 GB Notification: Performance of Templates: time 0.01611/0.2976, allocations: 8.845 MB / 0.8624 GB, free: 12.67 MB / 0.6856 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)