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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6044/0.6044, allocations: 94.78 MB / 102.2 MB, free: 10.14 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.001258/0.001258, allocations: 176.1 kB / 125.6 MB, free: 11.87 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.693/1.693, allocations: 170.6 MB / 319.4 MB, free: 9.32 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.001601/0.001601, allocations: 114.6 kB / 381.4 MB, free: 18.31 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.496e-05/1.499e-05, allocations: 0 / 449.1 MB, free: 1.754 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1978/0.1978, allocations: 61.53 MB / 0.4987 GB, free: 4.141 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.02/13.22, allocations: 4.488 GB / 4.987 GB, free: 153.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/13.22, allocations: 88.45 kB / 4.987 GB, free: 153 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.936/18.15, allocations: 1.171 GB / 6.158 GB, free: 13.32 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.325e-06/18.15, allocations: 4 kB / 6.158 GB, free: 13.32 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.000202/18.15, allocations: 55.88 kB / 6.158 GB, free: 13.26 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.01442/18.17, allocations: 3.546 MB / 6.161 GB, free: 9.629 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/18.17, allocations: 12.03 kB / 6.161 GB, free: 9.617 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001696/18.17, allocations: 233.5 kB / 6.162 GB, free: 9.387 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5903/18.76, allocations: 27.61 MB / 6.189 GB, free: 40.41 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001886/18.76, allocations: 150.7 kB / 6.189 GB, free: 40.31 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002857/18.76, allocations: 88.5 kB / 6.189 GB, free: 40.31 MB / 0.573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002932/18.76, allocations: 1.582 MB / 6.19 GB, free: 40.3 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002672/18.76, allocations: 1.51 MB / 6.192 GB, free: 40.11 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/18.76, allocations: 2.375 kB / 6.192 GB, free: 40.11 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001519/18.76, allocations: 10.16 kB / 6.192 GB, free: 40.11 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.142e-05/18.76, allocations: 33.88 kB / 6.192 GB, free: 40.11 MB / 0.573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01077/18.78, allocations: 6.921 MB / 6.199 GB, free: 37.19 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002225/18.78, allocations: 1.024 MB / 6.2 GB, free: 37.16 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000704/18.78, allocations: 485.4 kB / 6.2 GB, free: 37.14 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000504/18.78, allocations: 389.6 kB / 6.2 GB, free: 36.77 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.603e-05/18.78, allocations: 44.75 kB / 6.2 GB, free: 36.73 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001488/18.78, allocations: 165 kB / 6.201 GB, free: 36.71 MB / 0.573 GB Notification: Performance of pre-optimization done (n=95): time 4.769e-06/18.78, allocations: 0.6562 kB / 6.201 GB, free: 36.71 MB / 0.573 GB Notification: Performance of matching and sorting (n=119): time 0.03176/18.81, allocations: 8.225 MB / 6.209 GB, free: 35.46 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/18.81, allocations: 89.64 kB / 6.209 GB, free: 35.36 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/18.81, allocations: 1.106 MB / 6.21 GB, free: 35.21 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0004338/18.82, allocations: 34.23 kB / 6.21 GB, free: 35.18 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006293/18.82, allocations: 0.8264 MB / 6.211 GB, free: 34.89 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004283/18.82, allocations: 409.8 kB / 6.211 GB, free: 34.68 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/18.82, allocations: 3 kB / 6.211 GB, free: 34.68 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001192/18.82, allocations: 371.4 kB / 6.211 GB, free: 34.37 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/18.82, allocations: 0.6385 MB / 6.212 GB, free: 34.37 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/18.82, allocations: 1.095 MB / 6.213 GB, free: 33.86 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002549/18.82, allocations: 1.009 MB / 6.214 GB, free: 33.83 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.023e-05/18.82, allocations: 3.094 kB / 6.214 GB, free: 33.83 MB / 0.573 GB Notification: Performance of matching and sorting (n=193) (initialization): time 0.01148/18.83, allocations: 3.381 MB / 6.217 GB, free: 33.67 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001353/18.83, allocations: 4.887 MB / 6.222 GB, free: 28.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.594e-05/18.83, allocations: 13 kB / 6.222 GB, free: 28.66 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002604/18.84, allocations: 0.6648 MB / 6.223 GB, free: 28.64 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001795/18.84, allocations: 323.7 kB / 6.223 GB, free: 28.64 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01899/18.86, allocations: 8.521 MB / 6.231 GB, free: 24.98 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003112/18.86, allocations: 178.3 kB / 6.232 GB, free: 24.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003497/18.86, allocations: 92.36 kB / 6.232 GB, free: 24.98 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.465e-05/18.86, allocations: 5.188 kB / 6.232 GB, free: 24.98 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01235/18.87, allocations: 3.432 MB / 6.235 GB, free: 24.85 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-05/18.87, allocations: 11.78 kB / 6.235 GB, free: 24.85 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002575/18.88, allocations: 0.6563 MB / 6.236 GB, free: 24.84 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001823/18.88, allocations: 334.5 kB / 6.236 GB, free: 24.84 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/18.89, allocations: 6.54 MB / 6.242 GB, free: 22.17 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/18.89, allocations: 169.7 kB / 6.243 GB, free: 22.17 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006227/18.89, allocations: 86.25 kB / 6.243 GB, free: 22.17 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.001526/18.89, allocations: 414.1 kB / 6.243 GB, free: 22.02 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008961/18.9, allocations: 156.8 kB / 6.243 GB, free: 21.94 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/18.91, allocations: 3.154 MB / 6.246 GB, free: 21.77 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.147e-05/18.91, allocations: 15.17 kB / 6.246 GB, free: 21.77 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.268e-05/18.91, allocations: 3.172 kB / 6.246 GB, free: 21.77 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.728e-05/18.91, allocations: 6.375 kB / 6.246 GB, free: 21.77 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/18.93, allocations: 5.003 MB / 6.251 GB, free: 21.38 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-05/18.93, allocations: 3.719 kB / 6.251 GB, free: 21.38 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/18.93, allocations: 228.8 kB / 6.251 GB, free: 21.38 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002698/18.93, allocations: 0.6329 MB / 6.252 GB, free: 21.36 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003495/18.93, allocations: 41.2 kB / 6.252 GB, free: 21.36 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01028/18.94, allocations: 5.272 MB / 6.257 GB, free: 34.77 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-05/18.94, allocations: 9.688 kB / 6.257 GB, free: 34.77 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01321/18.95, allocations: 3.794 MB / 6.261 GB, free: 34.36 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001975/18.96, allocations: 476.8 kB / 6.261 GB, free: 34.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008461/18.96, allocations: 22.36 kB / 6.261 GB, free: 34.18 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/18.96, allocations: 143.2 kB / 6.262 GB, free: 34.17 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002794/18.96, allocations: 94.84 kB / 6.262 GB, free: 34.17 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001782/18.96, allocations: 77 kB / 6.262 GB, free: 34.17 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.001346/18.96, allocations: 0.834 MB / 6.263 GB, free: 34.06 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.81e-07/18.96, allocations: 0 / 6.263 GB, free: 34.06 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0111/18.97, allocations: 1.922 MB / 6.264 GB, free: 34.06 MB / 0.5886 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.01061/18.98, allocations: 3.438 MB / 6.268 GB, free: 33.57 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.006367/18.99, allocations: 3.761 MB / 6.271 GB, free: 32.59 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.067e-05/18.99, allocations: 4.156 kB / 6.271 GB, free: 32.59 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001733/18.99, allocations: 1.117 MB / 6.273 GB, free: 32.37 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00458/19, allocations: 0.8162 MB / 6.273 GB, free: 32.34 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006021/19, allocations: 3.106 MB / 6.276 GB, free: 31.65 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/19, allocations: 1.508 MB / 6.278 GB, free: 30.92 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.003375/19.01, allocations: 0.6517 MB / 6.278 GB, free: 30.88 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004722/19.01, allocations: 144.9 kB / 6.279 GB, free: 30.88 MB / 0.5886 GB Notification: Performance of SimCode: time 2.454e-06/19.01, allocations: 0 / 6.279 GB, free: 30.88 MB / 0.5886 GB Notification: Performance of Templates: time 0.1014/19.11, allocations: 67.81 MB / 6.345 GB, free: 26.24 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)