Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001706, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002024/0.002024, allocations: 194.4 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 239.9 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.41/2.41, allocations: 390.2 MB / 0.6644 GB, free: 0.4922 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 71.89 kB / 0.8122 GB, free: 14.6 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6583/0.66, allocations: 140.4 MB / 0.9492 GB, free: 9.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003586/0.6636, allocations: 2.926 MB / 0.9521 GB, free: 6.848 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002705/0.6663, allocations: 2.215 MB / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001331/0.6665, allocations: 2.781 kB / 0.9543 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000705/0.6672, allocations: 245 kB / 0.9545 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.6674, allocations: 68.52 kB / 0.9546 GB, free: 4.871 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.001048/0.6684, allocations: 461.7 kB / 0.955 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0005151/0.6689, allocations: 0.5036 MB / 0.9555 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.6691, allocations: 67.05 kB / 0.9556 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001826/0.6693, allocations: 206.4 kB / 0.9558 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.6695, allocations: 216.9 kB / 0.956 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.014e-05/0.6696, allocations: 35.06 kB / 0.956 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003762/0.6699, allocations: 253.7 kB / 0.9562 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001483/0.6701, allocations: 162.9 kB / 0.9564 GB, free: 3.781 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.6703, allocations: 219.1 kB / 0.9566 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005999/0.6709, allocations: 0.7478 MB / 0.9573 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.6709, allocations: 0 / 0.9573 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6709, allocations: 0 / 0.9573 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.483e-05/0.6709, allocations: 1.375 kB / 0.9573 GB, free: 3.078 MB / 0.7169 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.001211/0.6721, allocations: 0.843 MB / 0.9582 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.082e-05/0.6722, allocations: 9.312 kB / 0.9582 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.071e-05/0.6722, allocations: 43.16 kB / 0.9582 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002083/0.6743, allocations: 230.9 kB / 0.9584 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004533/0.6748, allocations: 431.2 kB / 0.9588 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.874e-05/0.6749, allocations: 84.19 kB / 0.9589 GB, free: 1.746 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.96e-05/0.675, allocations: 13.72 kB / 0.9589 GB, free: 1.742 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.6762, allocations: 0.5278 MB / 0.9595 GB, free: 1.457 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.6762, allocations: 12.72 kB / 0.9595 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.865e-05/0.6762, allocations: 4.75 kB / 0.9595 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.6763, allocations: 3.406 kB / 0.9595 GB, free: 1.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001874/0.6781, allocations: 0.7556 MB / 0.9602 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.6803, allocations: 1.264 MB / 0.9614 GB, free: 244 kB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005311/0.6856, allocations: 1.02 MB / 0.9624 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009909/0.6867, allocations: 400.3 kB / 0.9628 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.6867, allocations: 2.156 kB / 0.9628 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001285/0.688, allocations: 0.5281 MB / 0.9633 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 2.265e-06/0.688, allocations: 4.844 kB / 0.9633 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.003323/0.6913, allocations: 1.178 MB / 0.9645 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.6914, allocations: 58.7 kB / 0.9646 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006847/0.6921, allocations: 0.521 MB / 0.9651 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 7.208e-05/0.6922, allocations: 33.64 kB / 0.9651 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.6924, allocations: 199.5 kB / 0.9653 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.223e-05/0.6925, allocations: 76.52 kB / 0.9654 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.6927, allocations: 62.02 kB / 0.9654 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001811/0.6929, allocations: 364.2 kB / 0.9658 GB, free: 13.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001093/0.694, allocations: 465.7 kB / 0.9662 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.6951, allocations: 0.4962 MB / 0.9667 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.697, allocations: 0.752 MB / 0.9674 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.697, allocations: 0 / 0.9674 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002533/0.6996, allocations: 1.086 MB / 0.9685 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.492e-05/0.6996, allocations: 44.53 kB / 0.9685 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6997, allocations: 0 / 0.9685 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.6997, allocations: 1.062 kB / 0.9685 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006312/0.7003, allocations: 91.64 kB / 0.9686 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.7003, allocations: 1.125 kB / 0.9686 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005636/0.7009, allocations: 67.98 kB / 0.9687 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.121e-05/0.701, allocations: 12.92 kB / 0.9687 GB, free: 12.27 MB / 0.7325 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.0003468/0.7013, allocations: 218.6 kB / 0.9689 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001225/0.7014, allocations: 47.53 kB / 0.969 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001149/0.7016, allocations: 48.91 kB / 0.969 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.7016, allocations: 6.281 kB / 0.969 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.7016, allocations: 1.188 kB / 0.969 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.7016, allocations: 0 / 0.969 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007735/0.7024, allocations: 0.6476 MB / 0.9696 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.7024, allocations: 7.938 kB / 0.9696 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005968/0.703, allocations: 83.39 kB / 0.9697 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.703, allocations: 1.344 kB / 0.9697 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.14e-05/0.7031, allocations: 16.27 kB / 0.9697 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.7031, allocations: 7.922 kB / 0.9697 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.7031, allocations: 1.062 kB / 0.9697 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.7052, allocations: 0.8325 MB / 0.9706 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.7055, allocations: 188.3 kB / 0.9707 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.898e-05/0.7056, allocations: 11.77 kB / 0.9708 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005678/0.7062, allocations: 62.55 kB / 0.9708 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.586e-05/0.7063, allocations: 29.41 kB / 0.9708 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.217e-05/0.7064, allocations: 10.86 kB / 0.9709 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004917/0.7069, allocations: 393 kB / 0.9712 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7069, allocations: 1.312 kB / 0.9712 GB, free: 10.61 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004487/0.7073, allocations: 99.03 kB / 0.9713 GB, free: 10.6 MB / 0.7325 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.002729/0.7101, allocations: 1.433 MB / 0.9727 GB, free: 9.582 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002309/0.7124, allocations: 0.9685 MB / 0.9737 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.7124, allocations: 0 / 0.9737 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001026/0.7134, allocations: 427.6 kB / 0.9741 GB, free: 8.184 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000591/0.714, allocations: 93.8 kB / 0.9742 GB, free: 8.086 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01294/0.727, allocations: 7.469 MB / 0.9815 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/0.7275, allocations: 0.858 MB / 0.9823 GB, free: 15.64 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005856/0.7281, allocations: 134.9 kB / 0.9824 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002741/0.7284, allocations: 131.4 kB / 0.9826 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of SimCode: time 6.91e-07/0.7284, allocations: 0 / 0.9826 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1942/0.9226, allocations: 12.91 MB / 0.9952 GB, free: 2.777 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003035/0.923, allocations: 287.6 kB / 0.9954 GB, free: 2.398 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.969, allocations: 4.141 kB / 0.9954 GB, free: 2.398 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityWaterCooled.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1)