Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.654/2.654, allocations: 393.5 MB / 408.4 MB, free: 11.05 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.001145/0.001145, allocations: 176 kB / 0.4901 GB, free: 2.277 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.51/1.51, allocations: 223.1 MB / 0.7992 GB, free: 14.77 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.000973/0.0009729, allocations: 98.89 kB / 0.9396 GB, free: 1.945 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003861/0.0003861, allocations: 11.44 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2982/0.2986, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.029/4.328, allocations: 1.725 GB / 2.955 GB, free: 261.6 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/4.328, allocations: 99.94 kB / 2.955 GB, free: 261.5 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2041/4.532, allocations: 106 MB / 3.058 GB, free: 154.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.653e-06/4.532, allocations: 0 / 3.058 GB, free: 154.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 5.624e-05/4.532, allocations: 16 kB / 3.058 GB, free: 154.5 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.003397/4.536, allocations: 1.894 MB / 3.06 GB, free: 152.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/4.536, allocations: 8.031 kB / 3.06 GB, free: 152.5 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.074e-05/4.536, allocations: 38.56 kB / 3.06 GB, free: 152.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01579/4.552, allocations: 2.191 MB / 3.062 GB, free: 150.3 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/4.555, allocations: 1.336 MB / 3.064 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/4.555, allocations: 12.23 kB / 3.064 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001006/4.555, allocations: 24 kB / 3.064 GB, free: 148.9 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00482/4.56, allocations: 1.266 MB / 3.065 GB, free: 147.6 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/4.56, allocations: 0 / 3.065 GB, free: 147.6 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.244e-05/4.56, allocations: 15.95 kB / 3.065 GB, free: 147.6 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/4.56, allocations: 3.984 kB / 3.065 GB, free: 147.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008983/4.569, allocations: 2.091 MB / 3.067 GB, free: 145.5 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01011/4.579, allocations: 3.363 MB / 3.07 GB, free: 142 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0119/4.591, allocations: 2.772 MB / 3.073 GB, free: 139.3 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 9.185e-05/4.591, allocations: 24 kB / 3.073 GB, free: 139.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004811/4.596, allocations: 1.234 MB / 3.074 GB, free: 138 MB / 1.167 GB Notification: Performance of pre-optimization done (n=21): time 3.046e-06/4.596, allocations: 0 / 3.074 GB, free: 138 MB / 1.167 GB Notification: Performance of matching and sorting (n=21): time 0.03566/4.631, allocations: 4.942 MB / 3.079 GB, free: 133 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.172e-05/4.632, allocations: 140.5 kB / 3.079 GB, free: 132.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004151/4.636, allocations: 2.206 MB / 3.081 GB, free: 130.6 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002685/4.636, allocations: 37.7 kB / 3.081 GB, free: 130.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006149/4.637, allocations: 0.5466 MB / 3.082 GB, free: 130 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001846/4.637, allocations: 59.19 kB / 3.082 GB, free: 129.9 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001081/4.637, allocations: 8 kB / 3.082 GB, free: 129.9 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 7.596e-05/4.637, allocations: 329.9 kB / 3.082 GB, free: 129.6 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004774/4.642, allocations: 1.206 MB / 3.083 GB, free: 128.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004706/4.646, allocations: 1.25 MB / 3.085 GB, free: 127.1 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004535/4.651, allocations: 1.138 MB / 3.086 GB, free: 126 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.458e-06/4.651, allocations: 0 / 3.086 GB, free: 126 MB / 1.167 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02765/4.679, allocations: 4.126 MB / 3.09 GB, free: 121.8 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001539/4.679, allocations: 226.1 kB / 3.09 GB, free: 121.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/4.679, allocations: 3.984 kB / 3.09 GB, free: 121.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003777/4.683, allocations: 0.9131 MB / 3.091 GB, free: 120.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002543/4.685, allocations: 439.4 kB / 3.091 GB, free: 120.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00505/4.69, allocations: 3.507 MB / 3.095 GB, free: 116.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003597/4.694, allocations: 475 kB / 3.095 GB, free: 116.1 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/4.694, allocations: 43.95 kB / 3.095 GB, free: 116.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/4.694, allocations: 4.938 kB / 3.095 GB, free: 116.1 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02658/4.721, allocations: 3.896 MB / 3.099 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.367e-06/4.721, allocations: 3.938 kB / 3.099 GB, free: 112.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/4.723, allocations: 0.8041 MB / 3.1 GB, free: 111.3 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002458/4.726, allocations: 431.4 kB / 3.1 GB, free: 110.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007399/4.733, allocations: 7.077 MB / 3.107 GB, free: 103.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00359/4.737, allocations: 475.1 kB / 3.108 GB, free: 102.8 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002067/4.737, allocations: 35.97 kB / 3.108 GB, free: 102.8 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,adp.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 28 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001079/4.738, allocations: 0.6777 MB / 3.108 GB, free: 102.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004817/4.739, allocations: 134.3 kB / 3.108 GB, free: 101.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02851/4.767, allocations: 3.574 MB / 3.112 GB, free: 98.34 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.594e-05/4.767, allocations: 0 / 3.112 GB, free: 98.34 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/4.767, allocations: 4 kB / 3.112 GB, free: 98.34 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/4.767, allocations: 0 / 3.112 GB, free: 98.34 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002064/4.77, allocations: 1.1 MB / 3.113 GB, free: 97.19 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/4.77, allocations: 0 / 3.113 GB, free: 97.19 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002507/4.772, allocations: 399.5 kB / 3.113 GB, free: 96.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006423/4.773, allocations: 168.7 kB / 3.114 GB, free: 96.63 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001286/4.773, allocations: 19.97 kB / 3.114 GB, free: 96.61 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008947/4.774, allocations: 0.6615 MB / 3.114 GB, free: 95.92 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/4.774, allocations: 0 / 3.114 GB, free: 95.92 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02682/4.801, allocations: 3.545 MB / 3.118 GB, free: 92.34 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/4.802, allocations: 439.1 kB / 3.118 GB, free: 91.89 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000732/4.803, allocations: 4 kB / 3.118 GB, free: 91.88 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003543/4.807, allocations: 419.4 kB / 3.119 GB, free: 91.47 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001696/4.807, allocations: 27.95 kB / 3.119 GB, free: 91.45 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001454/4.807, allocations: 35.95 kB / 3.119 GB, free: 91.41 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003688/4.811, allocations: 1.711 MB / 3.12 GB, free: 89.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.7e-07/4.811, allocations: 3.938 kB / 3.12 GB, free: 89.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002714/4.813, allocations: 0.5818 MB / 3.121 GB, free: 89.12 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,adp.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01211/4.826, allocations: 3.936 MB / 3.125 GB, free: 85.14 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.02165/4.847, allocations: 4.948 MB / 3.13 GB, free: 80.12 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/4.847, allocations: 0 / 3.13 GB, free: 80.12 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004931/4.852, allocations: 1.191 MB / 3.131 GB, free: 78.91 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/4.855, allocations: 317.2 kB / 3.131 GB, free: 78.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02291/4.878, allocations: 5.785 MB / 3.137 GB, free: 72.75 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001085/4.879, allocations: 1.41 MB / 3.138 GB, free: 71.32 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001864/4.881, allocations: 378.7 kB / 3.138 GB, free: 70.94 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009433/4.882, allocations: 427.2 kB / 3.139 GB, free: 70.52 MB / 1.167 GB Notification: Performance of SimCode: time 1.223e-06/4.882, allocations: 0 / 3.139 GB, free: 70.52 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08531/4.967, allocations: 53.42 MB / 3.191 GB, free: 17.48 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/4.967, allocations: 245.9 kB / 3.191 GB, free: 17.2 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.675/8.642, allocations: 0 / 3.191 GB, free: 17.2 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint_res.mat does not exist to compare? outputFormat=mat