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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.343/1.343, allocations: 252 MB / 268 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00103/0.00103, allocations: 174.2 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.4 MB / 0.5786 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007613/0.0007613, allocations: 88.12 kB / 0.6832 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003417/0.000342, allocations: 14.44 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.214, allocations: 106.3 MB / 0.9014 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7632/0.9772, allocations: 269.3 MB / 1.164 GB, free: 128 kB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02073/0.9979, allocations: 17.33 MB / 1.181 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003211/1.001, allocations: 54.09 kB / 1.181 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.003351/1.005, allocations: 1.025 MB / 1.182 GB, free: 10.83 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.009006/1.014, allocations: 2.975 MB / 1.185 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.00626/1.02, allocations: 2.075 MB / 1.187 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008886/1.029, allocations: 6.988 MB / 1.194 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002821/1.032, allocations: 1.461 MB / 1.196 GB, free: 3.258 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006443/1.038, allocations: 2.138 MB / 1.198 GB, free: 2.078 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003773/1.042, allocations: 1.565 MB / 1.199 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0004231/1.042, allocations: 74.34 kB / 1.199 GB, free: 1.211 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006756/1.049, allocations: 3.395 MB / 1.203 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.000968/1.05, allocations: 0.623 MB / 1.203 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001806/1.052, allocations: 1.016 MB / 1.204 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.004263/1.056, allocations: 2.869 MB / 1.207 GB, free: 9.527 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/1.056, allocations: 3.938 kB / 1.207 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.132e-06/1.056, allocations: 0 / 1.207 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.635e-05/1.056, allocations: 4 kB / 1.207 GB, free: 9.52 MB / 0.7292 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.003904/1.06, allocations: 2.026 MB / 1.209 GB, free: 7.426 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/1.06, allocations: 8.031 kB / 1.209 GB, free: 7.418 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004741/1.065, allocations: 0.6572 MB / 1.21 GB, free: 6.758 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002287/1.067, allocations: 1.322 MB / 1.211 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.927e-05/1.067, allocations: 102.6 kB / 1.211 GB, free: 5.277 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001998/1.068, allocations: 140 kB / 1.211 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002606/1.07, allocations: 1.605 MB / 1.213 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.99e-05/1.07, allocations: 3.938 kB / 1.213 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/1.07, allocations: 60 kB / 1.213 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.873e-05/1.07, allocations: 46.52 kB / 1.213 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002087/1.073, allocations: 1.271 MB / 1.214 GB, free: 2.082 MB / 0.7292 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.009565/1.082, allocations: 7.237 MB / 1.221 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/1.083, allocations: 0.6262 MB / 1.222 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000538/1.084, allocations: 368.5 kB / 1.222 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002244/1.084, allocations: 109.8 kB / 1.222 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/1.084, allocations: 51.06 kB / 1.222 GB, free: 9.109 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009133/1.085, allocations: 139.1 kB / 1.222 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=67): time 3.427e-06/1.085, allocations: 4 kB / 1.222 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=67): time 0.001853/1.087, allocations: 0.9971 MB / 1.223 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.525e-05/1.087, allocations: 59.97 kB / 1.223 GB, free: 7.895 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/1.089, allocations: 1.338 MB / 1.225 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.552e-05/1.089, allocations: 45.7 kB / 1.225 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006044/1.089, allocations: 0.7617 MB / 1.226 GB, free: 5.727 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002232/1.089, allocations: 248.5 kB / 1.226 GB, free: 5.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.115e-05/1.09, allocations: 23.98 kB / 1.226 GB, free: 5.457 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001434/1.09, allocations: 341.9 kB / 1.226 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005318/1.09, allocations: 341.8 kB / 1.226 GB, free: 4.785 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000753/1.091, allocations: 0.6434 MB / 1.227 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/1.092, allocations: 0.9582 MB / 1.228 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.092, allocations: 0 / 1.228 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.00166/1.094, allocations: 1.14 MB / 1.229 GB, free: 1.809 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002108/1.094, allocations: 305.2 kB / 1.229 GB, free: 1.406 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.579e-05/1.094, allocations: 11.94 kB / 1.229 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.574e-05/1.094, allocations: 12 kB / 1.229 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008954/1.095, allocations: 211.7 kB / 1.23 GB, free: 1.176 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.311e-05/1.095, allocations: 19.92 kB / 1.23 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001456/1.097, allocations: 129.2 kB / 1.23 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.589e-05/1.097, allocations: 40 kB / 1.23 GB, free: 0.9922 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 8.075e-06/1.097, allocations: 4 kB / 1.23 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001425/1.098, allocations: 0.9724 MB / 1.231 GB, free: 20 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.197e-05/1.098, allocations: 8 kB / 1.231 GB, free: 12 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.894e-05/1.098, allocations: 20.11 kB / 1.231 GB, free: 15.99 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008083/1.099, allocations: 211.7 kB / 1.231 GB, free: 15.79 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/1.099, allocations: 15.94 kB / 1.231 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/1.1, allocations: 130.4 kB / 1.231 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.132e-05/1.1, allocations: 43.98 kB / 1.231 GB, free: 15.6 MB / 0.7605 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.0007238/1.101, allocations: 0.489 MB / 1.232 GB, free: 15.1 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001954/1.101, allocations: 162.2 kB / 1.232 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/1.103, allocations: 0.8083 MB / 1.233 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.147e-05/1.103, allocations: 4 kB / 1.233 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/1.103, allocations: 4 kB / 1.233 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009109/1.104, allocations: 0.7746 MB / 1.233 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003163/1.107, allocations: 2.298 MB / 1.236 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/1.107, allocations: 0 / 1.236 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008171/1.108, allocations: 184 kB / 1.236 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.632e-06/1.108, allocations: 4 kB / 1.236 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.017e-05/1.108, allocations: 16 kB / 1.236 GB, free: 10.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.049e-06/1.108, allocations: 7.938 kB / 1.236 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.108, allocations: 3.938 kB / 1.236 GB, free: 10.7 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/1.109, allocations: 1.296 MB / 1.237 GB, free: 9.367 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005043/1.11, allocations: 343.1 kB / 1.237 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/1.11, allocations: 16 kB / 1.237 GB, free: 8.996 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.111, allocations: 112.8 kB / 1.238 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.493e-05/1.111, allocations: 48.44 kB / 1.238 GB, free: 8.844 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.829e-05/1.111, allocations: 35.97 kB / 1.238 GB, free: 8.809 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001169/1.113, allocations: 0.9079 MB / 1.238 GB, free: 7.902 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.8e-07/1.113, allocations: 0 / 1.238 GB, free: 7.902 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.001943/1.114, allocations: 0.8612 MB / 1.239 GB, free: 7.039 MB / 0.7605 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.0005325/1.115, allocations: 265.7 kB / 1.24 GB, free: 6.781 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001987/1.117, allocations: 1.307 MB / 1.241 GB, free: 5.477 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.117, allocations: 0.875 kB / 1.241 GB, free: 5.477 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0004557/1.117, allocations: 347.2 kB / 1.241 GB, free: 5.137 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004049/1.122, allocations: 0.8476 MB / 1.242 GB, free: 4.297 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004744/1.126, allocations: 3.715 MB / 1.246 GB, free: 0.5273 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008925/1.127, allocations: 1.352 MB / 1.247 GB, free: 15.14 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/1.128, allocations: 119.3 kB / 1.247 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of SimCode: time 4.61e-07/1.128, allocations: 4 kB / 1.247 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of Templates: time 0.03302/1.161, allocations: 24.96 MB / 1.271 GB, free: 6.191 MB / 0.7917 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)