Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00148/0.001481, allocations: 173.1 kB / 498.1 MB, free: 5.75 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 223.1 MB / 0.7948 GB, free: 18.97 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000848/0.000848, allocations: 92.14 kB / 0.9346 GB, free: 7.277 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003733, allocations: 10.38 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2687, allocations: 142.3 MB / 1.223 GB, free: 89.52 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.575/3.844, allocations: 1.728 GB / 2.951 GB, free: 219 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003307/3.844, allocations: 111.4 kB / 2.951 GB, free: 218.9 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.08646/3.931, allocations: 42.39 MB / 2.993 GB, free: 181.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.593e-06/3.931, allocations: 0 / 2.993 GB, free: 181.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001218/3.931, allocations: 23.94 kB / 2.993 GB, free: 181.9 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.004007/3.935, allocations: 1.881 MB / 2.995 GB, free: 180.1 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/3.935, allocations: 8.031 kB / 2.995 GB, free: 180.1 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003531/3.935, allocations: 86.86 kB / 2.995 GB, free: 180 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005962/3.941, allocations: 0.6494 MB / 2.995 GB, free: 179.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00369/3.945, allocations: 1.696 MB / 2.997 GB, free: 178.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003466/3.945, allocations: 150 kB / 2.997 GB, free: 177.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002498/3.946, allocations: 31.8 kB / 2.997 GB, free: 177.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003797/3.949, allocations: 2.164 MB / 2.999 GB, free: 176.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/3.949, allocations: 0 / 2.999 GB, free: 176.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000195/3.95, allocations: 19.06 kB / 2.999 GB, free: 176.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/3.95, allocations: 15.94 kB / 2.999 GB, free: 176.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005571/3.955, allocations: 3.135 MB / 3.002 GB, free: 174.3 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009478/3.965, allocations: 5.118 MB / 3.007 GB, free: 171 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01002/3.975, allocations: 3.398 MB / 3.011 GB, free: 168.6 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.205e-05/3.975, allocations: 16.41 kB / 3.011 GB, free: 168.6 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003598/3.978, allocations: 2.064 MB / 3.013 GB, free: 167.2 MB / 1.167 GB Notification: Performance of pre-optimization done (n=61): time 7.063e-06/3.979, allocations: 0 / 3.013 GB, free: 167.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=61): time 0.01071/3.989, allocations: 4.36 MB / 3.017 GB, free: 164.2 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.477e-05/3.989, allocations: 97.53 kB / 3.017 GB, free: 164.1 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00596/3.995, allocations: 2.45 MB / 3.019 GB, free: 162.3 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0006008/3.996, allocations: 56.75 kB / 3.02 GB, free: 162.3 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009154/3.997, allocations: 0.6689 MB / 3.02 GB, free: 162 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004325/3.997, allocations: 190 kB / 3.02 GB, free: 161.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001951/3.998, allocations: 3.75 kB / 3.02 GB, free: 161.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001008/3.998, allocations: 332.9 kB / 3.021 GB, free: 161.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/4.001, allocations: 1.756 MB / 3.022 GB, free: 160.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/4.003, allocations: 1.73 MB / 3.024 GB, free: 159.3 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002424/4.006, allocations: 1.464 MB / 3.026 GB, free: 158.3 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/4.006, allocations: 0 / 3.026 GB, free: 158.3 MB / 1.167 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.006074/4.012, allocations: 3.559 MB / 3.029 GB, free: 155.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 7.189e-05/4.012, allocations: 88.94 kB / 3.029 GB, free: 155.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/4.012, allocations: 0 / 3.029 GB, free: 155.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.539e-05/4.012, allocations: 8 kB / 3.029 GB, free: 155.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/4.013, allocations: 231.1 kB / 3.029 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/4.013, allocations: 0 / 3.029 GB, free: 155.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/4.015, allocations: 115.1 kB / 3.029 GB, free: 155.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002171/4.015, allocations: 112.8 kB / 3.03 GB, free: 155.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 32 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,$PRE.dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[1],$PRE.dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[2],$PRE.dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[3],$PRE.dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTEva[4],$PRE.dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[1],$PRE.dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[2],$PRE.dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[3],$PRE.dryCoi.cooCap.checkBoundsTCon[4],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 2 * 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.001326/4.016, allocations: 0.7613 MB / 3.03 GB, free: 154.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004719/4.017, allocations: 173.9 kB / 3.03 GB, free: 154.6 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006071/4.023, allocations: 3.22 MB / 3.034 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/4.023, allocations: 8 kB / 3.034 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.571e-06/4.023, allocations: 0 / 3.034 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/4.023, allocations: 3.984 kB / 3.034 GB, free: 151.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002745/4.026, allocations: 2.512 MB / 3.036 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/4.026, allocations: 3.938 kB / 3.036 GB, free: 149.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001388/4.027, allocations: 223.7 kB / 3.036 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.805e-06/4.027, allocations: 0 / 3.036 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001409/4.027, allocations: 55.92 kB / 3.036 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/4.027, allocations: 0 / 3.036 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.664e-06/4.027, allocations: 0 / 3.036 GB, free: 149.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005412/4.033, allocations: 2.977 MB / 3.039 GB, free: 146.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001627/4.035, allocations: 0.7721 MB / 3.04 GB, free: 145.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004354/4.035, allocations: 59.91 kB / 3.04 GB, free: 145.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/4.037, allocations: 147.9 kB / 3.04 GB, free: 145.1 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001654/4.037, allocations: 68.39 kB / 3.04 GB, free: 145 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/4.037, allocations: 115.9 kB / 3.04 GB, free: 144.9 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002654/4.04, allocations: 1.915 MB / 3.042 GB, free: 143 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.6e-07/4.04, allocations: 0 / 3.042 GB, free: 143 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.001534/4.041, allocations: 455.7 kB / 3.043 GB, free: 142.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 23 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[1],dryCoi.cooCap.checkBoundsTEva[2],dryCoi.cooCap.checkBoundsTEva[3],dryCoi.cooCap.checkBoundsTEva[4],dryCoi.cooCap.checkBoundsTCon[1],dryCoi.cooCap.checkBoundsTCon[2],dryCoi.cooCap.checkBoundsTCon[3],dryCoi.cooCap.checkBoundsTCon[4],speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled) * Number of discrete states: 9 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition9,dryCoi.cooCap.stage,dryCoi.cooCap.checkBoundsTEva[dryCoi.cooCap.stage],dryCoi.cooCap.checkBoundsTCon[dryCoi.cooCap.stage]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 8 * 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.006709/4.048, allocations: 3.897 MB / 3.046 GB, free: 138.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.005559/4.053, allocations: 3.551 MB / 3.05 GB, free: 135 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/4.053, allocations: 0 / 3.05 GB, free: 135 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002511/4.056, allocations: 1.572 MB / 3.051 GB, free: 133.5 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001594/4.058, allocations: 405.8 kB / 3.052 GB, free: 133.1 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03044/4.088, allocations: 19.05 MB / 3.07 GB, free: 113.5 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001134/4.089, allocations: 1.604 MB / 3.072 GB, free: 111.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.002482/4.092, allocations: 0.794 MB / 3.073 GB, free: 111 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/4.093, allocations: 0.5812 MB / 3.073 GB, free: 110.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.272e-06/4.093, allocations: 0 / 3.073 GB, free: 110.4 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07237/4.165, allocations: 51.96 MB / 3.124 GB, free: 58.87 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001638/4.165, allocations: 244 kB / 3.124 GB, free: 58.62 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.157/7.323, allocations: 0 / 3.124 GB, free: 58.62 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_DryCoil.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.DryCoil_res.mat does not exist to compare? outputFormat=mat