Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.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.SensibleHeatRatio,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.234/2.234, allocations: 387.1 MB / 399.7 MB, free: 9.508 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.001036/0.001036, allocations: 172.9 kB / 492.3 MB, free: 0.6094 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.682/1.682, allocations: 221.3 MB / 0.7871 GB, free: 12.87 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.001107/0.001107, allocations: 95.95 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.194e-05/3.197e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2415/0.2415, allocations: 142.4 MB / 1.213 GB, free: 38.38 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.336/4.578, allocations: 1.713 GB / 2.926 GB, free: 153 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003059/4.578, allocations: 91.94 kB / 2.926 GB, free: 152.9 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.05177/4.63, allocations: 28.38 MB / 2.954 GB, free: 124.3 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.132e-06/4.63, allocations: 0 / 2.954 GB, free: 124.3 MB / 1.151 GB Notification: Performance of Transformations before backend: time 7.754e-06/4.63, allocations: 0 / 2.954 GB, free: 124.3 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004701/4.631, allocations: 432.2 kB / 2.954 GB, free: 123.8 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.855e-05/4.631, allocations: 12.03 kB / 2.954 GB, free: 123.8 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.854e-05/4.631, allocations: 34.56 kB / 2.954 GB, free: 123.8 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001006/4.632, allocations: 155.7 kB / 2.954 GB, free: 123.6 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001005/4.632, allocations: 174.9 kB / 2.954 GB, free: 123.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.268e-05/4.632, allocations: 33.64 kB / 2.954 GB, free: 123.4 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/4.632, allocations: 8 kB / 2.954 GB, free: 123.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/4.632, allocations: 98.2 kB / 2.954 GB, free: 123.2 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/4.632, allocations: 4 kB / 2.954 GB, free: 123.2 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.949e-05/4.632, allocations: 7.953 kB / 2.954 GB, free: 123.2 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/4.632, allocations: 4 kB / 2.954 GB, free: 123.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/4.632, allocations: 75.98 kB / 2.955 GB, free: 123.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007266/4.633, allocations: 438.7 kB / 2.955 GB, free: 122.7 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001324/4.633, allocations: 62.58 kB / 2.955 GB, free: 122.6 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.145e-05/4.633, allocations: 40.97 kB / 2.955 GB, free: 122.6 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 1.692e-05/4.633, allocations: 8 kB / 2.955 GB, free: 122.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/4.633, allocations: 34.5 kB / 2.955 GB, free: 122.5 MB / 1.151 GB Notification: Performance of pre-optimization done (n=6): time 1.353e-06/4.633, allocations: 0 / 2.955 GB, free: 122.5 MB / 1.151 GB Notification: Performance of matching and sorting (n=6): time 0.0003155/4.634, allocations: 101.6 kB / 2.955 GB, free: 122.4 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.005e-05/4.634, allocations: 51.41 kB / 2.955 GB, free: 122.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.134e-05/4.634, allocations: 131.5 kB / 2.955 GB, free: 122.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 1.722e-05/4.634, allocations: 25.7 kB / 2.955 GB, free: 122.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 3.671e-05/4.634, allocations: 96.14 kB / 2.956 GB, free: 122.1 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/4.634, allocations: 27.84 kB / 2.956 GB, free: 122.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.508e-06/4.634, allocations: 0 / 2.956 GB, free: 122.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 6.527e-05/4.634, allocations: 322.8 kB / 2.956 GB, free: 121.7 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.184e-05/4.634, allocations: 28 kB / 2.956 GB, free: 121.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.617e-05/4.634, allocations: 31.94 kB / 2.956 GB, free: 121.7 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.353e-05/4.634, allocations: 20 kB / 2.956 GB, free: 121.7 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/4.634, allocations: 0 / 2.956 GB, free: 121.7 MB / 1.151 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001661/4.634, allocations: 101.5 kB / 2.956 GB, free: 121.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/4.634, allocations: 4 kB / 2.956 GB, free: 121.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/4.634, allocations: 4 kB / 2.956 GB, free: 121.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/4.634, allocations: 4 kB / 2.956 GB, free: 121.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/4.635, allocations: 43.95 kB / 2.956 GB, free: 121.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/4.635, allocations: 0 / 2.956 GB, free: 121.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002155/4.635, allocations: 43.86 kB / 2.956 GB, free: 121.5 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.434e-05/4.635, allocations: 3.984 kB / 2.956 GB, free: 121.5 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: 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 5.667e-05/4.635, allocations: 109 kB / 2.956 GB, free: 121.3 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/4.635, allocations: 7.906 kB / 2.956 GB, free: 121.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.938e-05/4.635, allocations: 12.62 kB / 2.956 GB, free: 121.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/4.635, allocations: 4 kB / 2.956 GB, free: 121.3 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/4.635, allocations: 0 / 2.956 GB, free: 121.3 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/4.635, allocations: 3.984 kB / 2.956 GB, free: 121.3 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001724/4.635, allocations: 221.5 kB / 2.956 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/4.635, allocations: 7.938 kB / 2.956 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/4.636, allocations: 44.2 kB / 2.957 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/4.636, allocations: 0 / 2.957 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.614e-05/4.636, allocations: 8 kB / 2.957 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/4.636, allocations: 0 / 2.957 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/4.636, allocations: 0 / 2.957 GB, free: 121 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/4.636, allocations: 195.4 kB / 2.957 GB, free: 120.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 2.458e-05/4.636, allocations: 89.02 kB / 2.957 GB, free: 120.7 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/4.636, allocations: 4 kB / 2.957 GB, free: 120.7 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/4.636, allocations: 39.94 kB / 2.957 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.864e-05/4.636, allocations: 4 kB / 2.957 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/4.636, allocations: 7.984 kB / 2.957 GB, free: 120.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 4.851e-05/4.636, allocations: 112.7 kB / 2.957 GB, free: 120.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/4.636, allocations: 3.938 kB / 2.957 GB, free: 120.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0003215/4.637, allocations: 55.89 kB / 2.957 GB, free: 120.4 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: 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.0008562/4.637, allocations: 1.186 MB / 2.958 GB, free: 119.2 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.0001787/4.638, allocations: 71.94 kB / 2.958 GB, free: 119.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/4.638, allocations: 0 / 2.958 GB, free: 119.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 7.704e-05/4.638, allocations: 43.98 kB / 2.958 GB, free: 119.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002019/4.638, allocations: 13.14 kB / 2.958 GB, free: 119.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000964/4.639, allocations: 242.6 kB / 2.959 GB, free: 118.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/4.639, allocations: 0.6965 MB / 2.959 GB, free: 118.1 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0001333/4.639, allocations: 16 kB / 2.959 GB, free: 118.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.116e-05/4.639, allocations: 31.36 kB / 2.959 GB, free: 118.1 MB / 1.151 GB Notification: Performance of SimCode: time 3.11e-07/4.639, allocations: 0 / 2.959 GB, free: 118.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02245/4.662, allocations: 13.24 MB / 2.972 GB, free: 105 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001547/4.662, allocations: 184.7 kB / 2.972 GB, free: 104.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.109/6.771, allocations: 0 / 2.972 GB, free: 104.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.mat does not exist to compare? outputFormat=mat