Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001296/0.001296, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001216/0.001217, allocations: 184 kB / 17.22 MB, free: 5.934 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.399/1.399, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.809/1.809, allocations: 292.3 MB / 0.5495 GB, free: 17.46 MB / 462.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.001407/0.001407, allocations: 71.91 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2288, allocations: 114.5 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6723/0.9011, allocations: 274.6 MB / 1.052 GB, free: 7.699 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02354/0.9247, allocations: 17.26 MB / 1.069 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002514/0.9272, allocations: 63.62 kB / 1.069 GB, free: 6.332 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004127/0.9314, allocations: 1.161 MB / 1.07 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009498/0.941, allocations: 3.084 MB / 1.073 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005792/0.9468, allocations: 2.226 MB / 1.075 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006795/0.9536, allocations: 4.82 MB / 1.08 GB, free: 11.02 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002963/0.9566, allocations: 1.757 MB / 1.082 GB, free: 9.242 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006197/0.9628, allocations: 2.399 MB / 1.084 GB, free: 6.852 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002933/0.9657, allocations: 1.534 MB / 1.086 GB, free: 5.328 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0004177/0.9662, allocations: 195.9 kB / 1.086 GB, free: 5.137 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005958/0.9721, allocations: 3.016 MB / 1.089 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009776/0.9731, allocations: 0.7207 MB / 1.09 GB, free: 1.391 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001778/0.9749, allocations: 1.112 MB / 1.091 GB, free: 280 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.009336/0.9843, allocations: 3.837 MB / 1.094 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 1.035e-05/0.9843, allocations: 4 kB / 1.094 GB, free: 12.43 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9843, allocations: 3.938 kB / 1.094 GB, free: 12.42 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.128e-05/0.9844, allocations: 0 / 1.094 GB, free: 12.42 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004323/0.9887, allocations: 2.434 MB / 1.097 GB, free: 9.922 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.9888, allocations: 8.031 kB / 1.097 GB, free: 9.914 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005056/0.9938, allocations: 0.6376 MB / 1.097 GB, free: 9.273 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/0.9967, allocations: 1.315 MB / 1.099 GB, free: 7.902 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001254/0.9968, allocations: 110.5 kB / 1.099 GB, free: 7.793 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.997, allocations: 136 kB / 1.099 GB, free: 7.66 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002862/0.9999, allocations: 1.573 MB / 1.1 GB, free: 6.02 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.63e-05/1, allocations: 4 kB / 1.1 GB, free: 6.016 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/1, allocations: 52 kB / 1.101 GB, free: 5.965 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.431e-05/1, allocations: 58.38 kB / 1.101 GB, free: 5.906 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/1.003, allocations: 1.263 MB / 1.102 GB, free: 4.637 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.00962/1.012, allocations: 7.196 MB / 1.109 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/1.013, allocations: 0.6493 MB / 1.109 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/1.014, allocations: 370.3 kB / 1.11 GB, free: 11.86 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/1.014, allocations: 109.6 kB / 1.11 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.045e-05/1.014, allocations: 43.06 kB / 1.11 GB, free: 11.68 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006131/1.015, allocations: 107 kB / 1.11 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=67): time 2.845e-06/1.015, allocations: 4 kB / 1.11 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67): time 0.001879/1.017, allocations: 1.009 MB / 1.111 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/1.017, allocations: 59.97 kB / 1.111 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001693/1.018, allocations: 1.338 MB / 1.112 GB, free: 9.133 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 8.569e-05/1.019, allocations: 45.7 kB / 1.112 GB, free: 9.082 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005562/1.019, allocations: 0.7659 MB / 1.113 GB, free: 8.309 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002138/1.019, allocations: 256.4 kB / 1.113 GB, free: 8.055 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003025/1.02, allocations: 198.5 kB / 1.114 GB, free: 7.855 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001323/1.02, allocations: 349.9 kB / 1.114 GB, free: 7.508 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000535/1.02, allocations: 352.6 kB / 1.114 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008693/1.021, allocations: 0.679 MB / 1.115 GB, free: 6.344 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001304/1.023, allocations: 0.9489 MB / 1.116 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/1.023, allocations: 0 / 1.116 GB, free: 5.301 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001766/1.024, allocations: 1.146 MB / 1.117 GB, free: 4.148 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/1.024, allocations: 13.91 kB / 1.117 GB, free: 4.137 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.024, allocations: 8 kB / 1.117 GB, free: 4.129 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/1.024, allocations: 15.94 kB / 1.117 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008975/1.025, allocations: 211.7 kB / 1.117 GB, free: 3.906 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.825e-05/1.025, allocations: 15.92 kB / 1.117 GB, free: 3.891 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001212/1.027, allocations: 47.97 kB / 1.117 GB, free: 3.844 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.06e-05/1.027, allocations: 40 kB / 1.117 GB, free: 3.805 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001044/1.028, allocations: 0.6893 MB / 1.118 GB, free: 3.109 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000851/1.029, allocations: 0.6749 MB / 1.119 GB, free: 2.297 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001236/1.03, allocations: 0.9487 MB / 1.12 GB, free: 1.258 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.222e-06/1.03, allocations: 7.938 kB / 1.12 GB, free: 1.25 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.00173/1.032, allocations: 1.14 MB / 1.121 GB, free: 104 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.268e-05/1.032, allocations: 8 kB / 1.121 GB, free: 96 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.032, allocations: 9.562 kB / 1.121 GB, free: 88 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/1.032, allocations: 12 kB / 1.121 GB, free: 76 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008569/1.032, allocations: 207.7 kB / 1.121 GB, free: 15.87 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.938e-05/1.032, allocations: 24.36 kB / 1.121 GB, free: 15.85 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001204/1.034, allocations: 69.89 kB / 1.121 GB, free: 15.78 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.214e-05/1.034, allocations: 47.11 kB / 1.121 GB, free: 15.74 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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.0002502/1.034, allocations: 237 kB / 1.121 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/1.034, allocations: 154.2 kB / 1.121 GB, free: 15.35 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001474/1.036, allocations: 0.8201 MB / 1.122 GB, free: 14.51 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.595e-06/1.036, allocations: 8 kB / 1.122 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/1.036, allocations: 0 / 1.122 GB, free: 14.5 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001007/1.037, allocations: 0.7862 MB / 1.123 GB, free: 13.67 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/1.04, allocations: 2.286 MB / 1.125 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/1.04, allocations: 4 kB / 1.125 GB, free: 11.3 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008271/1.041, allocations: 167.8 kB / 1.125 GB, free: 11.13 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/1.041, allocations: 4 kB / 1.125 GB, free: 11.13 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/1.041, allocations: 23.94 kB / 1.125 GB, free: 11.11 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.746e-06/1.041, allocations: 16.11 kB / 1.125 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.041, allocations: 4 kB / 1.125 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001902/1.043, allocations: 1.304 MB / 1.127 GB, free: 9.746 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005393/1.044, allocations: 319.2 kB / 1.127 GB, free: 9.414 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001712/1.044, allocations: 23.94 kB / 1.127 GB, free: 9.391 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008276/1.045, allocations: 35.64 kB / 1.127 GB, free: 9.359 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.604e-05/1.045, allocations: 36.52 kB / 1.127 GB, free: 9.324 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.593e-05/1.045, allocations: 39.97 kB / 1.127 GB, free: 9.285 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001214/1.046, allocations: 0.9003 MB / 1.128 GB, free: 8.387 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.7e-07/1.046, allocations: 0 / 1.128 GB, free: 8.387 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001816/1.048, allocations: 0.8379 MB / 1.129 GB, free: 7.547 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.000518/1.048, allocations: 262.1 kB / 1.129 GB, free: 7.293 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002188/1.051, allocations: 1.327 MB / 1.13 GB, free: 5.969 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.643e-06/1.051, allocations: 8 kB / 1.13 GB, free: 5.961 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004675/1.051, allocations: 343.5 kB / 1.131 GB, free: 5.625 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003273/1.054, allocations: 0.8525 MB / 1.132 GB, free: 4.844 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004237/1.059, allocations: 2.853 MB / 1.134 GB, free: 1.949 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009187/1.059, allocations: 1.348 MB / 1.136 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001491/1.061, allocations: 416.4 kB / 1.136 GB, free: 172 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003098/1.061, allocations: 115.4 kB / 1.136 GB, free: 56 kB / 0.92 GB Notification: Performance of SimCode: time 1.012e-06/1.061, allocations: 0 / 1.136 GB, free: 56 kB / 0.92 GB Notification: Performance of Templates: time 0.3697/1.431, allocations: 29.33 MB / 1.165 GB, free: 302.7 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)