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.0008611/0.0008612, allocations: 91.45 kB / 15.36 MB, free: 0.7383 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.008254/0.008255, allocations: 172.5 kB / 16.26 MB, free: 6.613 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.441/1.441, allocations: 205.4 MB / 222.4 MB, free: 5.562 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: 252 MB / 0.5105 GB, free: 4.625 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.0005077/0.0005079, allocations: 16 kB / 0.6249 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5571/0.5577, allocations: 106.3 MB / 0.7287 GB, free: 11.25 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002824/0.5605, allocations: 2.06 MB / 0.7307 GB, free: 9.176 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.00278/0.5633, allocations: 1.844 MB / 0.7325 GB, free: 7.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000198/0.5636, allocations: 0 / 0.7325 GB, free: 7.32 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007568/0.5643, allocations: 212.9 kB / 0.7328 GB, free: 7.113 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002319/0.5646, allocations: 59.48 kB / 0.7328 GB, free: 7.055 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.001231/0.5658, allocations: 385.7 kB / 0.7332 GB, free: 6.684 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0006561/0.5665, allocations: 383.5 kB / 0.7335 GB, free: 6.309 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001618/0.5667, allocations: 44.33 kB / 0.7336 GB, free: 6.266 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003161/0.567, allocations: 135.6 kB / 0.7337 GB, free: 6.133 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003091/0.5673, allocations: 147.4 kB / 0.7339 GB, free: 5.988 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.997e-05/0.5674, allocations: 20 kB / 0.7339 GB, free: 5.969 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005341/0.568, allocations: 227.7 kB / 0.7341 GB, free: 5.746 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001834/0.5681, allocations: 111.6 kB / 0.7342 GB, free: 5.637 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002775/0.5684, allocations: 180.9 kB / 0.7344 GB, free: 5.453 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0008624/0.5693, allocations: 0.5763 MB / 0.7349 GB, free: 4.875 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.5693, allocations: 0 / 0.7349 GB, free: 4.875 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.884e-06/0.5693, allocations: 0 / 0.7349 GB, free: 4.875 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.472e-05/0.5693, allocations: 4 kB / 0.7349 GB, free: 4.871 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.001251/0.5706, allocations: 0.648 MB / 0.7356 GB, free: 4.168 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.5707, allocations: 8.031 kB / 0.7356 GB, free: 4.16 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001827/0.5725, allocations: 168.3 kB / 0.7357 GB, free: 3.996 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000611/0.5731, allocations: 370.3 kB / 0.7361 GB, free: 3.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001264/0.5732, allocations: 75.95 kB / 0.7362 GB, free: 3.508 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.759e-05/0.5733, allocations: 8.375 kB / 0.7362 GB, free: 3.5 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.5744, allocations: 459 kB / 0.7366 GB, free: 3.047 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.5744, allocations: 11.98 kB / 0.7366 GB, free: 3.035 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.5745, allocations: 4 kB / 0.7366 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.5745, allocations: 0 / 0.7366 GB, free: 3.031 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.5761, allocations: 0.6246 MB / 0.7372 GB, free: 2.406 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.5783, allocations: 1.058 MB / 0.7383 GB, free: 1.297 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00513/0.5834, allocations: 0.9158 MB / 0.7392 GB, free: 380 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000822/0.5843, allocations: 332.6 kB / 0.7395 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.5843, allocations: 0 / 0.7395 GB, free: 44 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001122/0.5855, allocations: 463.3 kB / 0.7399 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=16): time 2.976e-06/0.5855, allocations: 4 kB / 0.7399 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=16): time 0.002692/0.5882, allocations: 0.9805 MB / 0.7409 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.85e-05/0.5883, allocations: 55.41 kB / 0.7409 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005893/0.5889, allocations: 429.6 kB / 0.7413 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 8.412e-05/0.589, allocations: 33.7 kB / 0.7414 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.5891, allocations: 176.1 kB / 0.7415 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.289e-05/0.5892, allocations: 47.27 kB / 0.7416 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.519e-05/0.5893, allocations: 21.72 kB / 0.7416 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5894, allocations: 354.7 kB / 0.7419 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009504/0.5904, allocations: 400.6 kB / 0.7423 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008604/0.5913, allocations: 403.6 kB / 0.7427 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001585/0.5929, allocations: 0.6328 MB / 0.7433 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.5929, allocations: 0 / 0.7433 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002074/0.595, allocations: 0.9499 MB / 0.7443 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 6.682e-05/0.5951, allocations: 45.69 kB / 0.7443 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.5951, allocations: 0 / 0.7443 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.5951, allocations: 3.938 kB / 0.7443 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004822/0.5956, allocations: 79.86 kB / 0.7444 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.438e-06/0.5956, allocations: 0 / 0.7444 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004371/0.596, allocations: 55.8 kB / 0.7444 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.5961, allocations: 19.92 kB / 0.7445 GB, free: 10.86 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 (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 (17): * Single equations (assignments): 16 * 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.0002889/0.5964, allocations: 189.8 kB / 0.7446 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.079e-05/0.5965, allocations: 31.62 kB / 0.7447 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.256e-05/0.5966, allocations: 39.47 kB / 0.7447 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.5966, allocations: 3.984 kB / 0.7447 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.5966, allocations: 0 / 0.7447 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.5966, allocations: 0 / 0.7447 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006102/0.5972, allocations: 0.5478 MB / 0.7452 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.5972, allocations: 0 / 0.7452 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004871/0.5977, allocations: 83.84 kB / 0.7453 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.772e-06/0.5977, allocations: 4 kB / 0.7453 GB, free: 9.898 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.093e-05/0.5978, allocations: 3.984 kB / 0.7453 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.5978, allocations: 4 kB / 0.7453 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.5978, allocations: 0 / 0.7453 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.5996, allocations: 0.6956 MB / 0.746 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002138/0.5998, allocations: 160.6 kB / 0.7462 GB, free: 9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.844e-05/0.5999, allocations: 15.98 kB / 0.7462 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004825/0.6004, allocations: 63.94 kB / 0.7462 GB, free: 8.922 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/0.6005, allocations: 19.84 kB / 0.7463 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.581e-05/0.6005, allocations: 15.98 kB / 0.7463 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0004112/0.6009, allocations: 319 kB / 0.7466 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.3e-07/0.6009, allocations: 0 / 0.7466 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004402/0.6014, allocations: 76 kB / 0.7467 GB, free: 8.5 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 (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.0005258/0.6019, allocations: 163.3 kB / 0.7468 GB, free: 8.336 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001908/0.6038, allocations: 0.8055 MB / 0.7476 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6039, allocations: 0 / 0.7476 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008497/0.6047, allocations: 347.7 kB / 0.7479 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005154/0.6053, allocations: 71.23 kB / 0.748 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001942/0.6072, allocations: 0.9072 MB / 0.7489 GB, free: 6.188 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004517/0.6077, allocations: 0.8107 MB / 0.7497 GB, free: 5.352 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0004404/0.6081, allocations: 98.23 kB / 0.7498 GB, free: 5.258 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.6083, allocations: 39.41 kB / 0.7498 GB, free: 5.219 MB / 0.5606 GB Notification: Performance of SimCode: time 9.22e-07/0.6083, allocations: 7.938 kB / 0.7498 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of Templates: time 0.01437/0.6227, allocations: 6.667 MB / 0.7563 GB, free: 14.65 MB / 0.5762 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: