Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.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.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") [: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.5027/0.5027, allocations: 94.74 MB / 102 MB, free: 10.37 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.001133/0.001133, allocations: 172.2 kB / 125.3 MB, free: 12.02 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.256/1.256, allocations: 170.5 MB / 319 MB, free: 9.348 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.001615/0.001615, allocations: 102.8 kB / 381 MB, free: 18.17 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.306e-06/8.326e-06, allocations: 224 / 448.6 MB, free: 2.141 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1472, allocations: 61.53 MB / 0.4981 GB, free: 4.512 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.02/10.17, allocations: 4.488 GB / 4.986 GB, free: 143.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/10.17, allocations: 94.5 kB / 4.986 GB, free: 143.8 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.496/14.67, allocations: 1.184 GB / 6.17 GB, free: 43.83 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0002931/14.67, allocations: 54.27 kB / 6.17 GB, free: 43.83 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 353 * Number of variables: 353 Notification: Performance of Generate backend data structure: time 0.01376/14.68, allocations: 3.576 MB / 6.173 GB, free: 42.59 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/14.68, allocations: 9.719 kB / 6.173 GB, free: 42.59 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/14.68, allocations: 239.1 kB / 6.174 GB, free: 42.48 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08651/14.77, allocations: 27.89 MB / 6.201 GB, free: 40.77 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003156/14.77, allocations: 145.2 kB / 6.201 GB, free: 40.68 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009037/14.77, allocations: 91.19 kB / 6.201 GB, free: 40.68 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004738/14.77, allocations: 1.59 MB / 6.203 GB, free: 40.67 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004625/14.78, allocations: 1.518 MB / 6.204 GB, free: 40.48 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.084e-05/14.78, allocations: 6.281 kB / 6.204 GB, free: 40.48 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003787/14.78, allocations: 6.656 kB / 6.204 GB, free: 40.48 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.458e-05/14.78, allocations: 37.03 kB / 6.204 GB, free: 40.47 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/14.79, allocations: 7.4 MB / 6.211 GB, free: 37.2 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/14.79, allocations: 0.6134 MB / 6.212 GB, free: 37.19 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007522/14.79, allocations: 483.3 kB / 6.212 GB, free: 37.18 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003988/14.8, allocations: 389.2 kB / 6.213 GB, free: 36.8 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.087e-05/14.8, allocations: 50.88 kB / 6.213 GB, free: 36.76 MB / 0.573 GB Notification: Performance of pre-optimization done (n=95): time 3.096e-06/14.8, allocations: 0 / 6.213 GB, free: 36.76 MB / 0.573 GB Notification: Performance of matching and sorting (n=119): time 0.03592/14.83, allocations: 8.426 MB / 6.221 GB, free: 35.5 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.434e-05/14.83, allocations: 89.61 kB / 6.221 GB, free: 35.4 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002293/14.83, allocations: 1.115 MB / 6.222 GB, free: 35.24 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004683/14.83, allocations: 32.08 kB / 6.222 GB, free: 35.21 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00047/14.83, allocations: 0.624 MB / 6.223 GB, free: 34.84 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000578/14.84, allocations: 404.5 kB / 6.223 GB, free: 34.57 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001725/14.84, allocations: 3.781 kB / 6.223 GB, free: 34.57 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001366/14.84, allocations: 365.4 kB / 6.224 GB, free: 34.27 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001249/14.84, allocations: 0.6497 MB / 6.224 GB, free: 34.27 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/14.84, allocations: 1.103 MB / 6.225 GB, free: 33.74 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002911/14.84, allocations: 1.034 MB / 6.226 GB, free: 33.71 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.508e-05/14.84, allocations: 3.094 kB / 6.226 GB, free: 33.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01248/14.85, allocations: 3.479 MB / 6.23 GB, free: 33.55 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001112/14.85, allocations: 4.758 MB / 6.234 GB, free: 28.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.409e-05/14.85, allocations: 17.19 kB / 6.234 GB, free: 28.66 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00263/14.86, allocations: 0.6706 MB / 6.235 GB, free: 28.64 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001793/14.86, allocations: 330.4 kB / 6.235 GB, free: 28.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01872/14.88, allocations: 8.327 MB / 6.243 GB, free: 25.04 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003176/14.88, allocations: 179.4 kB / 6.244 GB, free: 25.03 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005881/14.88, allocations: 87.03 kB / 6.244 GB, free: 25.03 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/14.88, allocations: 9.812 kB / 6.244 GB, free: 25.03 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01261/14.89, allocations: 3.484 MB / 6.247 GB, free: 24.92 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.557e-05/14.89, allocations: 13.56 kB / 6.247 GB, free: 24.92 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002574/14.9, allocations: 0.6681 MB / 6.248 GB, free: 24.9 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001908/14.9, allocations: 327.9 kB / 6.248 GB, free: 24.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01201/14.91, allocations: 6.428 MB / 6.254 GB, free: 22.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00306/14.91, allocations: 177.9 kB / 6.255 GB, free: 22.23 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005925/14.91, allocations: 88.86 kB / 6.255 GB, free: 22.23 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: humFor.vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = humFor.vol.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true final = true ) "Temperature of medium" type: Real humFor.vol.dynBal.medium.Xi[1]:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0)))))))))))) start = 0.01 unit = "1" nominal = 0.1 stateSelect=StateSelect.prefer protected = true final = true ) "Structurally independent mass fractions" type: Real [1] humFor.vol.dynBal.medium.p:VARIABLE(min = max(max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))), max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))) max = min(min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0))), min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0))))))))))) start = 101325.0 unit = "Pa" nominal = 100000.0 stateSelect=StateSelect.prefer protected = true final = true ) "Absolute pressure of medium" type: Real humBac.vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = humBac.vol.dynBal.T_start unit = "K" nominal = 293.15 stateSelect=StateSelect.prefer protected = true final = true ) "Temperature of medium" type: Real humBac.vol.dynBal.medium.Xi[1]:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0)))))))))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 1.0)))))))))))) start = 0.01 unit = "1" nominal = 0.1 stateSelect=StateSelect.prefer protected = true final = true ) "Structurally independent mass fractions" type: Real [1] humBac.vol.dynBal.medium.p:VARIABLE(min = max(max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))), max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))))))))) max = min(min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0))))), min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, min(100000000.0, 100000000.0))))))))) start = 101325.0 unit = "Pa" nominal = 101325.0 stateSelect=StateSelect.prefer protected = true final = true ) "Absolute pressure of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * Number of states: 0 () * Number of discrete variables: 4 (humBac.vol.i_w,humFor.vol.i_w,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (179): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001427/14.92, allocations: 403.1 kB / 6.255 GB, free: 22.07 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000774/14.92, allocations: 161.2 kB / 6.255 GB, free: 21.99 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01188/14.93, allocations: 3.294 MB / 6.258 GB, free: 21.84 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.471e-05/14.93, allocations: 16.34 kB / 6.258 GB, free: 21.84 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.895e-05/14.93, allocations: 2.656 kB / 6.258 GB, free: 21.84 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.223e-05/14.93, allocations: 7.406 kB / 6.258 GB, free: 21.84 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/14.94, allocations: 5.102 MB / 6.263 GB, free: 21.43 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.778e-06/14.94, allocations: 0 / 6.263 GB, free: 21.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001245/14.95, allocations: 239.5 kB / 6.264 GB, free: 21.43 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003153/14.95, allocations: 0.6454 MB / 6.264 GB, free: 21.41 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001919/14.95, allocations: 43 kB / 6.264 GB, free: 21.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008687/14.96, allocations: 5.163 MB / 6.269 GB, free: 18.82 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/14.96, allocations: 6.688 kB / 6.269 GB, free: 18.82 MB / 0.573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0129/14.97, allocations: 3.91 MB / 6.273 GB, free: 18.41 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001928/14.97, allocations: 471.1 kB / 6.274 GB, free: 18.23 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006866/14.97, allocations: 20.5 kB / 6.274 GB, free: 18.23 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002321/14.98, allocations: 141 kB / 6.274 GB, free: 18.23 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001841/14.98, allocations: 86.2 kB / 6.274 GB, free: 18.22 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002643/14.98, allocations: 79.03 kB / 6.274 GB, free: 18.22 MB / 0.573 GB Notification: Performance of sort global known variables: time 0.001666/14.98, allocations: 0.8375 MB / 6.275 GB, free: 18.11 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01077/14.99, allocations: 1.945 MB / 6.277 GB, free: 17.83 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (humBac.vol.dynBal.medium.p,humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.medium.T,humFor.vol.dynBal.medium.p,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (127): * Single equations (assignments): 123 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 6,(2,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0101/15, allocations: 3.47 MB / 6.28 GB, free: 17.07 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.006937/15.01, allocations: 3.489 MB / 6.283 GB, free: 16.38 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.24e-05/15.01, allocations: 4.688 kB / 6.283 GB, free: 16.38 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.00226/15.01, allocations: 1.093 MB / 6.284 GB, free: 32.17 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005121/15.01, allocations: 0.7835 MB / 6.285 GB, free: 32.13 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/15.02, allocations: 3.248 MB / 6.288 GB, free: 31.47 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002661/15.03, allocations: 1.69 MB / 6.29 GB, free: 30.73 MB / 0.5886 GB Notification: Performance of SimCode: time 9.42e-07/15.03, allocations: 2.297 kB / 6.29 GB, free: 30.73 MB / 0.5886 GB Notification: Performance of Templates: time 0.1307/15.16, allocations: 75.25 MB / 6.364 GB, free: 13.34 MB / 0.5886 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)