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.271/2.271, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001414/0.001414, allocations: 187.3 kB / 498.1 MB, free: 5.754 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.554/1.554, allocations: 223.1 MB / 0.7948 GB, free: 18.95 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.0009448/0.0009448, allocations: 97.97 kB / 0.9346 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003979/0.0003979, allocations: 10.66 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2693/0.2697, allocations: 142.3 MB / 1.223 GB, free: 89.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.701/3.971, allocations: 1.725 GB / 2.948 GB, free: 222.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002705/3.971, allocations: 99.75 kB / 2.948 GB, free: 222.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.2017/4.173, allocations: 106 MB / 3.051 GB, free: 133 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.193e-06/4.173, allocations: 0 / 3.051 GB, free: 133 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001218/4.173, allocations: 16 kB / 3.051 GB, free: 133 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.00404/4.177, allocations: 1.888 MB / 3.053 GB, free: 131.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/4.177, allocations: 12.03 kB / 3.053 GB, free: 131.2 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.082e-05/4.177, allocations: 44.73 kB / 3.053 GB, free: 131.1 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01535/4.193, allocations: 2.184 MB / 3.055 GB, free: 128.9 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00311/4.196, allocations: 1.336 MB / 3.057 GB, free: 127.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.394e-05/4.196, allocations: 16.23 kB / 3.057 GB, free: 127.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/4.196, allocations: 23.94 kB / 3.057 GB, free: 127.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004955/4.201, allocations: 1.262 MB / 3.058 GB, free: 126.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/4.201, allocations: 4 kB / 3.058 GB, free: 126.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.229e-05/4.201, allocations: 7.953 kB / 3.058 GB, free: 126.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/4.201, allocations: 8 kB / 3.058 GB, free: 126.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008932/4.21, allocations: 2.095 MB / 3.06 GB, free: 124.1 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01037/4.22, allocations: 3.371 MB / 3.063 GB, free: 120.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01185/4.232, allocations: 2.772 MB / 3.066 GB, free: 117.9 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 8.401e-05/4.232, allocations: 15.98 kB / 3.066 GB, free: 117.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004641/4.237, allocations: 1.237 MB / 3.067 GB, free: 116.6 MB / 1.167 GB Notification: Performance of pre-optimization done (n=21): time 3.386e-06/4.237, allocations: 0 / 3.067 GB, free: 116.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=21): time 0.03348/4.271, allocations: 4.943 MB / 3.072 GB, free: 111.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/4.271, allocations: 132.5 kB / 3.072 GB, free: 111.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003726/4.274, allocations: 2.214 MB / 3.074 GB, free: 109.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002203/4.275, allocations: 33.7 kB / 3.074 GB, free: 109.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005831/4.275, allocations: 0.5504 MB / 3.075 GB, free: 108.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/4.275, allocations: 67.05 kB / 3.075 GB, free: 108.6 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/4.275, allocations: 8 kB / 3.075 GB, free: 108.6 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.523e-05/4.276, allocations: 321.9 kB / 3.075 GB, free: 108.2 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004564/4.28, allocations: 1.214 MB / 3.076 GB, free: 107 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00448/4.285, allocations: 1.25 MB / 3.078 GB, free: 105.8 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004279/4.289, allocations: 1.126 MB / 3.079 GB, free: 104.6 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/4.289, allocations: 8 kB / 3.079 GB, free: 104.6 MB / 1.167 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02799/4.317, allocations: 4.13 MB / 3.083 GB, free: 100.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001085/4.317, allocations: 227.5 kB / 3.083 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/4.317, allocations: 0 / 3.083 GB, free: 100.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003494/4.321, allocations: 0.9131 MB / 3.084 GB, free: 99.29 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002442/4.323, allocations: 435.5 kB / 3.084 GB, free: 98.87 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004678/4.328, allocations: 3.507 MB / 3.088 GB, free: 95.23 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0035/4.331, allocations: 479.2 kB / 3.088 GB, free: 94.76 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002188/4.332, allocations: 43.89 kB / 3.088 GB, free: 94.72 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/4.332, allocations: 7.938 kB / 3.088 GB, free: 94.71 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02763/4.359, allocations: 3.9 MB / 3.092 GB, free: 90.79 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/4.359, allocations: 0 / 3.092 GB, free: 90.79 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002587/4.362, allocations: 0.7961 MB / 3.093 GB, free: 89.98 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002478/4.364, allocations: 431.4 kB / 3.093 GB, free: 89.55 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007283/4.372, allocations: 7.085 MB / 3.1 GB, free: 81.91 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003503/4.375, allocations: 471.2 kB / 3.101 GB, free: 81.45 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/4.375, allocations: 39.95 kB / 3.101 GB, free: 81.41 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.001108/4.377, allocations: 0.6667 MB / 3.101 GB, free: 80.73 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004227/4.377, allocations: 142.2 kB / 3.101 GB, free: 80.59 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02692/4.404, allocations: 3.571 MB / 3.105 GB, free: 77 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/4.404, allocations: 7.938 kB / 3.105 GB, free: 76.99 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/4.404, allocations: 0 / 3.105 GB, free: 76.99 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/4.404, allocations: 0 / 3.105 GB, free: 76.99 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001914/4.406, allocations: 1.095 MB / 3.106 GB, free: 75.84 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/4.406, allocations: 0 / 3.106 GB, free: 75.84 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/4.408, allocations: 395.5 kB / 3.106 GB, free: 75.45 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006121/4.409, allocations: 168.7 kB / 3.106 GB, free: 75.28 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000125/4.409, allocations: 23.95 kB / 3.106 GB, free: 75.26 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008623/4.41, allocations: 0.6576 MB / 3.107 GB, free: 74.57 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/4.41, allocations: 0 / 3.107 GB, free: 74.57 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02624/4.436, allocations: 3.55 MB / 3.111 GB, free: 70.98 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001195/4.437, allocations: 439 kB / 3.111 GB, free: 70.54 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005105/4.438, allocations: 12 kB / 3.111 GB, free: 70.52 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003202/4.441, allocations: 415.5 kB / 3.111 GB, free: 70.12 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/4.441, allocations: 23.95 kB / 3.111 GB, free: 70.09 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/4.441, allocations: 31.97 kB / 3.111 GB, free: 70.06 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003195/4.445, allocations: 1.715 MB / 3.113 GB, free: 68.35 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.8e-07/4.445, allocations: 0 / 3.113 GB, free: 68.35 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002519/4.447, allocations: 0.5935 MB / 3.114 GB, free: 67.76 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.01167/4.459, allocations: 3.918 MB / 3.118 GB, free: 63.81 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.01991/4.479, allocations: 4.944 MB / 3.122 GB, free: 58.79 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/4.479, allocations: 4 kB / 3.122 GB, free: 58.78 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.004528/4.483, allocations: 1.188 MB / 3.124 GB, free: 57.58 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001674/4.485, allocations: 321.2 kB / 3.124 GB, free: 57.27 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01969/4.505, allocations: 5.778 MB / 3.129 GB, free: 51.42 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008369/4.506, allocations: 1.414 MB / 3.131 GB, free: 49.98 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001661/4.507, allocations: 382.7 kB / 3.131 GB, free: 49.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000811/4.508, allocations: 419.2 kB / 3.132 GB, free: 49.19 MB / 1.167 GB Notification: Performance of SimCode: time 7.42e-07/4.508, allocations: 0 / 3.132 GB, free: 49.19 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5962/5.104, allocations: 53.41 MB / 3.184 GB, free: 386.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001567/5.105, allocations: 245.2 kB / 3.184 GB, free: 386 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.471/8.576, allocations: 1.906 kB / 3.184 GB, free: 386 MB / 1.167 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