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.005847/0.005847, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001173/0.001173, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.401/1.401, allocations: 205.1 MB / 222.6 MB, free: 4.508 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.497/1.497, allocations: 251.7 MB / 0.5094 GB, free: 3.059 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.00147/0.00147, allocations: 71.89 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2269, allocations: 104.7 MB / 0.8281 GB, free: 188 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8281/1.055, allocations: 275.1 MB / 1.097 GB, free: 9.348 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0228/1.078, allocations: 17.41 MB / 1.114 GB, free: 7.887 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002263/1.08, allocations: 71.56 kB / 1.114 GB, free: 7.816 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003102/1.083, allocations: 1.181 MB / 1.115 GB, free: 6.629 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.007344/1.091, allocations: 3.154 MB / 1.118 GB, free: 3.461 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005279/1.096, allocations: 2.275 MB / 1.12 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.006512/1.103, allocations: 5.061 MB / 1.125 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002903/1.105, allocations: 1.798 MB / 1.127 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006989/1.112, allocations: 2.463 MB / 1.129 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003339/1.116, allocations: 1.579 MB / 1.131 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004287/1.116, allocations: 196 kB / 1.131 GB, free: 6.078 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006373/1.123, allocations: 3.016 MB / 1.134 GB, free: 3.055 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0008333/1.124, allocations: 0.7479 MB / 1.135 GB, free: 2.305 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/1.125, allocations: 1.136 MB / 1.136 GB, free: 1.164 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006195/1.131, allocations: 3.894 MB / 1.14 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/1.131, allocations: 3.938 kB / 1.14 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.833e-06/1.131, allocations: 4 kB / 1.14 GB, free: 13.26 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.547e-05/1.131, allocations: 0 / 1.14 GB, free: 13.26 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.004242/1.136, allocations: 2.431 MB / 1.142 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/1.136, allocations: 12.03 kB / 1.142 GB, free: 10.75 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004438/1.14, allocations: 0.6416 MB / 1.143 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002709/1.143, allocations: 1.381 MB / 1.144 GB, free: 8.664 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.811e-05/1.143, allocations: 106.6 kB / 1.144 GB, free: 8.559 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002437/1.143, allocations: 147.8 kB / 1.144 GB, free: 8.414 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002516/1.146, allocations: 1.594 MB / 1.146 GB, free: 6.754 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/1.146, allocations: 3.938 kB / 1.146 GB, free: 6.75 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001437/1.146, allocations: 60 kB / 1.146 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.651e-05/1.146, allocations: 46.52 kB / 1.146 GB, free: 6.645 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/1.148, allocations: 1.271 MB / 1.147 GB, free: 5.367 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.008214/1.156, allocations: 7.229 MB / 1.154 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009065/1.157, allocations: 0.6242 MB / 1.155 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004931/1.158, allocations: 366.3 kB / 1.155 GB, free: 12.59 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001868/1.158, allocations: 113.6 kB / 1.155 GB, free: 12.46 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/1.158, allocations: 43.12 kB / 1.155 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005211/1.158, allocations: 99.11 kB / 1.155 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=67): time 2.485e-06/1.158, allocations: 0 / 1.155 GB, free: 12.31 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67): time 0.001818/1.16, allocations: 1.001 MB / 1.156 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/1.16, allocations: 59.97 kB / 1.156 GB, free: 11.24 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/1.162, allocations: 1.338 MB / 1.158 GB, free: 9.891 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.669e-05/1.162, allocations: 45.7 kB / 1.158 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005575/1.163, allocations: 0.7656 MB / 1.159 GB, free: 9.066 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002026/1.163, allocations: 240.5 kB / 1.159 GB, free: 8.828 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002999/1.163, allocations: 202.4 kB / 1.159 GB, free: 8.621 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001315/1.163, allocations: 349.9 kB / 1.159 GB, free: 8.273 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005282/1.164, allocations: 344.7 kB / 1.16 GB, free: 7.934 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007649/1.165, allocations: 0.6434 MB / 1.16 GB, free: 7.164 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001229/1.166, allocations: 0.9505 MB / 1.161 GB, free: 6.121 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/1.166, allocations: 4 kB / 1.161 GB, free: 6.117 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001658/1.167, allocations: 1.143 MB / 1.162 GB, free: 4.961 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/1.168, allocations: 8.938 kB / 1.162 GB, free: 4.953 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/1.168, allocations: 8 kB / 1.162 GB, free: 4.945 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/1.168, allocations: 12 kB / 1.162 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000886/1.168, allocations: 215.6 kB / 1.163 GB, free: 4.723 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/1.168, allocations: 17.55 kB / 1.163 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/1.17, allocations: 47.97 kB / 1.163 GB, free: 4.66 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.198e-05/1.17, allocations: 40 kB / 1.163 GB, free: 4.621 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009889/1.171, allocations: 0.6815 MB / 1.163 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007165/1.171, allocations: 0.647 MB / 1.164 GB, free: 3.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001186/1.173, allocations: 0.9427 MB / 1.165 GB, free: 2.117 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.63e-06/1.173, allocations: 3.938 kB / 1.165 GB, free: 2.113 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001688/1.174, allocations: 1.14 MB / 1.166 GB, free: 0.9648 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/1.174, allocations: 8 kB / 1.166 GB, free: 0.957 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/1.174, allocations: 8 kB / 1.166 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/1.174, allocations: 15.98 kB / 1.166 GB, free: 0.9336 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008349/1.175, allocations: 211.7 kB / 1.166 GB, free: 0.7188 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/1.175, allocations: 15.94 kB / 1.166 GB, free: 0.7031 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/1.177, allocations: 59.58 kB / 1.166 GB, free: 0.6484 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.134e-05/1.177, allocations: 40 kB / 1.166 GB, free: 0.6094 MB / 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.0002596/1.177, allocations: 249.6 kB / 1.167 GB, free: 368 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/1.177, allocations: 150.2 kB / 1.167 GB, free: 216 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/1.179, allocations: 0.8123 MB / 1.168 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.106e-06/1.179, allocations: 8 kB / 1.168 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.809e-06/1.179, allocations: 0 / 1.168 GB, free: 15.38 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009519/1.18, allocations: 0.7746 MB / 1.168 GB, free: 14.55 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003374/1.183, allocations: 2.306 MB / 1.171 GB, free: 12.17 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/1.183, allocations: 0 / 1.171 GB, free: 12.17 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008327/1.184, allocations: 171.8 kB / 1.171 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/1.184, allocations: 4 kB / 1.171 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.83e-05/1.184, allocations: 20 kB / 1.171 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/1.184, allocations: 7.938 kB / 1.171 GB, free: 11.97 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.02e-06/1.184, allocations: 8.109 kB / 1.171 GB, free: 11.96 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/1.186, allocations: 1.288 MB / 1.172 GB, free: 10.64 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005717/1.186, allocations: 343.1 kB / 1.172 GB, free: 10.28 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/1.186, allocations: 27.92 kB / 1.172 GB, free: 10.25 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009753/1.187, allocations: 48.66 kB / 1.172 GB, free: 10.21 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.484e-05/1.187, allocations: 40.5 kB / 1.172 GB, free: 10.17 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.677e-05/1.187, allocations: 35.98 kB / 1.172 GB, free: 10.13 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001132/1.189, allocations: 0.904 MB / 1.173 GB, free: 9.23 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.5e-07/1.189, allocations: 8 kB / 1.173 GB, free: 9.223 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001822/1.19, allocations: 0.8417 MB / 1.174 GB, free: 8.379 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.0005054/1.191, allocations: 264.3 kB / 1.174 GB, free: 8.121 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.00203/1.193, allocations: 1.312 MB / 1.176 GB, free: 6.816 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 5.411e-06/1.193, allocations: 4 kB / 1.176 GB, free: 6.812 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004582/1.193, allocations: 339 kB / 1.176 GB, free: 6.484 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/1.197, allocations: 0.8583 MB / 1.177 GB, free: 5.637 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/1.201, allocations: 2.88 MB / 1.18 GB, free: 2.699 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008693/1.202, allocations: 1.348 MB / 1.181 GB, free: 1.324 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001435/1.204, allocations: 416.2 kB / 1.181 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/1.204, allocations: 111.4 kB / 1.181 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of SimCode: time 6.01e-07/1.204, allocations: 0 / 1.181 GB, free: 0.8047 MB / 0.92 GB Notification: Performance of Templates: time 0.04594/1.25, allocations: 29.77 MB / 1.211 GB, free: 3.461 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)