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.007794/0.007794, allocations: 101.1 kB / 15.73 MB, free: 6.043 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.00143/0.00143, 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.432/1.432, allocations: 205.1 MB / 222.5 MB, free: 4.375 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.516/1.516, allocations: 251.7 MB / 0.5094 GB, free: 3.039 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.001464/0.001464, allocations: 68.42 kB / 0.7258 GB, free: 8.945 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2297, allocations: 104.7 MB / 0.8281 GB, free: 144 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003719/0.2335, allocations: 2.913 MB / 0.8309 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002865/0.2364, allocations: 2.252 MB / 0.8331 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001287/0.2365, allocations: 4 kB / 0.8331 GB, free: 10.94 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0007401/0.2373, allocations: 266.5 kB / 0.8334 GB, free: 10.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.2374, allocations: 75.3 kB / 0.8335 GB, free: 10.61 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.001165/0.2386, allocations: 496.4 kB / 0.8339 GB, free: 10.13 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0004893/0.2391, allocations: 0.4986 MB / 0.8344 GB, free: 9.629 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.2392, allocations: 52.72 kB / 0.8345 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001869/0.2394, allocations: 211.3 kB / 0.8347 GB, free: 9.371 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.2397, allocations: 203.3 kB / 0.8349 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.301e-05/0.2397, allocations: 39.98 kB / 0.8349 GB, free: 9.133 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003645/0.2401, allocations: 255.7 kB / 0.8351 GB, free: 8.883 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.2403, allocations: 163.6 kB / 0.8353 GB, free: 8.723 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.2405, allocations: 210.9 kB / 0.8355 GB, free: 8.516 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0006815/0.2412, allocations: 0.7555 MB / 0.8362 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.2412, allocations: 0 / 0.8362 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.024e-06/0.2412, allocations: 0 / 0.8362 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.117e-05/0.2412, allocations: 0 / 0.8362 GB, free: 7.758 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.001457/0.2427, allocations: 0.8399 MB / 0.8371 GB, free: 6.855 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.2427, allocations: 12.03 kB / 0.8371 GB, free: 6.844 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/0.2449, allocations: 224.2 kB / 0.8373 GB, free: 6.625 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006135/0.2455, allocations: 437.9 kB / 0.8377 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.2457, allocations: 79.94 kB / 0.8378 GB, free: 6.066 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.61e-05/0.2457, allocations: 12.38 kB / 0.8378 GB, free: 6.055 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001287/0.247, allocations: 0.5303 MB / 0.8383 GB, free: 5.52 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.007e-06/0.247, allocations: 4 kB / 0.8383 GB, free: 5.516 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.2471, allocations: 4 kB / 0.8383 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.2471, allocations: 4 kB / 0.8383 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002192/0.2493, allocations: 0.7766 MB / 0.8391 GB, free: 4.73 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00223/0.2515, allocations: 1.261 MB / 0.8403 GB, free: 3.418 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005342/0.2569, allocations: 1.013 MB / 0.8413 GB, free: 2.395 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009778/0.2579, allocations: 400.5 kB / 0.8417 GB, free: 2 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.772e-05/0.2579, allocations: 4.344 kB / 0.8417 GB, free: 1.996 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/0.2592, allocations: 0.5279 MB / 0.8422 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=21): time 2.294e-06/0.2592, allocations: 0 / 0.8422 GB, free: 1.457 MB / 0.6544 GB Notification: Performance of matching and sorting (n=21): time 0.003257/0.2624, allocations: 1.182 MB / 0.8434 GB, free: 276 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.529e-05/0.2625, allocations: 55.41 kB / 0.8434 GB, free: 208 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006254/0.2632, allocations: 0.5252 MB / 0.8439 GB, free: 15.67 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.553e-05/0.2632, allocations: 33.7 kB / 0.844 GB, free: 15.63 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/0.2634, allocations: 196.5 kB / 0.8441 GB, free: 15.44 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 8.068e-05/0.2635, allocations: 78.98 kB / 0.8442 GB, free: 15.36 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001588/0.2637, allocations: 65.66 kB / 0.8443 GB, free: 15.29 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.2638, allocations: 350.8 kB / 0.8446 GB, free: 14.94 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/0.2649, allocations: 472.5 kB / 0.8451 GB, free: 14.47 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001156/0.2661, allocations: 0.4997 MB / 0.8455 GB, free: 13.97 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001972/0.2681, allocations: 0.7481 MB / 0.8463 GB, free: 13.21 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.2681, allocations: 4 kB / 0.8463 GB, free: 13.21 MB / 0.67 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002517/0.2706, allocations: 1.087 MB / 0.8473 GB, free: 12.11 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.481e-05/0.2707, allocations: 37.69 kB / 0.8474 GB, free: 12.07 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2707, allocations: 4 kB / 0.8474 GB, free: 12.06 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2707, allocations: 7.938 kB / 0.8474 GB, free: 12.05 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006277/0.2714, allocations: 91.88 kB / 0.8475 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2714, allocations: 4 kB / 0.8475 GB, free: 11.96 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005477/0.2719, allocations: 59.78 kB / 0.8475 GB, free: 11.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.339e-05/0.272, allocations: 11.98 kB / 0.8476 GB, free: 11.89 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.000297/0.2723, allocations: 217.7 kB / 0.8478 GB, free: 11.67 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/0.2724, allocations: 55.42 kB / 0.8478 GB, free: 11.61 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.711e-05/0.2725, allocations: 51.84 kB / 0.8479 GB, free: 11.56 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.2725, allocations: 4 kB / 0.8479 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.2725, allocations: 0 / 0.8479 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2725, allocations: 0 / 0.8479 GB, free: 11.55 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006375/0.2731, allocations: 0.6377 MB / 0.8485 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.2732, allocations: 0 / 0.8485 GB, free: 10.87 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006197/0.2738, allocations: 95.81 kB / 0.8486 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2738, allocations: 0 / 0.8486 GB, free: 10.77 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/0.2739, allocations: 15.92 kB / 0.8486 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.2739, allocations: 0 / 0.8486 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2739, allocations: 0 / 0.8486 GB, free: 10.76 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002191/0.2761, allocations: 0.8385 MB / 0.8494 GB, free: 9.902 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002674/0.2763, allocations: 192.4 kB / 0.8496 GB, free: 9.695 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.874e-05/0.2764, allocations: 11.88 kB / 0.8496 GB, free: 9.684 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00056/0.277, allocations: 63.86 kB / 0.8497 GB, free: 9.621 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.76e-05/0.2771, allocations: 31.95 kB / 0.8497 GB, free: 9.59 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.574e-05/0.2771, allocations: 7.984 kB / 0.8497 GB, free: 9.582 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0004311/0.2776, allocations: 391.1 kB / 0.8501 GB, free: 9.203 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.6e-07/0.2776, allocations: 0 / 0.8501 GB, free: 9.203 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0004133/0.278, allocations: 96 kB / 0.8502 GB, free: 9.109 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.000413/0.2784, allocations: 159 kB / 0.8503 GB, free: 8.953 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.002249/0.2807, allocations: 0.944 MB / 0.8512 GB, free: 7.996 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.2807, allocations: 0 / 0.8512 GB, free: 7.996 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.2818, allocations: 419.6 kB / 0.8516 GB, free: 7.586 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004725/0.2822, allocations: 100.2 kB / 0.8517 GB, free: 7.492 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002219/0.2845, allocations: 1.056 MB / 0.8528 GB, free: 6.406 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003927/0.2849, allocations: 0.8542 MB / 0.8536 GB, free: 5.523 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0004371/0.2853, allocations: 126.9 kB / 0.8537 GB, free: 5.402 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001685/0.2855, allocations: 39.41 kB / 0.8538 GB, free: 5.363 MB / 0.67 GB Notification: Performance of SimCode: time 5.01e-07/0.2855, allocations: 0 / 0.8538 GB, free: 5.363 MB / 0.67 GB Notification: Performance of Templates: time 0.01409/0.2996, allocations: 8.856 MB / 0.8624 GB, free: 12.63 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)