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.5382/0.5382, allocations: 95.62 MB / 110.6 MB, free: 9.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.001126/0.001127, allocations: 161.9 kB / 134.2 MB, free: 2.156 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.439/1.439, allocations: 170.7 MB / 328.4 MB, free: 12.28 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.001657/0.001657, allocations: 98.03 kB / 390.7 MB, free: 13.96 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003596/0.0003597, allocations: 16 kB / 462.7 MB, free: 35.68 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1202, allocations: 61.53 MB / 0.512 GB, free: 6.082 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.4/10.52, allocations: 4.489 GB / 5.001 GB, free: 94.49 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003755/10.52, allocations: 99.94 kB / 5.001 GB, free: 94.39 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.09/15.61, allocations: 1.185 GB / 6.186 GB, free: 43.85 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.465e-06/15.61, allocations: 0 / 6.186 GB, free: 43.85 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001649/15.61, allocations: 54.69 kB / 6.186 GB, free: 43.85 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.01565/15.63, allocations: 3.821 MB / 6.19 GB, free: 42.12 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.117e-05/15.63, allocations: 10.83 kB / 6.19 GB, free: 42.11 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001448/15.63, allocations: 246.2 kB / 6.19 GB, free: 42 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05672/15.69, allocations: 28.09 MB / 6.217 GB, free: 40.09 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002291/15.69, allocations: 200.5 kB / 6.217 GB, free: 39.99 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003285/15.69, allocations: 142.4 kB / 6.218 GB, free: 39.99 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003625/15.69, allocations: 1.815 MB / 6.219 GB, free: 39.79 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.035e-05/15.69, allocations: 0 / 6.219 GB, free: 39.79 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/15.69, allocations: 64.56 kB / 6.219 GB, free: 39.79 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.741e-05/15.69, allocations: 34.47 kB / 6.219 GB, free: 39.79 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002959/15.7, allocations: 1.727 MB / 6.221 GB, free: 39.78 MB / 0.573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.01079/15.71, allocations: 7.198 MB / 6.228 GB, free: 36.73 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/15.71, allocations: 1.106 MB / 6.229 GB, free: 36.69 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004087/15.71, allocations: 389.2 kB / 6.23 GB, free: 36.32 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.939e-05/15.71, allocations: 52.31 kB / 6.23 GB, free: 36.28 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001267/15.71, allocations: 194 kB / 6.23 GB, free: 36.22 MB / 0.573 GB Notification: Performance of pre-optimization done (n=95): time 3.997e-06/15.71, allocations: 0 / 6.23 GB, free: 36.22 MB / 0.573 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: humBac.vol.dynBal.medium.T 2: humBac.vol.dynBal.medium.p 3: humBac.vol.dynBal.medium.Xi[1] 4: humFor.vol.dynBal.medium.Xi[1] 5: humFor.vol.dynBal.medium.p 6: humFor.vol.dynBal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=95): time 0.01141/15.72, allocations: 3.177 MB / 6.233 GB, free: 35.96 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/15.72, allocations: 92.02 kB / 6.233 GB, free: 35.86 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/15.72, allocations: 1.283 MB / 6.234 GB, free: 35.7 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0002498/15.72, allocations: 49.64 kB / 6.234 GB, free: 35.67 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006364/15.73, allocations: 0.8366 MB / 6.235 GB, free: 35.32 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003078/15.73, allocations: 335.7 kB / 6.236 GB, free: 35.11 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.165e-05/15.73, allocations: 28.91 kB / 6.236 GB, free: 35.11 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001196/15.73, allocations: 361.3 kB / 6.236 GB, free: 34.8 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007788/15.73, allocations: 477.4 kB / 6.236 GB, free: 34.8 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/15.73, allocations: 0.9158 MB / 6.237 GB, free: 34.27 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/15.73, allocations: 0.7267 MB / 6.238 GB, free: 34.12 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.817e-06/15.73, allocations: 3.406 kB / 6.238 GB, free: 34.12 MB / 0.573 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003159/15.73, allocations: 1.875 MB / 6.24 GB, free: 33.81 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001087/15.73, allocations: 4.917 MB / 6.245 GB, free: 28.78 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/15.73, allocations: 14.53 kB / 6.245 GB, free: 28.78 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004779/15.74, allocations: 0.8441 MB / 6.245 GB, free: 28.77 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/15.74, allocations: 287.8 kB / 6.246 GB, free: 28.75 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/15.74, allocations: 1.405 MB / 6.247 GB, free: 27.7 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002063/15.74, allocations: 124.6 kB / 6.247 GB, free: 27.69 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001563/15.74, allocations: 75.3 kB / 6.247 GB, free: 27.69 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/15.74, allocations: 3.5 kB / 6.247 GB, free: 27.69 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003205/15.75, allocations: 1.73 MB / 6.249 GB, free: 27.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.59e-05/15.75, allocations: 13.56 kB / 6.249 GB, free: 27.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005561/15.75, allocations: 0.8391 MB / 6.25 GB, free: 27.43 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/15.75, allocations: 288.4 kB / 6.25 GB, free: 27.41 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009636/15.75, allocations: 1.396 MB / 6.251 GB, free: 26.36 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002013/15.76, allocations: 118.5 kB / 6.252 GB, free: 26.36 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/15.76, allocations: 81.16 kB / 6.252 GB, free: 26.36 MB / 0.573 GB Warning: Assuming fixed start value for the following 6 variables: humFor.vol.dynBal.mXi[1]:VARIABLE(min = 0.0 unit = "kg" fixed = true protected = true final = true ) "Masses of independent components in the fluid" type: Real [1] humFor.vol.dynBal.m:VARIABLE(min = 0.0 start = humFor.vol.V * humFor.vol.rho_start unit = "kg" fixed = true protected = true final = true ) "Mass of fluid" type: Real humBac.vol.dynBal.U:VARIABLE(start = humBac.vol.V * humBac.vol.rho_start * Buildings.Fluid.MixingVolumes.MixingVolumeMoistAir$humBac$vol.Medium.specificInternalEnergy(Buildings.Fluid.MixingVolumes.MixingVolumeMoistAir$humBac$vol.Medium.ThermodynamicState(101325.0, 293.15, {0.01, 0.99})) unit = "J" fixed = true protected = true final = true ) "Internal energy of fluid" type: Real humBac.vol.dynBal.m:VARIABLE(min = 0.0 start = humBac.vol.V * humBac.vol.rho_start unit = "kg" fixed = true protected = true final = true ) "Mass of fluid" type: Real humBac.vol.dynBal.mXi[1]:VARIABLE(min = 0.0 unit = "kg" fixed = true protected = true final = true ) "Masses of independent components in the fluid" type: Real [1] humFor.vol.dynBal.U:VARIABLE(start = humFor.vol.V * humFor.vol.rho_start * Buildings.Fluid.MixingVolumes.MixingVolumeMoistAir$humFor$vol.Medium.specificInternalEnergy(Buildings.Fluid.MixingVolumes.MixingVolumeMoistAir$humFor$vol.Medium.ThermodynamicState(101325.0, 293.15, {0.01, 0.99})) unit = "J" fixed = true protected = true final = true ) "Internal energy of fluid" 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (155): * Single equations (assignments): 149 * 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: 0 * Non-linear torn systems: 2 {2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.001624/15.76, allocations: 0.5868 MB / 6.252 GB, free: 26.12 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004212/15.76, allocations: 159.2 kB / 6.252 GB, free: 26.04 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004309/15.76, allocations: 1.824 MB / 6.254 GB, free: 25.91 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/15.76, allocations: 18 kB / 6.254 GB, free: 25.91 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.036e-05/15.76, allocations: 3.656 kB / 6.254 GB, free: 25.91 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/15.76, allocations: 5.266 kB / 6.254 GB, free: 25.91 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005444/15.77, allocations: 3.021 MB / 6.257 GB, free: 25.5 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.802e-06/15.77, allocations: 0 / 6.257 GB, free: 25.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008131/15.77, allocations: 165.3 kB / 6.257 GB, free: 25.5 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003416/15.77, allocations: 0.7717 MB / 6.258 GB, free: 25.48 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001513/15.77, allocations: 30.95 kB / 6.258 GB, free: 25.48 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/15.77, allocations: 1.417 MB / 6.259 GB, free: 24.43 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/15.77, allocations: 0 / 6.259 GB, free: 24.43 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003681/15.78, allocations: 2.111 MB / 6.261 GB, free: 24.04 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001392/15.78, allocations: 401.8 kB / 6.262 GB, free: 23.86 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002195/15.78, allocations: 24.78 kB / 6.262 GB, free: 23.86 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001233/15.78, allocations: 114 kB / 6.262 GB, free: 23.85 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/15.78, allocations: 64.41 kB / 6.262 GB, free: 23.84 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/15.78, allocations: 64.8 kB / 6.262 GB, free: 23.84 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.001404/15.78, allocations: 0.9844 MB / 6.263 GB, free: 23.73 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.81e-07/15.78, allocations: 0 / 6.263 GB, free: 23.73 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.007223/15.79, allocations: 1.886 MB / 6.265 GB, free: 23.4 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.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 87 * 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: 0 * Non-linear torn systems: 2 {2 8,2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.007651/15.8, allocations: 2.955 MB / 6.268 GB, free: 22.66 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.004537/15.8, allocations: 2.488 MB / 6.27 GB, free: 22.05 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 9.749e-06/15.8, allocations: 3.938 kB / 6.27 GB, free: 22.05 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001097/15.8, allocations: 0.5936 MB / 6.271 GB, free: 22.03 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004326/15.81, allocations: 0.8908 MB / 6.272 GB, free: 22 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/15.81, allocations: 4.033 MB / 6.276 GB, free: 20.27 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008912/15.81, allocations: 1.441 MB / 6.277 GB, free: 19.53 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.002459/15.82, allocations: 488 kB / 6.278 GB, free: 19.45 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003549/15.82, allocations: 135.4 kB / 6.278 GB, free: 19.44 MB / 0.573 GB Notification: Performance of SimCode: time 1.242e-06/15.82, allocations: 0 / 6.278 GB, free: 19.44 MB / 0.573 GB Notification: Performance of Templates: time 0.1131/15.93, allocations: 71.29 MB / 6.347 GB, free: 288 kB / 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)