Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.CoolingCapacityAirCooled,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled",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.001293/0.001293, allocations: 97.91 kB / 15.05 MB, free: 1.105 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.001465/0.001465, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 239.9 MB, free: 5.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.403/2.403, allocations: 390.3 MB / 0.6653 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003468/0.000347, allocations: 16 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7727/0.773, allocations: 142.3 MB / 0.9536 GB, free: 8.055 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002466/0.7756, allocations: 1.903 MB / 0.9555 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002475/0.7781, allocations: 1.631 MB / 0.9571 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.7782, allocations: 6.281 kB / 0.9571 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006551/0.7789, allocations: 209.6 kB / 0.9573 GB, free: 5.148 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001279/0.779, allocations: 61.81 kB / 0.9573 GB, free: 5.098 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.001106/0.7801, allocations: 368.2 kB / 0.9577 GB, free: 4.867 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003627/0.7805, allocations: 261.4 kB / 0.9579 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.7807, allocations: 37.42 kB / 0.958 GB, free: 4.684 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.7808, allocations: 132.4 kB / 0.9581 GB, free: 4.617 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.781, allocations: 137.4 kB / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.802e-05/0.781, allocations: 16.84 kB / 0.9582 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003305/0.7814, allocations: 214.4 kB / 0.9584 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.000131/0.7815, allocations: 105.9 kB / 0.9585 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 8.119e-05/0.7816, allocations: 82.14 kB / 0.9586 GB, free: 4.293 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004491/0.7821, allocations: 455.9 kB / 0.9591 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.7821, allocations: 0 / 0.9591 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.305e-06/0.7821, allocations: 0 / 0.9591 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.7821, allocations: 0 / 0.9591 GB, free: 3.98 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001034/0.7831, allocations: 0.6548 MB / 0.9597 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.7832, allocations: 9.656 kB / 0.9597 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.461e-05/0.7833, allocations: 42.34 kB / 0.9597 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001659/0.7849, allocations: 169.3 kB / 0.9599 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004882/0.7854, allocations: 354 kB / 0.9602 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.933e-05/0.7855, allocations: 75.66 kB / 0.9603 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.836e-05/0.7856, allocations: 7.031 kB / 0.9603 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.7866, allocations: 463.2 kB / 0.9608 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.7866, allocations: 8.953 kB / 0.9608 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.7867, allocations: 5.094 kB / 0.9608 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.7867, allocations: 1.062 kB / 0.9608 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.7883, allocations: 0.6243 MB / 0.9614 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001894/0.7902, allocations: 1.062 MB / 0.9624 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004875/0.7951, allocations: 0.9205 MB / 0.9633 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.55e-05/0.7951, allocations: 0 / 0.9633 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.7962, allocations: 468.9 kB / 0.9638 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.285e-06/0.7962, allocations: 0 / 0.9638 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002686/0.7989, allocations: 0.9748 MB / 0.9647 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.402e-05/0.7989, allocations: 54.94 kB / 0.9648 GB, free: 0.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006115/0.7995, allocations: 428.5 kB / 0.9652 GB, free: 244 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.447e-05/0.7996, allocations: 32.86 kB / 0.9652 GB, free: 208 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/0.7998, allocations: 174.1 kB / 0.9654 GB, free: 48 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.11e-05/0.7998, allocations: 53.94 kB / 0.9654 GB, free: 0 / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.622e-05/0.7999, allocations: 2.031 kB / 0.9654 GB, free: 0 / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000204/0.8001, allocations: 349.8 kB / 0.9658 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001002/0.8011, allocations: 410.5 kB / 0.9662 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009604/0.8021, allocations: 390.4 kB / 0.9665 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009152/0.803, allocations: 374.3 kB / 0.9669 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.803, allocations: 0 / 0.9669 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.002168/0.8052, allocations: 0.9453 MB / 0.9678 GB, free: 14.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-05/0.8052, allocations: 45.22 kB / 0.9679 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.8053, allocations: 0 / 0.9679 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.8053, allocations: 1.125 kB / 0.9679 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004921/0.8058, allocations: 79.66 kB / 0.9679 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.082e-05/0.8058, allocations: 4.984 kB / 0.9679 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004589/0.8063, allocations: 59.7 kB / 0.968 GB, free: 14.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.61e-05/0.8063, allocations: 10.95 kB / 0.968 GB, free: 14.59 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 ($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.0003126/0.8066, allocations: 191.4 kB / 0.9682 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.459e-05/0.8067, allocations: 31.19 kB / 0.9682 GB, free: 14.42 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.082e-05/0.8068, allocations: 45.84 kB / 0.9683 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.8069, allocations: 2.125 kB / 0.9683 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.8069, allocations: 0 / 0.9683 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.8069, allocations: 4 kB / 0.9683 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006768/0.8076, allocations: 0.5521 MB / 0.9688 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.8076, allocations: 0 / 0.9688 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004678/0.808, allocations: 75.98 kB / 0.9689 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.8081, allocations: 1.125 kB / 0.9689 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.571e-05/0.8081, allocations: 10.52 kB / 0.9689 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.8081, allocations: 1.312 kB / 0.9689 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.8081, allocations: 0 / 0.9689 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001836/0.81, allocations: 0.7003 MB / 0.9696 GB, free: 13.56 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002824/0.8103, allocations: 164.5 kB / 0.9697 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.783e-05/0.8104, allocations: 12.08 kB / 0.9697 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004865/0.8108, allocations: 54.23 kB / 0.9698 GB, free: 13.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.811, allocations: 27.3 kB / 0.9698 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.635e-05/0.811, allocations: 12.95 kB / 0.9698 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004737/0.8115, allocations: 319.2 kB / 0.9701 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8115, allocations: 0 / 0.9701 GB, free: 13.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004875/0.812, allocations: 76.25 kB / 0.9702 GB, free: 13.16 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 (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.002524/0.8145, allocations: 1.299 MB / 0.9715 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001976/0.8165, allocations: 0.8038 MB / 0.9723 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8165, allocations: 0 / 0.9723 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009342/0.8175, allocations: 345.3 kB / 0.9726 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004567/0.8179, allocations: 73.98 kB / 0.9727 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007384/0.8253, allocations: 3.758 MB / 0.9763 GB, free: 8.418 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.8258, allocations: 0.8146 MB / 0.9771 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0004613/0.8263, allocations: 102.2 kB / 0.9772 GB, free: 7.48 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00021/0.8265, allocations: 99.38 kB / 0.9773 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of SimCode: time 1.483e-06/0.8265, allocations: 0 / 0.9773 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02791/0.8545, allocations: 9.801 MB / 0.9869 GB, free: 13.87 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002422/0.8548, allocations: 268.3 kB / 0.9871 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.709, allocations: 0.8438 kB / 0.9871 GB, free: 13.5 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_CoolingCapacityAirCooled.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled_res.mat does not exist to compare? outputFormat=mat