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.233/2.233, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.0009887/0.0009889, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.437/1.437, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008822/0.0008822, allocations: 89.36 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.587e-05/2.589e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3252/0.3253, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.366/4.691, allocations: 1.728 GB / 2.934 GB, free: 160 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002444/4.691, allocations: 100.7 kB / 2.934 GB, free: 159.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.09206/4.783, allocations: 41.39 MB / 2.974 GB, free: 118.4 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.154e-06/4.783, allocations: 3.984 kB / 2.974 GB, free: 118.4 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.649e-05/4.783, allocations: 20 kB / 2.974 GB, free: 118.4 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.001907/4.785, allocations: 1.437 MB / 2.976 GB, free: 116.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/4.785, allocations: 8.031 kB / 2.976 GB, free: 116.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006267/4.792, allocations: 0.65 MB / 2.976 GB, free: 116.3 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/4.795, allocations: 1.693 MB / 2.978 GB, free: 114.5 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002092/4.795, allocations: 136.1 kB / 2.978 GB, free: 114.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001445/4.795, allocations: 27.92 kB / 2.978 GB, free: 114.4 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003091/4.798, allocations: 2.801 MB / 2.981 GB, free: 111.6 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00212/4.8, allocations: 1.958 MB / 2.983 GB, free: 109.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.339e-05/4.8, allocations: 3.984 kB / 2.983 GB, free: 109.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/4.8, allocations: 15.98 kB / 2.983 GB, free: 109.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/4.8, allocations: 7.953 kB / 2.983 GB, free: 109.6 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007942/4.808, allocations: 5.057 MB / 2.988 GB, free: 104.5 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007456/4.816, allocations: 3.095 MB / 2.991 GB, free: 101.3 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001294/4.817, allocations: 1.232 MB / 2.992 GB, free: 100.1 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-05/4.817, allocations: 24.41 kB / 2.992 GB, free: 100.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001853/4.819, allocations: 1.881 MB / 2.994 GB, free: 98.19 MB / 1.151 GB Notification: Performance of pre-optimization done (n=61): time 3.136e-06/4.819, allocations: 0 / 2.994 GB, free: 98.19 MB / 1.151 GB Notification: Performance of matching and sorting (n=61): time 0.004125/4.823, allocations: 2.691 MB / 2.996 GB, free: 95.49 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.013e-05/4.823, allocations: 93.66 kB / 2.997 GB, free: 95.38 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002893/4.826, allocations: 2.347 MB / 2.999 GB, free: 93.04 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002674/4.827, allocations: 41.69 kB / 2.999 GB, free: 92.99 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005184/4.827, allocations: 0.6497 MB / 2.999 GB, free: 92.34 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/4.827, allocations: 181.4 kB / 3 GB, free: 92.16 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001151/4.827, allocations: 0 / 3 GB, free: 92.16 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.465e-05/4.828, allocations: 330 kB / 3 GB, free: 91.83 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/4.829, allocations: 1.583 MB / 3.002 GB, free: 90.24 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00138/4.83, allocations: 1.558 MB / 3.003 GB, free: 88.68 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002313/4.833, allocations: 1.439 MB / 3.004 GB, free: 87.24 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/4.833, allocations: 0 / 3.004 GB, free: 87.24 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.004609/4.837, allocations: 3.367 MB / 3.008 GB, free: 83.87 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.438e-05/4.837, allocations: 87.31 kB / 3.008 GB, free: 83.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.625e-06/4.837, allocations: 4 kB / 3.008 GB, free: 83.77 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/4.837, allocations: 0 / 3.008 GB, free: 83.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/4.839, allocations: 235.6 kB / 3.008 GB, free: 83.54 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/4.839, allocations: 4 kB / 3.008 GB, free: 83.53 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001606/4.84, allocations: 95.66 kB / 3.008 GB, free: 83.44 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002154/4.841, allocations: 115.9 kB / 3.008 GB, free: 83.32 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.0004545/4.841, allocations: 179.8 kB / 3.008 GB, free: 83.14 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004161/4.845, allocations: 2.695 MB / 3.011 GB, free: 80.43 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003243/4.846, allocations: 173.9 kB / 3.011 GB, free: 80.26 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/4.85, allocations: 2.986 MB / 3.014 GB, free: 77.26 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.094e-06/4.85, allocations: 8 kB / 3.014 GB, free: 77.25 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/4.85, allocations: 0 / 3.014 GB, free: 77.25 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/4.85, allocations: 3.984 kB / 3.014 GB, free: 77.25 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/4.853, allocations: 2.442 MB / 3.017 GB, free: 74.77 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/4.853, allocations: 0 / 3.017 GB, free: 74.77 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/4.854, allocations: 223.7 kB / 3.017 GB, free: 74.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.103e-06/4.854, allocations: 0 / 3.017 GB, free: 74.55 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001277/4.854, allocations: 55.92 kB / 3.017 GB, free: 74.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/4.854, allocations: 0 / 3.017 GB, free: 74.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/4.854, allocations: 0 / 3.017 GB, free: 74.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003867/4.858, allocations: 2.756 MB / 3.019 GB, free: 71.72 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001161/4.859, allocations: 0.7682 MB / 3.02 GB, free: 70.93 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/4.86, allocations: 51.97 kB / 3.02 GB, free: 70.88 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/4.861, allocations: 143.8 kB / 3.02 GB, free: 70.74 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/4.861, allocations: 64.47 kB / 3.02 GB, free: 70.68 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001837/4.862, allocations: 111.9 kB / 3.021 GB, free: 70.57 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002123/4.864, allocations: 1.809 MB / 3.022 GB, free: 68.77 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.3e-07/4.864, allocations: 4 kB / 3.022 GB, free: 68.76 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001403/4.865, allocations: 435.6 kB / 3.023 GB, free: 68.34 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.00481/4.87, allocations: 3.662 MB / 3.026 GB, free: 64.65 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.003056/4.873, allocations: 3.198 MB / 3.029 GB, free: 61.43 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/4.873, allocations: 0 / 3.029 GB, free: 61.43 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001306/4.874, allocations: 1.399 MB / 3.031 GB, free: 60.02 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001585/4.876, allocations: 389.1 kB / 3.031 GB, free: 59.64 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006394/4.882, allocations: 4.131 MB / 3.035 GB, free: 55.46 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009348/4.883, allocations: 1.603 MB / 3.037 GB, free: 53.82 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.002251/4.886, allocations: 0.8212 MB / 3.038 GB, free: 53 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001103/4.887, allocations: 0.5773 MB / 3.038 GB, free: 52.42 MB / 1.151 GB Notification: Performance of SimCode: time 8.42e-07/4.887, allocations: 0 / 3.038 GB, free: 52.42 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07225/4.959, allocations: 45.39 MB / 3.082 GB, free: 7.18 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002096/4.959, allocations: 190.6 kB / 3.083 GB, free: 6.984 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.074/8.033, allocations: 0 / 3.083 GB, free: 6.984 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