Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.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.SensibleHeatRatio,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",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.807/2.807, allocations: 390.3 MB / 402.8 MB, free: 6.707 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.001324/0.001324, allocations: 180.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.676/1.676, allocations: 221.3 MB / 0.7915 GB, free: 5.422 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.001041/0.001041, allocations: 91.52 kB / 0.9317 GB, free: 5.738 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.907e-05/3.909e-05, allocations: 4 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3317, allocations: 143 MB / 1.219 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.425/4.757, allocations: 1.714 GB / 2.933 GB, free: 122.4 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/4.757, allocations: 91.94 kB / 2.933 GB, free: 122.3 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.05159/4.809, allocations: 28.38 MB / 2.961 GB, free: 93.7 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.332e-06/4.809, allocations: 0 / 2.961 GB, free: 93.7 MB / 1.167 GB Notification: Performance of Transformations before backend: time 8.556e-06/4.809, allocations: 4 kB / 2.961 GB, free: 93.7 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005122/4.809, allocations: 418.9 kB / 2.961 GB, free: 93.24 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 7.845e-05/4.809, allocations: 12.03 kB / 2.961 GB, free: 93.23 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.983e-05/4.809, allocations: 42.55 kB / 2.961 GB, free: 93.18 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001013/4.811, allocations: 147.7 kB / 2.961 GB, free: 93.04 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.467e-05/4.811, allocations: 171.1 kB / 2.961 GB, free: 92.83 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.679e-05/4.811, allocations: 45.69 kB / 2.962 GB, free: 92.78 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.361e-05/4.811, allocations: 7.938 kB / 2.962 GB, free: 92.77 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/4.811, allocations: 101.6 kB / 2.962 GB, free: 92.66 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/4.811, allocations: 3.938 kB / 2.962 GB, free: 92.66 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/4.811, allocations: 4 kB / 2.962 GB, free: 92.66 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/4.811, allocations: 0 / 2.962 GB, free: 92.66 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001515/4.811, allocations: 79.98 kB / 2.962 GB, free: 92.58 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000747/4.812, allocations: 430 kB / 2.962 GB, free: 92.11 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001363/4.812, allocations: 70.58 kB / 2.962 GB, free: 92.03 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.878e-05/4.812, allocations: 32.98 kB / 2.962 GB, free: 92 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.012e-05/4.812, allocations: 0 / 2.962 GB, free: 92 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.674e-05/4.812, allocations: 42.55 kB / 2.962 GB, free: 91.95 MB / 1.167 GB Notification: Performance of pre-optimization done (n=6): time 1.052e-06/4.812, allocations: 3.938 kB / 2.962 GB, free: 91.94 MB / 1.167 GB Notification: Performance of matching and sorting (n=6): time 0.0003165/4.812, allocations: 101.5 kB / 2.962 GB, free: 91.84 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/4.813, allocations: 51.41 kB / 2.962 GB, free: 91.77 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.51e-05/4.813, allocations: 134.8 kB / 2.963 GB, free: 91.64 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/4.813, allocations: 25.7 kB / 2.963 GB, free: 91.61 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 4.057e-05/4.813, allocations: 96.12 kB / 2.963 GB, free: 91.51 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 2.179e-05/4.813, allocations: 15.95 kB / 2.963 GB, free: 91.49 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.417e-06/4.813, allocations: 0 / 2.963 GB, free: 91.49 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 5.475e-05/4.813, allocations: 318.8 kB / 2.963 GB, free: 91.17 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.107e-05/4.813, allocations: 28 kB / 2.963 GB, free: 91.14 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/4.813, allocations: 35.98 kB / 2.963 GB, free: 91.11 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.563e-05/4.813, allocations: 20 kB / 2.963 GB, free: 91.09 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/4.813, allocations: 4 kB / 2.963 GB, free: 91.09 MB / 1.167 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001706/4.813, allocations: 101.5 kB / 2.963 GB, free: 90.98 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/4.813, allocations: 4 kB / 2.963 GB, free: 90.98 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/4.813, allocations: 7.922 kB / 2.963 GB, free: 90.97 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/4.813, allocations: 256 / 2.963 GB, free: 90.97 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003251/4.814, allocations: 47.95 kB / 2.963 GB, free: 90.92 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.487e-06/4.814, allocations: 7.953 kB / 2.963 GB, free: 90.91 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002246/4.814, allocations: 39.91 kB / 2.963 GB, free: 90.88 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.305e-05/4.814, allocations: 7.938 kB / 2.963 GB, free: 90.87 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 6.477e-05/4.814, allocations: 105.7 kB / 2.963 GB, free: 90.76 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.158e-05/4.814, allocations: 7.906 kB / 2.963 GB, free: 90.75 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/4.814, allocations: 12.61 kB / 2.963 GB, free: 90.73 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/4.814, allocations: 4 kB / 2.963 GB, free: 90.73 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/4.814, allocations: 3.984 kB / 2.963 GB, free: 90.73 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/4.814, allocations: 3.953 kB / 2.963 GB, free: 90.72 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/4.814, allocations: 221.4 kB / 2.964 GB, free: 90.46 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/4.814, allocations: 0 / 2.964 GB, free: 90.46 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002577/4.814, allocations: 47.95 kB / 2.964 GB, free: 90.41 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/4.814, allocations: 0 / 2.964 GB, free: 90.41 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/4.814, allocations: 0 / 2.964 GB, free: 90.41 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/4.814, allocations: 0 / 2.964 GB, free: 90.41 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/4.815, allocations: 3.938 kB / 2.964 GB, free: 90.41 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002007/4.815, allocations: 199.4 kB / 2.964 GB, free: 90.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 2.823e-05/4.815, allocations: 89 kB / 2.964 GB, free: 90.09 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/4.815, allocations: 0 / 2.964 GB, free: 90.09 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/4.815, allocations: 35.97 kB / 2.964 GB, free: 90.05 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.333e-05/4.815, allocations: 7.984 kB / 2.964 GB, free: 90.05 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/4.815, allocations: 4 kB / 2.964 GB, free: 90.04 MB / 1.167 GB Notification: Performance of sorting global known variables: time 4.882e-05/4.815, allocations: 113.4 kB / 2.964 GB, free: 89.93 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.31e-07/4.815, allocations: 0 / 2.964 GB, free: 89.93 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0003329/4.816, allocations: 51.92 kB / 2.964 GB, free: 89.88 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0009052/4.816, allocations: 1.194 MB / 2.965 GB, free: 88.67 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.0001939/4.817, allocations: 71.98 kB / 2.965 GB, free: 88.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/4.817, allocations: 0 / 2.965 GB, free: 88.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 8.033e-05/4.817, allocations: 43.94 kB / 2.965 GB, free: 88.55 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/4.817, allocations: 15.94 kB / 2.965 GB, free: 88.54 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001011/4.818, allocations: 248.1 kB / 2.966 GB, free: 88.26 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001275/4.818, allocations: 0.7004 MB / 2.966 GB, free: 87.53 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.0001372/4.818, allocations: 19.98 kB / 2.966 GB, free: 87.51 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.35e-05/4.818, allocations: 30.8 kB / 2.966 GB, free: 87.49 MB / 1.167 GB Notification: Performance of SimCode: time 3.31e-07/4.818, allocations: 0 / 2.966 GB, free: 87.49 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02621/4.845, allocations: 13.24 MB / 2.979 GB, free: 74.4 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002626/4.845, allocations: 199.3 kB / 2.98 GB, free: 74.17 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.243/7.088, allocations: 1.875 kB / 2.98 GB, free: 74.17 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.mat does not exist to compare? outputFormat=mat