Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,fileNamePrefix="Buildings_8_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 8.1.4-maint.8.1.x/package.mo): time 1.691/1.691, allocations: 289.9 MB / 297.4 MB, free: 6.402 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001938/0.001938, allocations: 180.8 kB / 366.7 MB, free: 1.695 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.779/1.779, allocations: 205.3 MB / 0.626 GB, free: 7.172 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008207/0.0008207, allocations: 92.47 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.13e-05/2.132e-05, allocations: 4 kB / 0.8598 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7499/0.75, allocations: 116.3 MB / 0.9734 GB, free: 76.27 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.109/5.859, allocations: 2.065 GB / 3.038 GB, free: 64.44 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002431/5.86, allocations: 96.5 kB / 3.038 GB, free: 64.34 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8088/6.668, allocations: 66.84 MB / 3.104 GB, free: 321.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.004e-06/6.668, allocations: 3.75 kB / 3.104 GB, free: 321.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.469e-05/6.669, allocations: 12.31 kB / 3.104 GB, free: 321.8 MB / 0.948 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.002909/6.671, allocations: 0.8928 MB / 3.105 GB, free: 321.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 8.298e-05/6.672, allocations: 9.375 kB / 3.105 GB, free: 321.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002541/6.674, allocations: 261.1 kB / 3.105 GB, free: 321.3 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007625/6.675, allocations: 389 kB / 3.105 GB, free: 321.1 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/6.675, allocations: 75.72 kB / 3.105 GB, free: 321 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/6.675, allocations: 24.39 kB / 3.105 GB, free: 321 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004178/6.676, allocations: 162.6 kB / 3.105 GB, free: 321 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005599/6.676, allocations: 296.7 kB / 3.106 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.563e-05/6.676, allocations: 3.844 kB / 3.106 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/6.676, allocations: 5.438 kB / 3.106 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/6.676, allocations: 5.125 kB / 3.106 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004665/6.681, allocations: 1.675 MB / 3.107 GB, free: 320.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003991/6.681, allocations: 169.4 kB / 3.108 GB, free: 320.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/6.682, allocations: 110.7 kB / 3.108 GB, free: 320.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.674e-05/6.682, allocations: 3.031 kB / 3.108 GB, free: 320.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004869/6.682, allocations: 255 kB / 3.108 GB, free: 320.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=30): time 2.835e-06/6.682, allocations: 0 / 3.108 GB, free: 320.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.005827/6.688, allocations: 0.9672 MB / 3.109 GB, free: 320.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/6.688, allocations: 84.7 kB / 3.109 GB, free: 320.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005796/6.689, allocations: 351.2 kB / 3.109 GB, free: 320 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-05/6.689, allocations: 31.23 kB / 3.109 GB, free: 319.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/6.689, allocations: 196.4 kB / 3.109 GB, free: 319.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000106/6.689, allocations: 94.78 kB / 3.11 GB, free: 319.8 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.815e-05/6.689, allocations: 4.125 kB / 3.11 GB, free: 319.8 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.000112/6.689, allocations: 351.2 kB / 3.11 GB, free: 319.5 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004321/6.69, allocations: 202.7 kB / 3.11 GB, free: 319.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006323/6.69, allocations: 342.3 kB / 3.11 GB, free: 319.4 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005088/6.691, allocations: 227.7 kB / 3.111 GB, free: 319.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/6.691, allocations: 3.969 kB / 3.111 GB, free: 319.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.006741/6.698, allocations: 1.351 MB / 3.112 GB, free: 319.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.966e-05/6.698, allocations: 65.31 kB / 3.112 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/6.698, allocations: 1.438 kB / 3.112 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001521/6.699, allocations: 361.7 kB / 3.112 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005785/6.7, allocations: 96.75 kB / 3.112 GB, free: 319.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004584/6.704, allocations: 4.328 MB / 3.117 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001144/6.706, allocations: 92.98 kB / 3.117 GB, free: 315.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.574e-05/6.706, allocations: 37.8 kB / 3.117 GB, free: 315.5 MB / 0.948 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.0003778/6.706, allocations: 153.3 kB / 3.117 GB, free: 315.4 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005165/6.711, allocations: 0.9355 MB / 3.118 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001231/6.711, allocations: 45.28 kB / 3.118 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001231/6.711, allocations: 37.59 kB / 3.118 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/6.711, allocations: 3.469 kB / 3.118 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/6.711, allocations: 3.953 kB / 3.118 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/6.712, allocations: 1.344 kB / 3.118 GB, free: 315.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007642/6.712, allocations: 434 kB / 3.118 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/6.712, allocations: 0.5 kB / 3.118 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002122/6.713, allocations: 32.92 kB / 3.118 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004669/6.713, allocations: 188 kB / 3.119 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.356e-05/6.713, allocations: 13.05 kB / 3.119 GB, free: 315.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001632/6.715, allocations: 1.478 MB / 3.12 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/6.715, allocations: 2.281 kB / 3.12 GB, free: 313.9 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005629/6.72, allocations: 1.134 MB / 3.121 GB, free: 313.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/6.721, allocations: 157 kB / 3.121 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.718e-05/6.721, allocations: 6.531 kB / 3.121 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004767/6.721, allocations: 41.3 kB / 3.121 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001585/6.721, allocations: 43.45 kB / 3.121 GB, free: 313.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.79e-05/6.721, allocations: 16.05 kB / 3.121 GB, free: 313.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000415/6.722, allocations: 255.9 kB / 3.122 GB, free: 313.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.11e-07/6.722, allocations: 0.9375 kB / 3.122 GB, free: 313.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001261/6.723, allocations: 188 kB / 3.122 GB, free: 313.6 MB / 0.948 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.003858/6.727, allocations: 2.042 MB / 3.124 GB, free: 312.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002612/6.73, allocations: 0.8798 MB / 3.125 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.458e-06/6.73, allocations: 0 / 3.125 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/6.731, allocations: 261 kB / 3.125 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006852/6.732, allocations: 102.8 kB / 3.125 GB, free: 312.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/6.733, allocations: 0.7096 MB / 3.126 GB, free: 312.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/6.734, allocations: 0.8172 MB / 3.127 GB, free: 311.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003321/6.734, allocations: 53.48 kB / 3.127 GB, free: 311.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002345/6.734, allocations: 133.9 kB / 3.127 GB, free: 311.3 MB / 0.948 GB Notification: Performance of SimCode: time 9.21e-07/6.734, allocations: 0 / 3.127 GB, free: 311.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05888/6.793, allocations: 18.85 MB / 3.145 GB, free: 310.2 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/6.794, allocations: 166.7 kB / 3.145 GB, free: 310 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.229/10.02, allocations: 2.031 kB / 3.145 GB, free: 310 MB / 0.948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_EvaporationPulse.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)