Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006386/0.006386, allocations: 103.4 kB / 15.74 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001463/0.001463, allocations: 192.6 kB / 16.68 MB, free: 5.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.372/1.372, allocations: 205.1 MB / 222.5 MB, free: 4.457 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.56/1.56, allocations: 251.7 MB / 0.5094 GB, free: 3.039 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001362/0.001362, allocations: 67.91 kB / 0.7258 GB, free: 8.973 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2187, allocations: 104.7 MB / 0.8281 GB, free: 172 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7404/0.9591, allocations: 275.1 MB / 1.097 GB, free: 9.344 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02498/0.9841, allocations: 17.43 MB / 1.114 GB, free: 7.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/0.9868, allocations: 67.62 kB / 1.114 GB, free: 7.801 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00362/0.9905, allocations: 1.227 MB / 1.115 GB, free: 6.566 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00871/0.9992, allocations: 3.278 MB / 1.118 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006475/1.006, allocations: 2.294 MB / 1.12 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.008754/1.015, allocations: 5.068 MB / 1.125 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003606/1.018, allocations: 1.802 MB / 1.127 GB, free: 10.08 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007124/1.025, allocations: 2.561 MB / 1.13 GB, free: 7.52 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003198/1.029, allocations: 1.579 MB / 1.131 GB, free: 5.953 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006393/1.029, allocations: 196 kB / 1.131 GB, free: 5.762 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006348/1.036, allocations: 3.024 MB / 1.134 GB, free: 2.73 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001167/1.037, allocations: 0.748 MB / 1.135 GB, free: 1.98 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002525/1.039, allocations: 1.132 MB / 1.136 GB, free: 0.8438 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.007246/1.047, allocations: 3.894 MB / 1.14 GB, free: 12.95 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.047, allocations: 3.938 kB / 1.14 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.603e-06/1.047, allocations: 0 / 1.14 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.18e-05/1.047, allocations: 4 kB / 1.14 GB, free: 12.94 MB / 0.8887 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005949/1.053, allocations: 2.435 MB / 1.142 GB, free: 10.43 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/1.053, allocations: 15.97 kB / 1.142 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004746/1.057, allocations: 0.6416 MB / 1.143 GB, free: 9.773 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002795/1.06, allocations: 1.381 MB / 1.144 GB, free: 8.336 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.277e-05/1.06, allocations: 106.6 kB / 1.144 GB, free: 8.23 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002944/1.061, allocations: 139.9 kB / 1.145 GB, free: 8.094 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/1.064, allocations: 1.601 MB / 1.146 GB, free: 6.426 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/1.064, allocations: 7.922 kB / 1.146 GB, free: 6.418 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001639/1.064, allocations: 60 kB / 1.146 GB, free: 6.359 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.663e-05/1.064, allocations: 46.52 kB / 1.146 GB, free: 6.312 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002334/1.066, allocations: 1.278 MB / 1.147 GB, free: 5.027 MB / 0.8887 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.009725/1.076, allocations: 7.222 MB / 1.155 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009955/1.077, allocations: 0.6188 MB / 1.155 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005287/1.078, allocations: 362.3 kB / 1.155 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002052/1.078, allocations: 113.6 kB / 1.156 GB, free: 12.14 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/1.078, allocations: 43.12 kB / 1.156 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000739/1.079, allocations: 99.11 kB / 1.156 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=67): time 5.481e-06/1.079, allocations: 0 / 1.156 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67): time 0.002091/1.081, allocations: 1.005 MB / 1.157 GB, free: 10.98 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/1.081, allocations: 59.97 kB / 1.157 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002162/1.083, allocations: 1.338 MB / 1.158 GB, free: 9.566 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001163/1.083, allocations: 45.7 kB / 1.158 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006337/1.084, allocations: 0.7617 MB / 1.159 GB, free: 8.746 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002761/1.084, allocations: 244.5 kB / 1.159 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003438/1.084, allocations: 202.5 kB / 1.159 GB, free: 8.297 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002779/1.085, allocations: 341.9 kB / 1.16 GB, free: 7.957 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005682/1.085, allocations: 352.7 kB / 1.16 GB, free: 7.609 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008676/1.086, allocations: 0.6395 MB / 1.161 GB, free: 6.844 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001373/1.088, allocations: 0.9583 MB / 1.162 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/1.088, allocations: 0 / 1.162 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001881/1.09, allocations: 1.14 MB / 1.163 GB, free: 4.641 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/1.09, allocations: 8 kB / 1.163 GB, free: 4.633 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/1.09, allocations: 8.844 kB / 1.163 GB, free: 4.625 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.861e-05/1.09, allocations: 12 kB / 1.163 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009557/1.091, allocations: 211.7 kB / 1.163 GB, free: 4.406 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.359e-05/1.091, allocations: 19.92 kB / 1.163 GB, free: 4.387 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0016/1.092, allocations: 43.97 kB / 1.163 GB, free: 4.344 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.572e-05/1.092, allocations: 43.94 kB / 1.163 GB, free: 4.301 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001198/1.094, allocations: 0.6854 MB / 1.164 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008051/1.094, allocations: 0.6445 MB / 1.164 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00129/1.096, allocations: 0.9466 MB / 1.165 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.459e-06/1.096, allocations: 0 / 1.165 GB, free: 1.793 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001881/1.098, allocations: 1.144 MB / 1.166 GB, free: 0.6406 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/1.098, allocations: 8 kB / 1.166 GB, free: 0.6328 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.098, allocations: 8 kB / 1.166 GB, free: 0.625 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/1.098, allocations: 12 kB / 1.166 GB, free: 0.6133 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008626/1.098, allocations: 211.6 kB / 1.167 GB, free: 416 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/1.099, allocations: 12 kB / 1.167 GB, free: 404 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001413/1.1, allocations: 60.17 kB / 1.167 GB, free: 344 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.15e-05/1.1, allocations: 36 kB / 1.167 GB, free: 308 kB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003119/1.1, allocations: 257.5 kB / 1.167 GB, free: 44 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/1.101, allocations: 154.4 kB / 1.167 GB, free: 15.89 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/1.102, allocations: 0.8123 MB / 1.168 GB, free: 15.06 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/1.102, allocations: 8 kB / 1.168 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.102, allocations: 0 / 1.168 GB, free: 15.05 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/1.103, allocations: 0.7746 MB / 1.169 GB, free: 14.23 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00356/1.107, allocations: 2.298 MB / 1.171 GB, free: 11.85 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/1.107, allocations: 0 / 1.171 GB, free: 11.85 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008355/1.108, allocations: 175.8 kB / 1.171 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.031e-05/1.108, allocations: 4 kB / 1.171 GB, free: 11.68 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/1.108, allocations: 20 kB / 1.171 GB, free: 11.66 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/1.108, allocations: 7.938 kB / 1.171 GB, free: 11.65 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.108, allocations: 3.984 kB / 1.171 GB, free: 11.64 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001726/1.109, allocations: 1.292 MB / 1.172 GB, free: 10.32 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005713/1.11, allocations: 343.1 kB / 1.173 GB, free: 9.961 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002333/1.11, allocations: 27.92 kB / 1.173 GB, free: 9.934 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/1.111, allocations: 44.86 kB / 1.173 GB, free: 9.895 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.894e-05/1.111, allocations: 44.44 kB / 1.173 GB, free: 9.848 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.61e-05/1.112, allocations: 35.98 kB / 1.173 GB, free: 9.812 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001299/1.113, allocations: 0.9079 MB / 1.174 GB, free: 8.906 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.113, allocations: 0 / 1.174 GB, free: 8.906 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001975/1.115, allocations: 0.8495 MB / 1.174 GB, free: 8.055 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000573/1.115, allocations: 262 kB / 1.175 GB, free: 7.801 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002124/1.118, allocations: 1.31 MB / 1.176 GB, free: 6.496 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 8.576e-06/1.118, allocations: 5.812 kB / 1.176 GB, free: 6.492 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004942/1.118, allocations: 343 kB / 1.176 GB, free: 6.16 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/1.122, allocations: 0.856 MB / 1.177 GB, free: 5.316 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004802/1.127, allocations: 2.876 MB / 1.18 GB, free: 2.383 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001097/1.128, allocations: 1.348 MB / 1.181 GB, free: 1.008 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00154/1.13, allocations: 416.2 kB / 1.182 GB, free: 0.5977 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000335/1.13, allocations: 111.4 kB / 1.182 GB, free: 500 kB / 0.92 GB Notification: Performance of SimCode: time 1.062e-06/1.13, allocations: 0 / 1.182 GB, free: 500 kB / 0.92 GB Notification: Performance of Templates: time 0.04773/1.178, allocations: 29.78 MB / 1.211 GB, free: 3.137 MB / 0.9512 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)