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.001533/0.001533, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.002306/0.002306, allocations: 193.5 kB / 16.13 MB, free: 6.609 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.464/1.464, allocations: 205.1 MB / 222 MB, free: 4.754 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.483/1.483, allocations: 251.7 MB / 0.5088 GB, free: 3.293 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.001247/0.001248, allocations: 67.91 kB / 0.6216 GB, free: 1.926 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5019/0.5032, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.003996/0.5072, allocations: 2.418 MB / 0.7262 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002937/0.5102, allocations: 1.871 MB / 0.728 GB, free: 8.801 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.5104, allocations: 4 kB / 0.728 GB, free: 8.797 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0007755/0.5112, allocations: 212.9 kB / 0.7282 GB, free: 8.59 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001349/0.5114, allocations: 59.48 kB / 0.7283 GB, free: 8.531 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.001076/0.5125, allocations: 368.1 kB / 0.7286 GB, free: 8.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004358/0.5129, allocations: 390.7 kB / 0.729 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.513, allocations: 40.34 kB / 0.729 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001498/0.5132, allocations: 139.6 kB / 0.7292 GB, free: 7.621 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.5134, allocations: 151.4 kB / 0.7293 GB, free: 7.473 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 5.531e-05/0.5134, allocations: 20 kB / 0.7293 GB, free: 7.453 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003822/0.5138, allocations: 223.7 kB / 0.7296 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001557/0.514, allocations: 119.6 kB / 0.7297 GB, free: 7.117 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001712/0.5142, allocations: 159.2 kB / 0.7298 GB, free: 6.961 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000627/0.5148, allocations: 0.5842 MB / 0.7304 GB, free: 6.375 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.374e-06/0.5148, allocations: 3.938 kB / 0.7304 GB, free: 6.371 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.573e-06/0.5148, allocations: 4 kB / 0.7304 GB, free: 6.367 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.5148, allocations: 4 kB / 0.7304 GB, free: 6.363 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.001296/0.5161, allocations: 0.6984 MB / 0.7311 GB, free: 5.609 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.5162, allocations: 8.031 kB / 0.7311 GB, free: 5.602 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001751/0.518, allocations: 160.3 kB / 0.7312 GB, free: 5.445 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004943/0.5185, allocations: 378.2 kB / 0.7316 GB, free: 5.035 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001125/0.5186, allocations: 71.95 kB / 0.7317 GB, free: 4.953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.146e-05/0.5186, allocations: 8.375 kB / 0.7317 GB, free: 4.945 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.5197, allocations: 441.4 kB / 0.7321 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5197, allocations: 0 / 0.7321 GB, free: 4.508 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.023e-05/0.5198, allocations: 8 kB / 0.7321 GB, free: 4.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.5198, allocations: 4 kB / 0.7321 GB, free: 4.496 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.5214, allocations: 0.5816 MB / 0.7327 GB, free: 3.914 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001878/0.5233, allocations: 1.046 MB / 0.7337 GB, free: 2.816 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005074/0.5284, allocations: 0.8456 MB / 0.7345 GB, free: 1.961 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007936/0.5292, allocations: 304.7 kB / 0.7348 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.5292, allocations: 256 / 0.7348 GB, free: 1.66 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009842/0.5302, allocations: 447 kB / 0.7352 GB, free: 1.211 MB / 0.545 GB Notification: Performance of pre-optimization done (n=16): time 1.833e-06/0.5302, allocations: 8 kB / 0.7353 GB, free: 1.203 MB / 0.545 GB Notification: Performance of matching and sorting (n=16): time 0.00232/0.5326, allocations: 0.9138 MB / 0.7361 GB, free: 292 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.389e-05/0.5326, allocations: 55.41 kB / 0.7362 GB, free: 224 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/0.5331, allocations: 437.5 kB / 0.7366 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.587e-05/0.5332, allocations: 33.7 kB / 0.7366 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001304/0.5333, allocations: 168.1 kB / 0.7368 GB, free: 15.58 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.212e-05/0.5334, allocations: 51.3 kB / 0.7369 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001257/0.5335, allocations: 57.67 kB / 0.7369 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.5337, allocations: 346.7 kB / 0.7372 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008133/0.5345, allocations: 384.6 kB / 0.7376 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007854/0.5353, allocations: 377.4 kB / 0.738 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001437/0.5367, allocations: 0.5979 MB / 0.7386 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.5367, allocations: 0 / 0.7386 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001908/0.5387, allocations: 0.9124 MB / 0.7394 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 5.838e-05/0.5387, allocations: 41.69 kB / 0.7395 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.5388, allocations: 0 / 0.7395 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.5388, allocations: 0 / 0.7395 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004529/0.5392, allocations: 71.86 kB / 0.7396 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.104e-06/0.5392, allocations: 0 / 0.7396 GB, free: 12.72 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000385/0.5396, allocations: 47.89 kB / 0.7396 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.166e-05/0.5397, allocations: 15.92 kB / 0.7396 GB, free: 12.66 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.0002596/0.54, allocations: 185.8 kB / 0.7398 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.014e-05/0.54, allocations: 35.53 kB / 0.7398 GB, free: 12.43 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.741e-05/0.5401, allocations: 47.39 kB / 0.7399 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.5401, allocations: 4 kB / 0.7399 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.307e-06/0.5401, allocations: 0 / 0.7399 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.5402, allocations: 0 / 0.7399 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005051/0.5407, allocations: 0.5439 MB / 0.7404 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.5407, allocations: 4 kB / 0.7404 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004426/0.5411, allocations: 71.84 kB / 0.7405 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.5411, allocations: 0 / 0.7405 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.821e-05/0.5412, allocations: 7.984 kB / 0.7405 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.5412, allocations: 0 / 0.7405 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.5412, allocations: 0 / 0.7405 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001545/0.5427, allocations: 0.6603 MB / 0.7411 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001927/0.5429, allocations: 172.5 kB / 0.7413 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.455e-05/0.543, allocations: 4 kB / 0.7413 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004301/0.5435, allocations: 43.94 kB / 0.7413 GB, free: 10.79 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.5436, allocations: 31.89 kB / 0.7414 GB, free: 10.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.199e-05/0.5436, allocations: 11.98 kB / 0.7414 GB, free: 10.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003175/0.5439, allocations: 319 kB / 0.7417 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5439, allocations: 0 / 0.7417 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004038/0.5443, allocations: 80 kB / 0.7418 GB, free: 10.36 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.0003869/0.5447, allocations: 151.7 kB / 0.7419 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00172/0.5465, allocations: 0.7605 MB / 0.7426 GB, free: 9.43 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.5465, allocations: 4 kB / 0.7427 GB, free: 9.426 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0007896/0.5473, allocations: 327.7 kB / 0.743 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004658/0.5477, allocations: 71.08 kB / 0.743 GB, free: 9.039 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002232/0.55, allocations: 0.8911 MB / 0.7439 GB, free: 8.125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005208/0.5505, allocations: 0.8068 MB / 0.7447 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0007551/0.5513, allocations: 102.2 kB / 0.7448 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.5515, allocations: 35.41 kB / 0.7448 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of SimCode: time 7.62e-07/0.5515, allocations: 0 / 0.7448 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.0188/0.5703, allocations: 6.757 MB / 0.7514 GB, free: 0.5117 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.makefile (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)