Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.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.ApparatusDewPoint,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.219/2.219, allocations: 387.4 MB / 394.9 MB, free: 13.39 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.001047/0.001047, allocations: 176.8 kB / 487.4 MB, free: 5.059 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.473/1.473, allocations: 221.5 MB / 0.7824 GB, free: 0.957 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.0008773/0.0008773, allocations: 91.97 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.415e-05/2.418e-05, allocations: 9.719 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2864/0.2865, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.721/5.008, allocations: 1.724 GB / 2.93 GB, free: 136.9 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/5.008, allocations: 99.19 kB / 2.93 GB, free: 136.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1736/5.182, allocations: 90.59 MB / 3.019 GB, free: 52.14 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.273e-06/5.182, allocations: 3.938 kB / 3.019 GB, free: 52.14 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.129e-05/5.182, allocations: 16 kB / 3.019 GB, free: 52.12 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.002207/5.184, allocations: 1.405 MB / 3.02 GB, free: 50.66 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/5.184, allocations: 12.56 kB / 3.02 GB, free: 50.65 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01482/5.199, allocations: 2.183 MB / 3.022 GB, free: 48.46 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002539/5.201, allocations: 1.309 MB / 3.023 GB, free: 47.11 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.198e-05/5.202, allocations: 4 kB / 3.023 GB, free: 47.1 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.611e-05/5.202, allocations: 12 kB / 3.023 GB, free: 47.09 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007652/5.202, allocations: 0.5819 MB / 3.024 GB, free: 46.51 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006319/5.203, allocations: 0.5003 MB / 3.024 GB, free: 45.99 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/5.203, allocations: 0 / 3.024 GB, free: 45.99 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.283e-05/5.203, allocations: 7.938 kB / 3.024 GB, free: 45.98 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.343e-06/5.203, allocations: 7.938 kB / 3.024 GB, free: 45.98 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009264/5.212, allocations: 3.305 MB / 3.028 GB, free: 42.62 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009223/5.213, allocations: 0.7275 MB / 3.028 GB, free: 41.88 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/5.214, allocations: 325.6 kB / 3.029 GB, free: 41.55 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 6.252e-05/5.214, allocations: 4 kB / 3.029 GB, free: 41.55 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005524/5.214, allocations: 496 kB / 3.029 GB, free: 41.04 MB / 1.151 GB Notification: Performance of pre-optimization done (n=21): time 2.064e-06/5.214, allocations: 0 / 3.029 GB, free: 41.04 MB / 1.151 GB Notification: Performance of matching and sorting (n=21): time 0.0192/5.234, allocations: 2.39 MB / 3.032 GB, free: 38.64 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.291e-05/5.234, allocations: 136.5 kB / 3.032 GB, free: 38.47 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002968/5.237, allocations: 2.092 MB / 3.034 GB, free: 36.38 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0002341/5.237, allocations: 25.7 kB / 3.034 GB, free: 36.34 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004333/5.237, allocations: 0.5466 MB / 3.034 GB, free: 35.79 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/5.238, allocations: 55.2 kB / 3.034 GB, free: 35.74 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.358e-05/5.238, allocations: 4 kB / 3.034 GB, free: 35.73 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.328e-05/5.238, allocations: 322 kB / 3.035 GB, free: 35.41 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005645/5.238, allocations: 472.1 kB / 3.035 GB, free: 34.95 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005526/5.239, allocations: 0.4931 MB / 3.036 GB, free: 34.45 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02187/5.261, allocations: 9.735 MB / 3.045 GB, free: 24.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.138e-05/5.261, allocations: 7.953 kB / 3.045 GB, free: 24.69 MB / 1.151 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.03971/5.3, allocations: 11.96 MB / 3.057 GB, free: 12.7 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/5.301, allocations: 218 kB / 3.057 GB, free: 12.46 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.158e-05/5.301, allocations: 7.984 kB / 3.057 GB, free: 12.45 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00304/5.304, allocations: 0.8234 MB / 3.058 GB, free: 11.61 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002557/5.306, allocations: 435.4 kB / 3.058 GB, free: 11.19 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004151/5.31, allocations: 3.515 MB / 3.062 GB, free: 7.543 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003532/5.314, allocations: 471.1 kB / 3.062 GB, free: 7.082 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/5.314, allocations: 47.89 kB / 3.062 GB, free: 7.035 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/5.314, allocations: 4 kB / 3.062 GB, free: 7.031 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.867/6.181, allocations: 11.68 MB / 3.074 GB, free: 387.8 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.582e-05/6.181, allocations: 1.5 kB / 3.074 GB, free: 387.8 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002895/6.184, allocations: 0.7519 MB / 3.074 GB, free: 387.8 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002866/6.187, allocations: 435.4 kB / 3.075 GB, free: 387.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007428/6.194, allocations: 6.737 MB / 3.081 GB, free: 382.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003777/6.198, allocations: 456.9 kB / 3.082 GB, free: 382.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001603/6.198, allocations: 42.72 kB / 3.082 GB, free: 382.5 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: adp.XADP:VARIABLE(min = 0.0 max = 1.0 ) "Humidity mass fraction of air at apparatus dew point" type: Real 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 () * 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.0003556/6.199, allocations: 153.3 kB / 3.082 GB, free: 382.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0195/6.218, allocations: 2.319 MB / 3.084 GB, free: 382.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007579/6.219, allocations: 136.1 kB / 3.084 GB, free: 382.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01901/6.238, allocations: 2.183 MB / 3.086 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.315e-05/6.238, allocations: 3.359 kB / 3.086 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/6.238, allocations: 0 / 3.086 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.56e-05/6.238, allocations: 4.984 kB / 3.086 GB, free: 382.1 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/6.241, allocations: 1.06 MB / 3.087 GB, free: 381.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.306e-06/6.241, allocations: 1.516 kB / 3.087 GB, free: 381.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002595/6.243, allocations: 401.8 kB / 3.088 GB, free: 381.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004296/6.244, allocations: 121.3 kB / 3.088 GB, free: 381.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/6.244, allocations: 23.59 kB / 3.088 GB, free: 381.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006317/6.245, allocations: 0.6143 MB / 3.089 GB, free: 381.4 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.201e-06/6.245, allocations: 5.734 kB / 3.089 GB, free: 381.4 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01884/6.263, allocations: 2.117 MB / 3.091 GB, free: 381.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001338/6.265, allocations: 434.6 kB / 3.091 GB, free: 381 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002456/6.265, allocations: 7.469 kB / 3.091 GB, free: 381 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003176/6.268, allocations: 413.3 kB / 3.091 GB, free: 381 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001122/6.268, allocations: 21.95 kB / 3.091 GB, free: 381 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/6.269, allocations: 38.72 kB / 3.091 GB, free: 381 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003047/6.272, allocations: 1.591 MB / 3.093 GB, free: 380.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.5e-07/6.272, allocations: 0 / 3.093 GB, free: 380.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002354/6.274, allocations: 0.5653 MB / 3.094 GB, free: 380.9 MB / 1.151 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) * 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.005205/6.279, allocations: 2.595 MB / 3.096 GB, free: 380 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.009225/6.288, allocations: 2.698 MB / 3.099 GB, free: 379.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.654e-06/6.288, allocations: 1 kB / 3.099 GB, free: 379.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.000904/6.289, allocations: 445 kB / 3.099 GB, free: 379.4 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002188/6.292, allocations: 306.8 kB / 3.099 GB, free: 379.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01639/6.308, allocations: 3.715 MB / 3.103 GB, free: 379 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/6.309, allocations: 1.41 MB / 3.104 GB, free: 378.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003438/6.313, allocations: 1.006 MB / 3.105 GB, free: 378.2 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006856/6.313, allocations: 406.9 kB / 3.106 GB, free: 378.1 MB / 1.151 GB Notification: Performance of SimCode: time 1.483e-06/6.313, allocations: 1.031 kB / 3.106 GB, free: 378.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08024/6.394, allocations: 45.83 MB / 3.151 GB, free: 369.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/6.394, allocations: 163.7 kB / 3.151 GB, free: 369 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.724/10.12, allocations: 0 / 3.151 GB, free: 369 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint_res.mat does not exist to compare? outputFormat=mat