Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.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.EvaporationPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse",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.3/2.3, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001224/0.001224, allocations: 183.9 kB / 0.4901 GB, free: 2.234 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.481/1.481, allocations: 223.1 MB / 0.7992 GB, free: 15.68 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.0009055/0.0009056, allocations: 96.33 kB / 0.9396 GB, free: 2.852 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003759/0.0003758, allocations: 11.25 kB / 1.09 GB, free: 212.8 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2907, allocations: 143 MB / 1.229 GB, free: 85.35 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.039/4.33, allocations: 1.723 GB / 2.952 GB, free: 206.2 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000295/4.33, allocations: 98.33 kB / 2.953 GB, free: 206.1 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 0.1341/4.464, allocations: 66.36 MB / 3.017 GB, free: 150.3 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.376e-06/4.464, allocations: 0 / 3.017 GB, free: 150.3 MB / 1.167 GB Notification: Performance of Transformations before backend: time 2.551e-05/4.464, allocations: 8 kB / 3.017 GB, free: 150.3 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.002234/4.467, allocations: 0.9766 MB / 3.018 GB, free: 149.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/4.467, allocations: 8.031 kB / 3.018 GB, free: 149.3 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.461e-05/4.467, allocations: 64.59 kB / 3.018 GB, free: 149.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002375/4.469, allocations: 250.8 kB / 3.019 GB, free: 149 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000617/4.47, allocations: 399.2 kB / 3.019 GB, free: 148.6 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.447e-05/4.47, allocations: 90.66 kB / 3.019 GB, free: 148.5 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.338e-05/4.47, allocations: 42.39 kB / 3.019 GB, free: 148.5 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007559/4.471, allocations: 383.7 kB / 3.02 GB, free: 148.2 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/4.471, allocations: 7.938 kB / 3.02 GB, free: 148.2 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.448e-05/4.471, allocations: 7.938 kB / 3.02 GB, free: 148.2 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/4.471, allocations: 4 kB / 3.02 GB, free: 148.2 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006904/4.472, allocations: 280.4 kB / 3.02 GB, free: 148 MB / 1.167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004583/4.476, allocations: 1.754 MB / 3.022 GB, free: 146.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/4.477, allocations: 267.8 kB / 3.022 GB, free: 146.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 5.86e-05/4.477, allocations: 4 kB / 3.022 GB, free: 146.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006438/4.478, allocations: 310 kB / 3.022 GB, free: 146 MB / 1.167 GB Notification: Performance of pre-optimization done (n=30): time 2.024e-06/4.478, allocations: 0 / 3.022 GB, free: 146 MB / 1.167 GB Notification: Performance of matching and sorting (n=30): time 0.009031/4.487, allocations: 1.575 MB / 3.024 GB, free: 144.5 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/4.487, allocations: 81.11 kB / 3.024 GB, free: 144.4 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005022/4.487, allocations: 406.3 kB / 3.024 GB, free: 144.1 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001799/4.487, allocations: 40.95 kB / 3.024 GB, free: 144 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/4.488, allocations: 195.9 kB / 3.024 GB, free: 143.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 7.572e-05/4.488, allocations: 93.53 kB / 3.024 GB, free: 143.8 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.506e-05/4.488, allocations: 18.75 kB / 3.024 GB, free: 143.8 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.975e-05/4.488, allocations: 357.9 kB / 3.025 GB, free: 143.5 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007178/4.489, allocations: 284.2 kB / 3.025 GB, free: 143.3 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008088/4.489, allocations: 425.1 kB / 3.025 GB, free: 143 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007538/4.49, allocations: 347.2 kB / 3.026 GB, free: 142.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/4.49, allocations: 0 / 3.026 GB, free: 142.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.007887/4.498, allocations: 1.637 MB / 3.027 GB, free: 141.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/4.498, allocations: 64.3 kB / 3.027 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.838e-06/4.498, allocations: 4 kB / 3.027 GB, free: 141.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/4.5, allocations: 409 kB / 3.028 GB, free: 140.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006118/4.501, allocations: 99.8 kB / 3.028 GB, free: 140.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004923/4.506, allocations: 4.502 MB / 3.032 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001215/4.507, allocations: 106.6 kB / 3.032 GB, free: 136.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.886e-05/4.507, allocations: 35.72 kB / 3.032 GB, free: 136.1 MB / 1.167 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean evaSho.off:DISCRETE(fixed = true protected = true ) "Signal, true when component is off" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 18 ($whenCondition4,$whenCondition2,$PRE.evaNor.off,evaNor.off,$PRE.pulNor.T_start,pulNor.T_start,$PRE.pulNor.count,pulNor.count,$whenCondition3,$whenCondition1,$PRE.pulSho.T_start,pulSho.T_start,$PRE.pulSho.count,pulSho.count,$PRE.evaSho.off,evaSho.off,intNor.local_reset,intSho.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003117/4.507, allocations: 173.3 kB / 3.033 GB, free: 136 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.866e-05/4.507, allocations: 43.44 kB / 3.033 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.161e-05/4.507, allocations: 42.45 kB / 3.033 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.017e-06/4.507, allocations: 4 kB / 3.033 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/4.507, allocations: 0 / 3.033 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/4.507, allocations: 7.938 kB / 3.033 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004347/4.508, allocations: 476.5 kB / 3.033 GB, free: 135.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/4.508, allocations: 0 / 3.033 GB, free: 135.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001715/4.508, allocations: 39.47 kB / 3.033 GB, free: 135.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005697/4.509, allocations: 233.6 kB / 3.033 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.752e-05/4.509, allocations: 15.72 kB / 3.033 GB, free: 135.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001595/4.51, allocations: 1.504 MB / 3.035 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/4.51, allocations: 4 kB / 3.035 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006534/4.517, allocations: 1.369 MB / 3.036 GB, free: 132.6 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002652/4.517, allocations: 162.7 kB / 3.036 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.679e-05/4.517, allocations: 11.31 kB / 3.036 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005226/4.518, allocations: 47.39 kB / 3.036 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/4.518, allocations: 38.88 kB / 3.036 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-05/4.518, allocations: 23.78 kB / 3.037 GB, free: 132.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.0003339/4.518, allocations: 295 kB / 3.037 GB, free: 132.1 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/4.518, allocations: 0 / 3.037 GB, free: 132.1 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.0008516/4.519, allocations: 215.7 kB / 3.037 GB, free: 132 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (evaSho.m,intSho.y,evaNor.m,intNor.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition1,pulSho.T_start,pulSho.count,evaSho.off,$whenCondition4,$whenCondition2,evaNor.off,pulNor.T_start,pulNor.count) * Number of discrete states: 4 (pulNor.count,evaNor.off,pulSho.count,evaSho.off) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {7,7} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003905/4.523, allocations: 2.133 MB / 3.039 GB, free: 130 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.00315/4.526, allocations: 1.052 MB / 3.04 GB, free: 129.1 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/4.526, allocations: 0 / 3.04 GB, free: 129.1 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001517/4.528, allocations: 344.2 kB / 3.04 GB, free: 128.8 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/4.528, allocations: 105.2 kB / 3.041 GB, free: 128.7 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002501/4.531, allocations: 2.5 MB / 3.043 GB, free: 126.3 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002002/4.531, allocations: 0.8152 MB / 3.044 GB, free: 125.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.000363/4.532, allocations: 59.02 kB / 3.044 GB, free: 125.4 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002176/4.532, allocations: 148.2 kB / 3.044 GB, free: 125.3 MB / 1.167 GB Notification: Performance of SimCode: time 6.21e-07/4.532, allocations: 0 / 3.044 GB, free: 125.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03969/4.571, allocations: 25.74 MB / 3.069 GB, free: 99.87 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001477/4.572, allocations: 261 kB / 3.069 GB, free: 99.61 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.9/7.471, allocations: 0 / 3.069 GB, free: 99.61 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse_res.mat does not exist to compare? outputFormat=mat