Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") translateModel(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5523/0.5523, allocations: 94.69 MB / 107.3 MB, free: 5.18 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002038/0.002038, allocations: 176.5 kB / 130.7 MB, free: 7.547 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.803/1.803, allocations: 170.5 MB / 324.5 MB, free: 3.992 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001889/0.00189, allocations: 106.7 kB / 386.6 MB, free: 16.29 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.25e-05/5.254e-05, allocations: 15.94 kB / 456 MB, free: 11.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.536/0.5361, allocations: 61.51 MB / 0.5054 GB, free: 49.62 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 16.17/16.7, allocations: 5.203 GB / 5.709 GB, free: 23.94 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003799/16.71, allocations: 97.47 kB / 5.709 GB, free: 23.89 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.6923/17.4, allocations: 87.36 MB / 5.794 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.707e-06/17.4, allocations: 0 / 5.794 GB, free: 142.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.428e-05/17.4, allocations: 9.5 kB / 5.794 GB, free: 142.9 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.002684/17.4, allocations: 0.8722 MB / 5.795 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.103e-05/17.4, allocations: 7.375 kB / 5.795 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005704/17.4, allocations: 98.56 kB / 5.795 GB, free: 142.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006118/17.4, allocations: 359.6 kB / 5.795 GB, free: 142 MB / 0.5261 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/DXCoils/BaseClasses/Evaporation.mo:172:6-179:62:writable] Warning: If-equations are only partially supported. Ignoring algorithm Modelica.Utilities.Streams.print("Warning: In DX coil model, gamma is too large for these coil conditions. Instead of gamma = " + String(evaNor.nomVal.gamma, 6, 0, true) + ", a value of " + String(evaNor.gammaMax, 6, 0, true) + ", which corresponds to a mass transfer effectiveness of 0.8, will be used. Coil nominal performance data are: nomVal.m_flow_nominal = " + String(evaNor.nomVal.m_flow_nominal, 6, 0, true) + " dX_nominal = XEvaOut_nominal-XEvaWetBulOut_nominal = " + String(evaNor.XEvaOut_nominal, 6, 0, true) + " - " + String(evaNor.XEvaWetBulOut_nominal, 6, 0, true) + " = " + String(evaNor.dX_nominal, 6, 0, true) + " QLat_flow_nominal = " + String(evaNor.QLat_flow_nominal, 6, 0, true) + "", "");. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/DXCoils/BaseClasses/Evaporation.mo:160:6-164:100:writable] Warning: If-equations are only partially supported. Ignoring algorithm Modelica.Utilities.Streams.print("Warning: In DX coil model, dX_nominal = " + String(evaNor.dX_nominal, 6, 0, true) + " This means that the coil is not dehumidifying air at the nominal conditions. Check nominal parameters. " + Buildings.Fluid.HeatExchangers.DXCoils.Data.Generic.BaseClasses.nominalValuesToString(evaNor.nomVal), "");. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/DXCoils/BaseClasses/Evaporation.mo:172:6-179:62:writable] Warning: If-equations are only partially supported. Ignoring algorithm Modelica.Utilities.Streams.print("Warning: In DX coil model, gamma is too large for these coil conditions. Instead of gamma = " + String(evaSho.nomVal.gamma, 6, 0, true) + ", a value of " + String(evaSho.gammaMax, 6, 0, true) + ", which corresponds to a mass transfer effectiveness of 0.8, will be used. Coil nominal performance data are: nomVal.m_flow_nominal = " + String(evaSho.nomVal.m_flow_nominal, 6, 0, true) + " dX_nominal = XEvaOut_nominal-XEvaWetBulOut_nominal = " + String(evaSho.XEvaOut_nominal, 6, 0, true) + " - " + String(evaSho.XEvaWetBulOut_nominal, 6, 0, true) + " = " + String(evaSho.dX_nominal, 6, 0, true) + " QLat_flow_nominal = " + String(evaSho.QLat_flow_nominal, 6, 0, true) + "", "");. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/Fluid/HeatExchangers/DXCoils/BaseClasses/Evaporation.mo:160:6-164:100:writable] Warning: If-equations are only partially supported. Ignoring algorithm Modelica.Utilities.Streams.print("Warning: In DX coil model, dX_nominal = " + String(evaSho.dX_nominal, 6, 0, true) + " This means that the coil is not dehumidifying air at the nominal conditions. Check nominal parameters. " + Buildings.Fluid.HeatExchangers.DXCoils.Data.Generic.BaseClasses.nominalValuesToString(evaSho.nomVal), "");. Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005309/17.4, allocations: 354 kB / 5.796 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.666e-05/17.4, allocations: 44.2 kB / 5.796 GB, free: 141.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/17.4, allocations: 287.8 kB / 5.796 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/17.4, allocations: 7.703 kB / 5.796 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.771e-05/17.4, allocations: 8 kB / 5.796 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/17.4, allocations: 5.094 kB / 5.796 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/17.4, allocations: 163.9 kB / 5.796 GB, free: 141.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003357/17.41, allocations: 1.316 MB / 5.798 GB, free: 140.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003371/17.41, allocations: 172.1 kB / 5.798 GB, free: 140.8 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00022/17.41, allocations: 113 kB / 5.798 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.871e-05/17.41, allocations: 11.22 kB / 5.798 GB, free: 140.7 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003639/17.41, allocations: 234.3 kB / 5.798 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 2.986e-06/17.41, allocations: 4 kB / 5.798 GB, free: 140.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.003421/17.41, allocations: 0.6928 MB / 5.799 GB, free: 140.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.16e-05/17.41, allocations: 88.52 kB / 5.799 GB, free: 140.3 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004503/17.41, allocations: 360.5 kB / 5.799 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.612e-05/17.41, allocations: 40.48 kB / 5.799 GB, free: 140.1 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/17.41, allocations: 191.3 kB / 5.799 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.077e-05/17.41, allocations: 92.44 kB / 5.799 GB, free: 139.9 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.699e-05/17.41, allocations: 8 kB / 5.8 GB, free: 139.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001354/17.41, allocations: 357.8 kB / 5.8 GB, free: 139.5 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003672/17.41, allocations: 192.1 kB / 5.8 GB, free: 139.4 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/17.41, allocations: 280.4 kB / 5.8 GB, free: 139.3 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004152/17.41, allocations: 252.9 kB / 5.801 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/17.41, allocations: 0 / 5.801 GB, free: 139.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003536/17.42, allocations: 1.04 MB / 5.802 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 5.825e-05/17.42, allocations: 59.34 kB / 5.802 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/17.42, allocations: 0 / 5.802 GB, free: 138.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009404/17.42, allocations: 280.9 kB / 5.802 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/17.42, allocations: 94.67 kB / 5.802 GB, free: 138.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001974/17.42, allocations: 2.509 MB / 5.804 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008119/17.42, allocations: 85.69 kB / 5.805 GB, free: 136.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.224e-05/17.42, allocations: 35.34 kB / 5.805 GB, free: 136.2 MB / 0.5261 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 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($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) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 48 * 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 {6,6} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.000297/17.42, allocations: 145.1 kB / 5.805 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.754e-05/17.42, allocations: 39.09 kB / 5.805 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001334/17.42, allocations: 47.06 kB / 5.805 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/17.42, allocations: 3.938 kB / 5.805 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/17.42, allocations: 3.938 kB / 5.805 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/17.42, allocations: 0 / 5.805 GB, free: 136 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005243/17.42, allocations: 441.8 kB / 5.805 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/17.42, allocations: 0 / 5.805 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000172/17.42, allocations: 34.05 kB / 5.805 GB, free: 135.7 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003004/17.42, allocations: 173.5 kB / 5.805 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/17.42, allocations: 11.33 kB / 5.805 GB, free: 135.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001191/17.42, allocations: 1.415 MB / 5.807 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.03e-06/17.42, allocations: 8.109 kB / 5.807 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004714/17.43, allocations: 1.084 MB / 5.808 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002488/17.43, allocations: 155.3 kB / 5.808 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.649e-05/17.43, allocations: 7.594 kB / 5.808 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003996/17.43, allocations: 43.17 kB / 5.808 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/17.43, allocations: 42.7 kB / 5.808 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.525e-05/17.43, allocations: 15.72 kB / 5.808 GB, free: 133.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003501/17.43, allocations: 272.4 kB / 5.808 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/17.43, allocations: 0 / 5.808 GB, free: 133.7 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001358/17.43, allocations: 250.9 kB / 5.809 GB, free: 133.6 MB / 0.5261 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 {6,6} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001503/17.43, allocations: 0.8143 MB / 5.809 GB, free: 133.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002192/17.44, allocations: 0.6501 MB / 5.81 GB, free: 133 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/17.44, allocations: 0 / 5.81 GB, free: 133 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00105/17.44, allocations: 272.2 kB / 5.81 GB, free: 132.9 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006266/17.44, allocations: 93.33 kB / 5.81 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001258/17.44, allocations: 0.5993 MB / 5.811 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/17.44, allocations: 0.8015 MB / 5.812 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.000277/17.44, allocations: 42.94 kB / 5.812 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/17.44, allocations: 34.34 kB / 5.812 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of SimCode: time 3.065e-06/17.44, allocations: 0 / 5.812 GB, free: 131.8 MB / 0.5261 GB Notification: Performance of Templates: time 0.03091/17.47, allocations: 20.82 MB / 5.832 GB, free: 116.7 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.EvaporationPulse.pipe 2>&1)