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.444/2.444, allocations: 390.5 MB / 398 MB, free: 10.99 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.001035, allocations: 184.8 kB / 491.2 MB, free: 1.617 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.506/1.506, allocations: 221.5 MB / 0.7868 GB, free: 13.29 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.0009305/0.0009304, allocations: 91.94 kB / 0.9269 GB, free: 13.78 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.583e-05/2.585e-05, allocations: 8 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3387, allocations: 143 MB / 1.212 GB, free: 39.41 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.67/5.008, allocations: 1.722 GB / 2.935 GB, free: 142.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/5.009, allocations: 100.6 kB / 2.935 GB, free: 142.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1416/5.151, allocations: 65.33 MB / 2.999 GB, free: 76.44 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.723e-06/5.151, allocations: 0 / 2.999 GB, free: 76.44 MB / 1.151 GB Notification: Performance of Transformations before backend: time 4.91e-05/5.151, allocations: 8 kB / 2.999 GB, free: 76.43 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00258/5.153, allocations: 0.8935 MB / 3 GB, free: 75.48 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/5.153, allocations: 8.031 kB / 3 GB, free: 75.47 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0025/5.156, allocations: 255.2 kB / 3 GB, free: 75.22 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/5.157, allocations: 399.2 kB / 3 GB, free: 74.8 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.222e-05/5.157, allocations: 71.84 kB / 3 GB, free: 74.71 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001982/5.157, allocations: 27.98 kB / 3 GB, free: 74.69 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003384/5.157, allocations: 168.8 kB / 3.001 GB, free: 74.52 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/5.158, allocations: 291.5 kB / 3.001 GB, free: 74.21 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.691e-05/5.158, allocations: 7.938 kB / 3.001 GB, free: 74.21 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/5.158, allocations: 0 / 3.001 GB, free: 74.21 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/5.158, allocations: 4 kB / 3.001 GB, free: 74.2 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004736/5.163, allocations: 1.685 MB / 3.003 GB, free: 72.46 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003042/5.163, allocations: 170.8 kB / 3.003 GB, free: 72.29 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001625/5.163, allocations: 106.8 kB / 3.003 GB, free: 72.18 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 3.528e-05/5.163, allocations: 4 kB / 3.003 GB, free: 72.18 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003512/5.164, allocations: 248.8 kB / 3.003 GB, free: 71.91 MB / 1.151 GB Notification: Performance of pre-optimization done (n=30): time 3.567e-06/5.164, allocations: 0 / 3.003 GB, free: 71.91 MB / 1.151 GB Notification: Performance of matching and sorting (n=30): time 0.005366/5.169, allocations: 0.9689 MB / 3.004 GB, free: 70.93 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.792e-05/5.169, allocations: 81.11 kB / 3.004 GB, free: 70.84 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004184/5.169, allocations: 364.9 kB / 3.004 GB, free: 70.47 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/5.17, allocations: 29.7 kB / 3.004 GB, free: 70.44 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/5.17, allocations: 197.5 kB / 3.005 GB, free: 70.24 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 8.815e-05/5.17, allocations: 94.59 kB / 3.005 GB, free: 70.14 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.023e-05/5.17, allocations: 0 / 3.005 GB, free: 70.14 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.0001045/5.17, allocations: 354.8 kB / 3.005 GB, free: 69.79 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000342/5.17, allocations: 205.5 kB / 3.005 GB, free: 69.59 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004205/5.171, allocations: 345.6 kB / 3.006 GB, free: 69.22 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004318/5.171, allocations: 214 kB / 3.006 GB, free: 69.02 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/5.171, allocations: 0 / 3.006 GB, free: 69.02 MB / 1.151 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006114/5.177, allocations: 1.363 MB / 3.007 GB, free: 67.63 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 5.166e-05/5.177, allocations: 67.33 kB / 3.007 GB, free: 67.55 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.265e-05/5.177, allocations: 4 kB / 3.007 GB, free: 67.55 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001416/5.179, allocations: 367.2 kB / 3.008 GB, free: 67.18 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/5.179, allocations: 103.8 kB / 3.008 GB, free: 67.08 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/5.184, allocations: 4.313 MB / 3.012 GB, free: 62.48 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/5.185, allocations: 91.38 kB / 3.012 GB, free: 62.39 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001557/5.185, allocations: 31.97 kB / 3.012 GB, free: 62.36 MB / 1.151 GB Warning: Assuming fixed start value for the following 2 variables: evaNor.off:DISCRETE(fixed = false protected = true ) "Signal, true when component is off" type: Boolean evaSho.off:DISCRETE(fixed = false protected = true ) "Signal, true when component is off" type: Boolean Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: evaSho.dX:VARIABLE(min = -1.0 max = 0.0 unit = "1" protected = true ) "Difference in water vapor concentration that drives mass transfer" type: Real evaSho.mTotWat_flow:VARIABLE(unit = "kg/s" ) "Total moisture mass flow rate into the air stream" type: Real evaSho.XiSatRefOut:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation, referenced to outlet mass flow rate" type: Real evaSho.XEvaWetBulOut:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at wet bulb conditions at air inlet" type: Real Warning: Iteration variables with default zero start attribute in equation system with analytic Jacobian: evaNor.dX:VARIABLE(min = -1.0 max = 0.0 unit = "1" protected = true ) "Difference in water vapor concentration that drives mass transfer" type: Real evaNor.XEvaWetBulOut:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at wet bulb conditions at air inlet" type: Real evaNor.XiSatRefOut:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Water vapor mass fraction at saturation, referenced to outlet mass flow rate" type: Real evaNor.mTotWat_flow:VARIABLE(unit = "kg/s" ) "Total moisture mass flow rate into the air stream" type: Real 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 () * 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.0003692/5.185, allocations: 160.1 kB / 3.012 GB, free: 62.2 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004863/5.19, allocations: 0.9464 MB / 3.013 GB, free: 61.25 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001314/5.19, allocations: 47.44 kB / 3.013 GB, free: 61.2 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.776e-05/5.19, allocations: 43.55 kB / 3.013 GB, free: 61.16 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/5.19, allocations: 7.938 kB / 3.013 GB, free: 61.15 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/5.19, allocations: 0 / 3.013 GB, free: 61.15 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/5.19, allocations: 0 / 3.013 GB, free: 61.15 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005515/5.191, allocations: 437.7 kB / 3.014 GB, free: 60.69 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/5.191, allocations: 0 / 3.014 GB, free: 60.69 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001818/5.191, allocations: 31.92 kB / 3.014 GB, free: 60.66 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002946/5.192, allocations: 189.6 kB / 3.014 GB, free: 60.46 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.265e-05/5.192, allocations: 11.98 kB / 3.014 GB, free: 60.45 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001286/5.193, allocations: 1.484 MB / 3.015 GB, free: 58.92 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.931e-06/5.193, allocations: 3.938 kB / 3.015 GB, free: 58.92 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004915/5.198, allocations: 1.135 MB / 3.016 GB, free: 57.75 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/5.198, allocations: 164.5 kB / 3.016 GB, free: 57.57 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001143/5.198, allocations: 7.984 kB / 3.016 GB, free: 57.56 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/5.199, allocations: 43.91 kB / 3.017 GB, free: 57.52 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001263/5.199, allocations: 43.88 kB / 3.017 GB, free: 57.48 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.972e-05/5.199, allocations: 19.97 kB / 3.017 GB, free: 57.46 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0002802/5.199, allocations: 259 kB / 3.017 GB, free: 57.21 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/5.199, allocations: 0 / 3.017 GB, free: 57.21 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.0009776/5.2, allocations: 183.9 kB / 3.017 GB, free: 57.03 MB / 1.151 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) * 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.003054/5.203, allocations: 2.024 MB / 3.019 GB, free: 54.96 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002464/5.206, allocations: 0.8868 MB / 3.02 GB, free: 54.02 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/5.206, allocations: 3.938 kB / 3.02 GB, free: 54.02 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001111/5.207, allocations: 273.4 kB / 3.02 GB, free: 53.75 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000583/5.207, allocations: 83.17 kB / 3.02 GB, free: 53.67 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001686/5.209, allocations: 0.7066 MB / 3.021 GB, free: 52.92 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/5.209, allocations: 0.8191 MB / 3.022 GB, free: 52.07 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.0003823/5.21, allocations: 55.19 kB / 3.022 GB, free: 52.02 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002134/5.21, allocations: 135.4 kB / 3.022 GB, free: 51.88 MB / 1.151 GB Notification: Performance of SimCode: time 5.81e-07/5.21, allocations: 0 / 3.022 GB, free: 51.88 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04889/5.259, allocations: 18.85 MB / 3.04 GB, free: 33.13 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/5.259, allocations: 173.3 kB / 3.04 GB, free: 32.94 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/8.264, allocations: 0 / 3.04 GB, free: 32.94 MB / 1.151 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