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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.5217/0.5217, allocations: 94.74 MB / 102 MB, free: 10.38 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.001058/0.001058, allocations: 173.7 kB / 125.3 MB, free: 11.99 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.36/1.36, allocations: 170.5 MB / 319 MB, free: 9.371 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.001635/0.001635, allocations: 111.1 kB / 381 MB, free: 18.22 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 9.338e-06/9.357e-06, allocations: 224 / 448.6 MB, free: 2.117 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1607/0.1607, allocations: 61.52 MB / 0.4981 GB, free: 4.5 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.81/11.97, allocations: 5.203 GB / 5.701 GB, free: 78.11 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003921/11.97, allocations: 92.81 kB / 5.701 GB, free: 78.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 0.5094/12.48, allocations: 86.6 MB / 5.785 GB, free: 138.8 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.39e-05/12.48, allocations: 7.438 kB / 5.785 GB, free: 138.8 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.002598/12.48, allocations: 0.8851 MB / 5.786 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.62e-05/12.48, allocations: 6.5 kB / 5.786 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006736/12.48, allocations: 98.59 kB / 5.786 GB, free: 138.3 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007106/12.48, allocations: 369.9 kB / 5.787 GB, free: 138.1 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.406e-05/12.48, allocations: 74.02 kB / 5.787 GB, free: 138 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/12.48, allocations: 24.5 kB / 5.787 GB, free: 138 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003296/12.49, allocations: 155.2 kB / 5.787 GB, free: 138 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004213/12.49, allocations: 257 kB / 5.787 GB, free: 138 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/12.49, allocations: 0.75 kB / 5.787 GB, free: 138 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.532e-05/12.49, allocations: 8.438 kB / 5.787 GB, free: 138 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/12.49, allocations: 11.38 kB / 5.787 GB, free: 138 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/12.49, allocations: 1.094 MB / 5.788 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002965/12.49, allocations: 165.7 kB / 5.788 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001752/12.49, allocations: 104 kB / 5.789 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/12.49, allocations: 0 / 5.789 GB, free: 137.6 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003032/12.49, allocations: 209.7 kB / 5.789 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=28): time 1.613e-06/12.49, allocations: 0 / 5.789 GB, free: 137.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=28): time 0.003636/12.49, allocations: 0.6776 MB / 5.789 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.037e-05/12.49, allocations: 90.95 kB / 5.79 GB, free: 137.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003599/12.49, allocations: 311.9 kB / 5.79 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 7.288e-05/12.49, allocations: 29.64 kB / 5.79 GB, free: 137.2 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/12.49, allocations: 153.8 kB / 5.79 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.192e-05/12.49, allocations: 89.03 kB / 5.79 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.776e-05/12.49, allocations: 0 / 5.79 GB, free: 137.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.431e-05/12.49, allocations: 349.1 kB / 5.79 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003296/12.49, allocations: 185.5 kB / 5.791 GB, free: 136.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004458/12.49, allocations: 303.2 kB / 5.791 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000654/12.49, allocations: 217.4 kB / 5.791 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/12.49, allocations: 3.906 kB / 5.791 GB, free: 136.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003802/12.5, allocations: 0.9641 MB / 5.792 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/12.5, allocations: 5.625 kB / 5.792 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/12.5, allocations: 3.25 kB / 5.792 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009526/12.5, allocations: 286.5 kB / 5.792 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004793/12.5, allocations: 92.14 kB / 5.792 GB, free: 136.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002023/12.5, allocations: 2.57 MB / 5.795 GB, free: 134.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008546/12.5, allocations: 89.66 kB / 5.795 GB, free: 134.3 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/12.5, allocations: 43.23 kB / 5.795 GB, free: 134.3 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 Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: evaSho.mTotWat_flow:VARIABLE(unit = "kg/s" ) "Total moisture mass flow rate into the air stream" type: Real evaSho.dX:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Difference in water vapor concentration that drives mass transfer" type: Real evaSho.mEva_flow:VARIABLE(max = 0.0 unit = "kg/s" ) "Moisture mass flow rate that evaporates into air stream" 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 torn nonlinear equation system: evaNor.XEvaWetBulOut_nominal:VARIABLE(min = 0.0 max = 1.0 unit = "1" fixed = false protected = true final = true ) "Water vapor mass fraction at nominal outlet wet bulb condition" type: Real Warning: Iteration variables with default zero start attribute in equation system w/o analytic Jacobian: 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.mEva_flow:VARIABLE(max = 0.0 unit = "kg/s" ) "Moisture mass flow rate that evaporates into air stream" type: Real evaNor.mTotWat_flow:VARIABLE(unit = "kg/s" ) "Total moisture mass flow rate into the air stream" type: Real evaNor.dX:VARIABLE(min = 0.0 max = 1.0 unit = "1" protected = true ) "Difference in water vapor concentration that drives mass transfer" type: Real 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.0003188/12.5, allocations: 159.5 kB / 5.795 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.745e-05/12.5, allocations: 38.34 kB / 5.795 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.862e-05/12.5, allocations: 29.72 kB / 5.795 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/12.5, allocations: 0 / 5.795 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/12.5, allocations: 3.969 kB / 5.795 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.309e-06/12.5, allocations: 0 / 5.795 GB, free: 134.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004779/12.5, allocations: 399.9 kB / 5.796 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/12.5, allocations: 0 / 5.796 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001859/12.5, allocations: 33.06 kB / 5.796 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002946/12.5, allocations: 177.8 kB / 5.796 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.221e-05/12.5, allocations: 9.391 kB / 5.796 GB, free: 134 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0013/12.51, allocations: 1.464 MB / 5.797 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.979e-06/12.51, allocations: 0 / 5.797 GB, free: 132.8 MB / 0.5261 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005103/12.51, allocations: 1.078 MB / 5.798 GB, free: 132.7 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001925/12.51, allocations: 148.6 kB / 5.798 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.812e-05/12.51, allocations: 3.375 kB / 5.798 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/12.51, allocations: 45.27 kB / 5.799 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/12.51, allocations: 42.48 kB / 5.799 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-05/12.51, allocations: 18.92 kB / 5.799 GB, free: 132.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 0.00024/12.51, allocations: 232.4 kB / 5.799 GB, free: 132.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0009511/12.51, allocations: 234.5 kB / 5.799 GB, free: 132.5 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.001863/12.52, allocations: 0.9497 MB / 5.8 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001923/12.52, allocations: 0.5767 MB / 5.801 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/12.52, allocations: 0 / 5.801 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001188/12.52, allocations: 249 kB / 5.801 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005585/12.52, allocations: 77.86 kB / 5.801 GB, free: 132.2 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00156/12.52, allocations: 0.5956 MB / 5.801 GB, free: 132 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004416/12.52, allocations: 0.8429 MB / 5.802 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of SimCode: time 6.81e-07/12.52, allocations: 3.938 kB / 5.802 GB, free: 131.3 MB / 0.5261 GB Notification: Performance of Templates: time 0.02536/12.55, allocations: 13.31 MB / 5.815 GB, free: 130.3 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)