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.00144/0.00144, allocations: 105.3 kB / 15.98 MB, free: 6.355 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.001687/0.001687, allocations: 195.9 kB / 16.91 MB, free: 6.188 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.446/1.446, allocations: 205.1 MB / 222.8 MB, free: 4.664 MB / 174.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.668/1.668, allocations: 292.3 MB / 0.5492 GB, free: 13.63 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.001389/0.001389, allocations: 74.48 kB / 0.6716 GB, free: 26.44 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2178/0.2192, allocations: 114.6 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6801/0.8994, allocations: 271.4 MB / 1.049 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02525/0.9247, allocations: 17.14 MB / 1.065 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003937/0.9286, allocations: 61 kB / 1.065 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.004127/0.9328, allocations: 1.035 MB / 1.066 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01237/0.9453, allocations: 2.898 MB / 1.069 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006878/0.9521, allocations: 2.057 MB / 1.071 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.008257/0.9604, allocations: 4.807 MB / 1.076 GB, free: 6.887 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00373/0.9642, allocations: 1.709 MB / 1.078 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008079/0.9723, allocations: 2.414 MB / 1.08 GB, free: 3.797 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004009/0.9763, allocations: 1.628 MB / 1.081 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0008564/0.9772, allocations: 192 kB / 1.082 GB, free: 1.984 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00754/0.9848, allocations: 3.145 MB / 1.085 GB, free: 14.83 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.001456/0.9863, allocations: 0.7246 MB / 1.085 GB, free: 14.11 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002782/0.9891, allocations: 1.12 MB / 1.087 GB, free: 12.98 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005382/0.9945, allocations: 2.9 MB / 1.089 GB, free: 10.07 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.9945, allocations: 0 / 1.089 GB, free: 10.07 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.184e-06/0.9945, allocations: 0 / 1.089 GB, free: 10.07 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0001088/0.9946, allocations: 0 / 1.089 GB, free: 10.07 MB / 0.795 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.006163/1.001, allocations: 2.432 MB / 1.092 GB, free: 7.574 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/1.001, allocations: 8.031 kB / 1.092 GB, free: 7.566 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004925/1.006, allocations: 0.6455 MB / 1.092 GB, free: 6.918 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002952/1.009, allocations: 1.322 MB / 1.094 GB, free: 5.539 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/1.009, allocations: 102.5 kB / 1.094 GB, free: 5.438 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004207/1.009, allocations: 132 kB / 1.094 GB, free: 5.309 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003285/1.013, allocations: 1.576 MB / 1.095 GB, free: 3.668 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.284e-05/1.013, allocations: 0 / 1.095 GB, free: 3.668 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001878/1.013, allocations: 56 kB / 1.095 GB, free: 3.613 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.856e-05/1.013, allocations: 54.38 kB / 1.096 GB, free: 3.559 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002516/1.016, allocations: 1.266 MB / 1.097 GB, free: 2.285 MB / 0.795 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.01038/1.026, allocations: 7.202 MB / 1.104 GB, free: 10.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/1.027, allocations: 0.6558 MB / 1.104 GB, free: 9.855 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005592/1.028, allocations: 370.3 kB / 1.105 GB, free: 9.492 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002301/1.028, allocations: 109.6 kB / 1.105 GB, free: 9.367 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.951e-05/1.028, allocations: 47.12 kB / 1.105 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009518/1.029, allocations: 131 kB / 1.105 GB, free: 9.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=67): time 4.048e-06/1.029, allocations: 3.938 kB / 1.105 GB, free: 9.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=67): time 0.002184/1.031, allocations: 1.009 MB / 1.106 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.302e-05/1.031, allocations: 59.97 kB / 1.106 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002/1.033, allocations: 1.331 MB / 1.107 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/1.033, allocations: 45.7 kB / 1.107 GB, free: 6.699 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006505/1.034, allocations: 0.7774 MB / 1.108 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002663/1.034, allocations: 240.9 kB / 1.108 GB, free: 5.676 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003591/1.035, allocations: 206.3 kB / 1.109 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000145/1.035, allocations: 349.9 kB / 1.109 GB, free: 5.121 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005868/1.035, allocations: 360.6 kB / 1.109 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008281/1.036, allocations: 0.6828 MB / 1.11 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001295/1.038, allocations: 0.9489 MB / 1.111 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.823e-06/1.038, allocations: 0 / 1.111 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002008/1.04, allocations: 1.152 MB / 1.112 GB, free: 1.742 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.12e-05/1.04, allocations: 4 kB / 1.112 GB, free: 1.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.706e-05/1.04, allocations: 8 kB / 1.112 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.042e-05/1.04, allocations: 12 kB / 1.112 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009229/1.041, allocations: 211.7 kB / 1.112 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/1.041, allocations: 12 kB / 1.112 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/1.043, allocations: 128.4 kB / 1.112 GB, free: 1.375 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001144/1.043, allocations: 43.98 kB / 1.112 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001205/1.044, allocations: 0.6854 MB / 1.113 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008508/1.045, allocations: 0.6788 MB / 1.114 GB, free: 15.82 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001249/1.046, allocations: 0.9489 MB / 1.115 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.003e-06/1.046, allocations: 11.92 kB / 1.115 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001892/1.048, allocations: 1.148 MB / 1.116 GB, free: 13.62 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/1.048, allocations: 4 kB / 1.116 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.048, allocations: 8 kB / 1.116 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.048, allocations: 12 kB / 1.116 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008455/1.049, allocations: 211.7 kB / 1.116 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.06e-05/1.049, allocations: 16.47 kB / 1.116 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001709/1.051, allocations: 142.4 kB / 1.116 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.887e-05/1.051, allocations: 36 kB / 1.116 GB, free: 13.2 MB / 0.8262 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.0003076/1.051, allocations: 246.8 kB / 1.116 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003249/1.051, allocations: 150.2 kB / 1.117 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/1.053, allocations: 0.8163 MB / 1.117 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.859e-06/1.053, allocations: 8 kB / 1.117 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.053, allocations: 0 / 1.117 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009788/1.054, allocations: 0.7824 MB / 1.118 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00382/1.058, allocations: 2.302 MB / 1.12 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.058, allocations: 0 / 1.12 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008401/1.058, allocations: 171.8 kB / 1.121 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-05/1.059, allocations: 4 kB / 1.121 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-05/1.059, allocations: 23.92 kB / 1.121 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.733e-06/1.059, allocations: 8.188 kB / 1.121 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.059, allocations: 3.938 kB / 1.121 GB, free: 8.547 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001884/1.06, allocations: 1.312 MB / 1.122 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006208/1.061, allocations: 315.3 kB / 1.122 GB, free: 6.867 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000249/1.061, allocations: 15.94 kB / 1.122 GB, free: 6.852 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001132/1.063, allocations: 99.75 kB / 1.122 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.189e-05/1.063, allocations: 40.45 kB / 1.122 GB, free: 6.715 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.12e-05/1.063, allocations: 39.95 kB / 1.122 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001337/1.064, allocations: 0.9081 MB / 1.123 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/1.064, allocations: 0 / 1.123 GB, free: 5.77 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002169/1.066, allocations: 0.834 MB / 1.124 GB, free: 4.934 MB / 0.8262 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.0006157/1.067, allocations: 259.7 kB / 1.124 GB, free: 4.68 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002553/1.069, allocations: 1.44 MB / 1.126 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/1.069, allocations: 0 / 1.126 GB, free: 3.242 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004991/1.07, allocations: 343 kB / 1.126 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003928/1.074, allocations: 0.8581 MB / 1.127 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005464/1.079, allocations: 3.577 MB / 1.13 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001113/1.081, allocations: 1.344 MB / 1.132 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004798/1.081, allocations: 119.4 kB / 1.132 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of SimCode: time 9.91e-07/1.081, allocations: 0 / 1.132 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of Templates: time 0.04023/1.121, allocations: 25.22 MB / 1.156 GB, free: 3.891 MB / 0.8575 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)