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.219/2.219, allocations: 387.1 MB / 399.7 MB, free: 9.477 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.001085/0.001086, allocations: 180.9 kB / 492.3 MB, free: 0.6172 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.479/1.479, allocations: 221.3 MB / 0.7871 GB, free: 12.96 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.0009021/0.0009023, allocations: 91.11 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.809e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2741/0.2742, allocations: 142.4 MB / 1.213 GB, free: 38.42 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.456/4.73, allocations: 1.728 GB / 2.941 GB, free: 137.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002457/4.731, allocations: 104.7 kB / 2.941 GB, free: 137.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.0862/4.817, allocations: 42.32 MB / 2.982 GB, free: 94.84 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.613e-06/4.817, allocations: 4 kB / 2.982 GB, free: 94.84 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001316/4.817, allocations: 20 kB / 2.982 GB, free: 94.82 MB / 1.151 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.003136/4.82, allocations: 1.434 MB / 2.984 GB, free: 93.32 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/4.82, allocations: 8.031 kB / 2.984 GB, free: 93.31 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002651/4.821, allocations: 78.88 kB / 2.984 GB, free: 93.23 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006323/4.827, allocations: 0.6418 MB / 2.984 GB, free: 92.58 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003451/4.83, allocations: 1.697 MB / 2.986 GB, free: 90.84 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003643/4.831, allocations: 152.1 kB / 2.986 GB, free: 90.68 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/4.831, allocations: 35.98 kB / 2.986 GB, free: 90.64 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/4.834, allocations: 2.002 MB / 2.988 GB, free: 88.63 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/4.834, allocations: 0 / 2.988 GB, free: 88.63 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002061/4.834, allocations: 15.94 kB / 2.988 GB, free: 88.62 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/4.834, allocations: 7.953 kB / 2.988 GB, free: 88.61 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003336/4.837, allocations: 2.822 MB / 2.991 GB, free: 85.79 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00939/4.847, allocations: 5.138 MB / 2.996 GB, free: 80.59 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007933/4.855, allocations: 3.11 MB / 2.999 GB, free: 77.46 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001552/4.856, allocations: 1.252 MB / 3 GB, free: 76.21 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 9.115e-05/4.857, allocations: 20.38 kB / 3 GB, free: 76.19 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002426/4.859, allocations: 1.902 MB / 3.002 GB, free: 74.27 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 3.988e-06/4.859, allocations: 0 / 3.002 GB, free: 74.27 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.003883/4.863, allocations: 2.58 MB / 3.005 GB, free: 71.68 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/4.863, allocations: 97.64 kB / 3.005 GB, free: 71.56 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004095/4.867, allocations: 2.441 MB / 3.007 GB, free: 69.12 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.000391/4.867, allocations: 53.69 kB / 3.007 GB, free: 69.06 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006548/4.868, allocations: 0.6576 MB / 3.008 GB, free: 68.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000329/4.869, allocations: 185.4 kB / 3.008 GB, free: 68.21 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001604/4.869, allocations: 12 kB / 3.008 GB, free: 68.2 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.028e-05/4.869, allocations: 334 kB / 3.008 GB, free: 67.87 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/4.87, allocations: 1.587 MB / 3.01 GB, free: 66.28 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001623/4.872, allocations: 1.571 MB / 3.011 GB, free: 64.71 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/4.874, allocations: 1.303 MB / 3.013 GB, free: 63.4 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.407e-06/4.874, allocations: 0 / 3.013 GB, free: 63.4 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003984/4.878, allocations: 3.237 MB / 3.016 GB, free: 60.14 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.786e-05/4.878, allocations: 95.31 kB / 3.016 GB, free: 60.03 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.216e-06/4.878, allocations: 4 kB / 3.016 GB, free: 60.03 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.382e-05/4.878, allocations: 4 kB / 3.016 GB, free: 60.02 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/4.879, allocations: 223.7 kB / 3.016 GB, free: 59.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.477e-05/4.879, allocations: 4 kB / 3.016 GB, free: 59.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/4.881, allocations: 115.6 kB / 3.016 GB, free: 59.69 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002315/4.881, allocations: 111.9 kB / 3.016 GB, free: 59.58 MB / 1.151 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 () * 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.0004388/4.881, allocations: 186.5 kB / 3.016 GB, free: 59.38 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005287/4.882, allocations: 173.8 kB / 3.017 GB, free: 59.21 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004112/4.886, allocations: 2.895 MB / 3.019 GB, free: 56.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.816e-06/4.886, allocations: 8 kB / 3.019 GB, free: 56.29 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.281e-06/4.886, allocations: 4 kB / 3.019 GB, free: 56.29 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/4.886, allocations: 3.984 kB / 3.019 GB, free: 56.29 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/4.889, allocations: 2.504 MB / 3.022 GB, free: 53.73 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/4.889, allocations: 0 / 3.022 GB, free: 53.73 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001486/4.891, allocations: 223.7 kB / 3.022 GB, free: 53.51 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.177e-05/4.891, allocations: 4 kB / 3.022 GB, free: 53.51 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/4.891, allocations: 55.92 kB / 3.022 GB, free: 53.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.672e-06/4.891, allocations: 7.938 kB / 3.022 GB, free: 53.45 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/4.891, allocations: 0 / 3.022 GB, free: 53.45 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003521/4.895, allocations: 2.653 MB / 3.025 GB, free: 50.77 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001492/4.896, allocations: 0.772 MB / 3.026 GB, free: 49.97 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004773/4.897, allocations: 59.97 kB / 3.026 GB, free: 49.91 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001681/4.898, allocations: 147.9 kB / 3.026 GB, free: 49.77 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/4.898, allocations: 64.45 kB / 3.026 GB, free: 49.7 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002206/4.899, allocations: 115.9 kB / 3.026 GB, free: 49.59 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003165/4.902, allocations: 1.888 MB / 3.028 GB, free: 47.71 MB / 1.151 GB Notification: Performance of sort global known variables: time 4.11e-07/4.902, allocations: 0 / 3.028 GB, free: 47.71 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001947/4.904, allocations: 463.6 kB / 3.028 GB, free: 47.26 MB / 1.151 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]) * 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.004999/4.909, allocations: 3.551 MB / 3.032 GB, free: 43.68 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003525/4.912, allocations: 3.228 MB / 3.035 GB, free: 40.43 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/4.912, allocations: 3.938 kB / 3.035 GB, free: 40.43 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001505/4.914, allocations: 1.42 MB / 3.036 GB, free: 39 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001991/4.916, allocations: 402.8 kB / 3.037 GB, free: 38.61 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009015/4.925, allocations: 4.188 MB / 3.041 GB, free: 34.36 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/4.926, allocations: 1.604 MB / 3.042 GB, free: 32.73 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002541/4.929, allocations: 0.794 MB / 3.043 GB, free: 31.93 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001215/4.93, allocations: 0.5812 MB / 3.044 GB, free: 31.35 MB / 1.151 GB Notification: Performance of SimCode: time 9.42e-07/4.93, allocations: 0 / 3.044 GB, free: 31.35 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7376/5.668, allocations: 51.61 MB / 3.094 GB, free: 402.6 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001955/5.668, allocations: 213.1 kB / 3.094 GB, free: 402.4 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.201/8.868, allocations: 7.5 kB / 3.094 GB, free: 402.4 MB / 1.151 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