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.6106/0.6106, allocations: 94.69 MB / 107.2 MB, free: 5.176 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.001094/0.001094, allocations: 176.4 kB / 130.7 MB, free: 7.531 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.667/1.667, allocations: 170.5 MB / 324.5 MB, free: 4.039 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.001705/0.001706, allocations: 113.9 kB / 386.6 MB, free: 16.18 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.675e-05/5.677e-05, allocations: 4 kB / 456 MB, free: 11.75 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5462/0.5463, allocations: 61.51 MB / 0.5054 GB, free: 49.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 12.95/13.5, allocations: 4.489 GB / 4.994 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003246/13.5, allocations: 91.5 kB / 4.994 GB, free: 134.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.962/18.46, allocations: 1.183 GB / 6.177 GB, free: 40.81 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.325e-06/18.46, allocations: 0 / 6.177 GB, free: 40.81 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001711/18.46, allocations: 53.48 kB / 6.178 GB, free: 40.8 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.01355/18.47, allocations: 3.546 MB / 6.181 GB, free: 38.54 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 5.514e-05/18.47, allocations: 11.22 kB / 6.181 GB, free: 38.54 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001377/18.47, allocations: 239.9 kB / 6.181 GB, free: 38.43 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05533/18.53, allocations: 28.01 MB / 6.209 GB, free: 14.95 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/18.53, allocations: 203.8 kB / 6.209 GB, free: 14.73 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002917/18.53, allocations: 151.9 kB / 6.209 GB, free: 14.58 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003172/18.53, allocations: 1.758 MB / 6.211 GB, free: 12.76 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/18.53, allocations: 7.938 kB / 6.211 GB, free: 12.75 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001714/18.53, allocations: 60 kB / 6.211 GB, free: 12.69 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.798e-05/18.53, allocations: 36 kB / 6.211 GB, free: 12.66 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002478/18.54, allocations: 1.678 MB / 6.212 GB, free: 10.97 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.009319/18.54, allocations: 7.201 MB / 6.219 GB, free: 3.391 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002001/18.55, allocations: 1.069 MB / 6.22 GB, free: 2.324 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006226/18.55, allocations: 0.5042 MB / 6.221 GB, free: 1.82 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003554/18.55, allocations: 389.1 kB / 6.221 GB, free: 1.363 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/18.55, allocations: 43.34 kB / 6.221 GB, free: 1.312 MB / 0.573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001233/18.55, allocations: 198.9 kB / 6.222 GB, free: 1.117 MB / 0.573 GB Notification: Performance of pre-optimization done (n=95): time 5.19e-06/18.55, allocations: 0 / 6.222 GB, free: 1.117 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.01022/18.56, allocations: 2.66 MB / 6.224 GB, free: 14.44 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.895e-05/18.56, allocations: 89.89 kB / 6.224 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/18.56, allocations: 1.269 MB / 6.225 GB, free: 13.06 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0002126/18.56, allocations: 53.7 kB / 6.226 GB, free: 13 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006532/18.56, allocations: 0.8237 MB / 6.226 GB, free: 12.17 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003129/18.56, allocations: 343.1 kB / 6.227 GB, free: 11.83 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/18.56, allocations: 28 kB / 6.227 GB, free: 11.8 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001625/18.56, allocations: 365.9 kB / 6.227 GB, free: 11.44 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008121/18.56, allocations: 455.2 kB / 6.227 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001119/18.56, allocations: 0.9024 MB / 6.228 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/18.57, allocations: 0.7151 MB / 6.229 GB, free: 9.156 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/18.57, allocations: 8 kB / 6.229 GB, free: 9.148 MB / 0.5886 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.003401/18.57, allocations: 1.84 MB / 6.231 GB, free: 7.273 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.00206/18.57, allocations: 4.918 MB / 6.236 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.856e-05/18.57, allocations: 12 kB / 6.236 GB, free: 2.035 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004778/18.58, allocations: 0.8367 MB / 6.236 GB, free: 1.191 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00142/18.58, allocations: 287.5 kB / 6.237 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.5171/19.09, allocations: 1.393 MB / 6.238 GB, free: 49.31 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002757/19.1, allocations: 125.7 kB / 6.238 GB, free: 49.31 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005514/19.1, allocations: 73.86 kB / 6.238 GB, free: 49.31 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/19.1, allocations: 5.094 kB / 6.238 GB, free: 49.31 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004311/19.1, allocations: 1.692 MB / 6.24 GB, free: 49.16 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.043e-05/19.1, allocations: 12.31 kB / 6.24 GB, free: 49.16 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004611/19.11, allocations: 0.8517 MB / 6.241 GB, free: 49.15 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001379/19.11, allocations: 289.5 kB / 6.241 GB, free: 49.15 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001127/19.11, allocations: 1.394 MB / 6.242 GB, free: 48.12 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/19.11, allocations: 121.9 kB / 6.243 GB, free: 48.12 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003142/19.11, allocations: 72.95 kB / 6.243 GB, free: 48.12 MB / 0.5886 GB Warning: Assuming fixed start value for the following 6 variables: humFor.vol.dynBal.mXi[1]:VARIABLE(min = 0.0 unit = "kg" 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" 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" 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" protected = true final = true ) "Mass of fluid" type: Real humBac.vol.dynBal.mXi[1]:VARIABLE(min = 0.0 unit = "kg" 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" 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 () * 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.0007969/19.11, allocations: 246.2 kB / 6.243 GB, free: 48 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005933/19.11, allocations: 159.9 kB / 6.243 GB, free: 48 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004791/19.12, allocations: 1.81 MB / 6.245 GB, free: 47.9 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/19.12, allocations: 15.28 kB / 6.245 GB, free: 47.9 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.042e-05/19.12, allocations: 0 / 6.245 GB, free: 47.9 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.588e-05/19.12, allocations: 5.953 kB / 6.245 GB, free: 47.9 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00608/19.12, allocations: 2.99 MB / 6.248 GB, free: 47.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/19.12, allocations: 4.281 kB / 6.248 GB, free: 47.52 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008002/19.13, allocations: 164.3 kB / 6.248 GB, free: 47.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003696/19.13, allocations: 0.7729 MB / 6.249 GB, free: 47.5 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000127/19.13, allocations: 29.14 kB / 6.249 GB, free: 47.5 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/19.13, allocations: 1.407 MB / 6.25 GB, free: 46.47 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/19.13, allocations: 3.656 kB / 6.25 GB, free: 46.47 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00374/19.13, allocations: 2.079 MB / 6.252 GB, free: 46.12 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/19.14, allocations: 408.8 kB / 6.252 GB, free: 45.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005664/19.14, allocations: 22.03 kB / 6.252 GB, free: 45.95 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001686/19.14, allocations: 105.8 kB / 6.253 GB, free: 45.95 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001339/19.14, allocations: 65.53 kB / 6.253 GB, free: 45.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/19.14, allocations: 58.19 kB / 6.253 GB, free: 45.95 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002011/19.14, allocations: 0.9703 MB / 6.254 GB, free: 45.83 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.6e-07/19.14, allocations: 0.8438 kB / 6.254 GB, free: 45.83 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.008557/19.15, allocations: 1.89 MB / 6.255 GB, free: 45.78 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.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 () * 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.009522/19.16, allocations: 2.956 MB / 6.258 GB, free: 45.34 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.005686/19.16, allocations: 2.499 MB / 6.261 GB, free: 44.8 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 9.868e-06/19.16, allocations: 0.5625 kB / 6.261 GB, free: 44.8 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.001287/19.17, allocations: 0.579 MB / 6.261 GB, free: 44.79 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005683/19.17, allocations: 0.8921 MB / 6.262 GB, free: 44.78 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007131/19.18, allocations: 2.712 MB / 6.265 GB, free: 44.16 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/19.18, allocations: 1.445 MB / 6.266 GB, free: 43.45 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.00352/19.18, allocations: 0.6073 MB / 6.267 GB, free: 43.43 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003724/19.18, allocations: 120.1 kB / 6.267 GB, free: 43.42 MB / 0.5886 GB Notification: Performance of SimCode: time 1.473e-06/19.18, allocations: 0 / 6.267 GB, free: 43.42 MB / 0.5886 GB Notification: Performance of Templates: time 0.1279/19.31, allocations: 79.9 MB / 6.345 GB, free: 39.79 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)