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.CoolingCapacityAirCooled.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.CoolingCapacityAirCooled,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007928/0.0007931, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008393/0.0008393, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.4 MB / 222.1 MB, free: 5.52 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.702/1.702, allocations: 252 MB / 0.5102 GB, free: 4.758 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.0005305/0.0005306, allocations: 23.75 kB / 0.6243 GB, free: 1.078 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5878/0.5884, allocations: 106.3 MB / 0.7281 GB, free: 11.57 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002763/0.5912, allocations: 1.987 MB / 0.7301 GB, free: 9.566 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002629/0.5938, allocations: 1.743 MB / 0.7318 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.594, allocations: 4 kB / 0.7318 GB, free: 7.809 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007191/0.5947, allocations: 195 kB / 0.732 GB, free: 7.617 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001409/0.5949, allocations: 51.55 kB / 0.732 GB, free: 7.566 MB / 0.545 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.001068/0.596, allocations: 372.4 kB / 0.7324 GB, free: 7.207 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004311/0.5964, allocations: 342.8 kB / 0.7327 GB, free: 6.871 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001218/0.5965, allocations: 28.41 kB / 0.7327 GB, free: 6.844 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001574/0.5967, allocations: 139.6 kB / 0.7329 GB, free: 6.707 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.5969, allocations: 143.5 kB / 0.733 GB, free: 6.566 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.959e-05/0.597, allocations: 16 kB / 0.733 GB, free: 6.551 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003929/0.5974, allocations: 223.7 kB / 0.7332 GB, free: 6.332 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001412/0.5975, allocations: 99.7 kB / 0.7333 GB, free: 6.234 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001032/0.5976, allocations: 81.58 kB / 0.7334 GB, free: 6.148 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0005432/0.5982, allocations: 472.8 kB / 0.7339 GB, free: 5.688 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.5982, allocations: 4 kB / 0.7339 GB, free: 5.684 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5982, allocations: 0 / 0.7339 GB, free: 5.684 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.5982, allocations: 0 / 0.7339 GB, free: 5.684 MB / 0.545 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.001122/0.5993, allocations: 0.6479 MB / 0.7345 GB, free: 4.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.5994, allocations: 11.97 kB / 0.7345 GB, free: 4.969 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001485/0.6009, allocations: 171.3 kB / 0.7347 GB, free: 4.801 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005348/0.6014, allocations: 353.3 kB / 0.735 GB, free: 4.414 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.6016, allocations: 75.38 kB / 0.7351 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.6016, allocations: 4 kB / 0.7351 GB, free: 4.324 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001074/0.6027, allocations: 461.2 kB / 0.7355 GB, free: 3.867 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.6027, allocations: 3.953 kB / 0.7355 GB, free: 3.863 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.011e-05/0.6028, allocations: 7.984 kB / 0.7355 GB, free: 3.855 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/0.6028, allocations: 7.938 kB / 0.7355 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001445/0.6042, allocations: 0.6207 MB / 0.7361 GB, free: 3.227 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.6061, allocations: 1.058 MB / 0.7372 GB, free: 2.117 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004267/0.6104, allocations: 0.908 MB / 0.7381 GB, free: 1.199 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007016/0.6111, allocations: 332.6 kB / 0.7384 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.349e-05/0.6111, allocations: 4 kB / 0.7384 GB, free: 0.8672 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009783/0.6121, allocations: 459 kB / 0.7388 GB, free: 416 kB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 2.615e-06/0.6121, allocations: 0 / 0.7388 GB, free: 416 kB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.002253/0.6144, allocations: 0.9773 MB / 0.7398 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.106e-05/0.6145, allocations: 59.39 kB / 0.7398 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005139/0.615, allocations: 425.6 kB / 0.7402 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/0.6151, allocations: 37.69 kB / 0.7403 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001403/0.6152, allocations: 172 kB / 0.7404 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.569e-05/0.6153, allocations: 51.28 kB / 0.7405 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/0.6153, allocations: 8 kB / 0.7405 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.6155, allocations: 346.8 kB / 0.7408 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007989/0.6163, allocations: 404.6 kB / 0.7412 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007667/0.6171, allocations: 394 kB / 0.7416 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007785/0.6179, allocations: 377.5 kB / 0.7419 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.6179, allocations: 0 / 0.7419 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0018/0.6197, allocations: 0.9553 MB / 0.7429 GB, free: 12.18 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.628e-05/0.6198, allocations: 40.03 kB / 0.7429 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.6198, allocations: 0 / 0.7429 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.6198, allocations: 4 kB / 0.7429 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.6202, allocations: 75.92 kB / 0.743 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6202, allocations: 0 / 0.743 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003482/0.6206, allocations: 51.86 kB / 0.743 GB, free: 12.01 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.6206, allocations: 15.98 kB / 0.7431 GB, free: 12 MB / 0.5606 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.0002852/0.6209, allocations: 196.3 kB / 0.7432 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.183e-05/0.621, allocations: 39.56 kB / 0.7433 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.774e-05/0.6211, allocations: 35.47 kB / 0.7433 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/0.6211, allocations: 4 kB / 0.7433 GB, free: 11.72 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.6211, allocations: 3.984 kB / 0.7433 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.6211, allocations: 0 / 0.7433 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005992/0.6217, allocations: 0.5478 MB / 0.7439 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.6217, allocations: 0 / 0.7439 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004081/0.6222, allocations: 79.91 kB / 0.7439 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/0.6222, allocations: 0 / 0.7439 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.814e-05/0.6222, allocations: 7.984 kB / 0.7439 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.6222, allocations: 0 / 0.7439 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.6222, allocations: 0 / 0.7439 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001499/0.6237, allocations: 0.7023 MB / 0.7446 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.6239, allocations: 160.6 kB / 0.7448 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.737e-05/0.624, allocations: 11.98 kB / 0.7448 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003954/0.6244, allocations: 63.94 kB / 0.7449 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.6245, allocations: 23.91 kB / 0.7449 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-05/0.6245, allocations: 7.984 kB / 0.7449 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003734/0.6249, allocations: 315.1 kB / 0.7452 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6249, allocations: 0 / 0.7452 GB, free: 9.719 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004094/0.6253, allocations: 88.16 kB / 0.7453 GB, free: 9.633 MB / 0.5606 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.0004749/0.6258, allocations: 155.4 kB / 0.7454 GB, free: 9.477 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001684/0.6275, allocations: 0.7996 MB / 0.7462 GB, free: 8.664 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6275, allocations: 4 kB / 0.7462 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007616/0.6283, allocations: 347.7 kB / 0.7465 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000457/0.6288, allocations: 83.02 kB / 0.7466 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00179/0.6306, allocations: 0.8682 MB / 0.7475 GB, free: 7.352 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.631, allocations: 0.8068 MB / 0.7483 GB, free: 6.52 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004467/0.6314, allocations: 110.2 kB / 0.7484 GB, free: 6.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001374/0.6316, allocations: 31.41 kB / 0.7484 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of SimCode: time 6.72e-07/0.6316, allocations: 4 kB / 0.7484 GB, free: 6.379 MB / 0.5606 GB Notification: Performance of Templates: time 0.01202/0.6436, allocations: 6.483 MB / 0.7547 GB, free: 8 kB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1) Environment - environmentSimulation: