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.001021/0.001021, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001321/0.001321, allocations: 168.7 kB / 15.95 MB, free: 204 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.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.434 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.385/2.385, allocations: 390.4 MB / 0.6655 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003519, allocations: 8 kB / 0.8149 GB, free: 14.1 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7408/0.7412, allocations: 142.3 MB / 0.9539 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.CoolingCapacityAirCooled): time 0.002084/0.7433, allocations: 1.977 MB / 0.9558 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002065/0.7454, allocations: 1.723 MB / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.7456, allocations: 2.094 kB / 0.9575 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005632/0.7461, allocations: 197.1 kB / 0.9577 GB, free: 5.059 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001034/0.7462, allocations: 55.45 kB / 0.9577 GB, free: 5.012 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.0008596/0.7471, allocations: 370.5 kB / 0.9581 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003492/0.7475, allocations: 338.3 kB / 0.9584 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.914e-05/0.7476, allocations: 35.06 kB / 0.9584 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001419/0.7477, allocations: 144 kB / 0.9586 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001572/0.7479, allocations: 139.5 kB / 0.9587 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.705e-05/0.7479, allocations: 17.94 kB / 0.9587 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.7483, allocations: 219.6 kB / 0.9589 GB, free: 4.297 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001131/0.7484, allocations: 106.2 kB / 0.959 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.876e-05/0.7485, allocations: 74.2 kB / 0.9591 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003758/0.7489, allocations: 463.9 kB / 0.9596 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.7489, allocations: 5.312 kB / 0.9596 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7489, allocations: 7.984 kB / 0.9596 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.7489, allocations: 0 / 0.9596 GB, free: 3.84 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.0008973/0.7498, allocations: 0.6554 MB / 0.9602 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.771e-05/0.7498, allocations: 9.562 kB / 0.9602 GB, free: 3.254 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.03e-05/0.7499, allocations: 37.59 kB / 0.9602 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001472/0.7514, allocations: 173.4 kB / 0.9604 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004034/0.7518, allocations: 349.9 kB / 0.9607 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.862e-05/0.7519, allocations: 80.69 kB / 0.9608 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.7519, allocations: 10.12 kB / 0.9608 GB, free: 2.738 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000899/0.7528, allocations: 467.3 kB / 0.9613 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.7528, allocations: 0 / 0.9613 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.245e-05/0.7529, allocations: 1.031 kB / 0.9613 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.7529, allocations: 2.188 kB / 0.9613 GB, free: 2.492 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001333/0.7542, allocations: 0.6201 MB / 0.9619 GB, free: 2.234 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001562/0.7558, allocations: 1.059 MB / 0.9629 GB, free: 1.492 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004115/0.7599, allocations: 0.9089 MB / 0.9638 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006763/0.7606, allocations: 335.6 kB / 0.9641 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.7607, allocations: 6.219 kB / 0.9641 GB, free: 0.9727 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008956/0.7616, allocations: 464.6 kB / 0.9646 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=16): time 2.835e-06/0.7616, allocations: 0 / 0.9646 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16): time 0.002258/0.7638, allocations: 0.9774 MB / 0.9655 GB, free: 296 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.003e-05/0.7639, allocations: 58.41 kB / 0.9656 GB, free: 228 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004897/0.7644, allocations: 432.7 kB / 0.966 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.207e-05/0.7644, allocations: 29.8 kB / 0.966 GB, free: 15.92 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001284/0.7646, allocations: 170.2 kB / 0.9662 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.223e-05/0.7646, allocations: 61.73 kB / 0.9663 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.677e-05/0.7647, allocations: 1.438 kB / 0.9663 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.7648, allocations: 353.5 kB / 0.9666 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008109/0.7656, allocations: 402.8 kB / 0.967 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007758/0.7664, allocations: 391 kB / 0.9673 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007458/0.7672, allocations: 379.8 kB / 0.9677 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.7672, allocations: 0 / 0.9677 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.001854/0.769, allocations: 0.9475 MB / 0.9686 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.096e-05/0.7691, allocations: 44.59 kB / 0.9687 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.7691, allocations: 0 / 0.9687 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.7691, allocations: 1 kB / 0.9687 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004314/0.7696, allocations: 72.17 kB / 0.9687 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.7696, allocations: 1.312 kB / 0.9687 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003742/0.77, allocations: 54.89 kB / 0.9688 GB, free: 14.33 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.77, allocations: 15.12 kB / 0.9688 GB, free: 14.32 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.0002417/0.7703, allocations: 191.9 kB / 0.969 GB, free: 14.16 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.076e-05/0.7703, allocations: 31.66 kB / 0.969 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.739e-05/0.7704, allocations: 53.16 kB / 0.9691 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.7704, allocations: 2.281 kB / 0.9691 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7704, allocations: 0 / 0.9691 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.7705, allocations: 0 / 0.9691 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005583/0.771, allocations: 0.5515 MB / 0.9696 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.771, allocations: 1.031 kB / 0.9696 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004178/0.7714, allocations: 75.41 kB / 0.9697 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.7715, allocations: 1.125 kB / 0.9697 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.898e-05/0.7715, allocations: 10.95 kB / 0.9697 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.7715, allocations: 1.031 kB / 0.9697 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.7715, allocations: 0 / 0.9697 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.773, allocations: 0.6982 MB / 0.9704 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001845/0.7732, allocations: 169.4 kB / 0.9705 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.969e-05/0.7733, allocations: 7.281 kB / 0.9706 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004025/0.7737, allocations: 62.94 kB / 0.9706 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.238e-05/0.7738, allocations: 18.81 kB / 0.9706 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.132e-05/0.7738, allocations: 13.2 kB / 0.9706 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0003328/0.7742, allocations: 323 kB / 0.971 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7742, allocations: 0 / 0.971 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003759/0.7746, allocations: 75.19 kB / 0.971 GB, free: 12.88 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.002005/0.7766, allocations: 1.293 MB / 0.9723 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001637/0.7782, allocations: 0.802 MB / 0.9731 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.7782, allocations: 0 / 0.9731 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007651/0.779, allocations: 348.4 kB / 0.9734 GB, free: 11.46 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005213/0.7795, allocations: 80.84 kB / 0.9735 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00624/0.7858, allocations: 3.814 MB / 0.9772 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.7862, allocations: 0.8145 MB / 0.978 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.000479/0.7867, allocations: 98.27 kB / 0.9781 GB, free: 6.828 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002015/0.7869, allocations: 109.6 kB / 0.9782 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of SimCode: time 8.02e-07/0.7869, allocations: 4 kB / 0.9782 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02152/0.8084, allocations: 9.81 MB / 0.9878 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.8087, allocations: 271.4 kB / 0.988 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.868/2.677, allocations: 0 / 0.988 GB, free: 12.84 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