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.001685/0.001685, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002021/0.002021, allocations: 198.2 kB / 16.64 MB, free: 6.449 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.427/1.427, allocations: 205.1 MB / 222.5 MB, free: 4.566 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.683/1.683, allocations: 292.3 MB / 0.549 GB, free: 12.78 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.001637/0.001637, allocations: 72.78 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2477/0.2493, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7526/1.002, allocations: 274.6 MB / 1.052 GB, free: 1.234 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02513/1.027, allocations: 17.26 MB / 1.069 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00268/1.03, allocations: 67.62 kB / 1.069 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003023/1.033, allocations: 1.157 MB / 1.07 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.00775/1.041, allocations: 3.095 MB / 1.073 GB, free: 14.62 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.005071/1.046, allocations: 2.219 MB / 1.076 GB, free: 12.41 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.005851/1.052, allocations: 4.807 MB / 1.08 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/1.054, allocations: 1.747 MB / 1.082 GB, free: 5.82 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005546/1.06, allocations: 2.415 MB / 1.084 GB, free: 3.414 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002756/1.062, allocations: 1.543 MB / 1.086 GB, free: 1.879 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0002719/1.063, allocations: 192 kB / 1.086 GB, free: 1.691 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0055/1.068, allocations: 3.009 MB / 1.089 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0006924/1.069, allocations: 0.7245 MB / 1.09 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.001282/1.07, allocations: 1.112 MB / 1.091 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.005238/1.075, allocations: 3.825 MB / 1.094 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/1.075, allocations: 0 / 1.094 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.403e-06/1.075, allocations: 0 / 1.094 GB, free: 8.996 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.974e-05/1.075, allocations: 0 / 1.094 GB, free: 8.996 MB / 0.8106 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.003769/1.079, allocations: 2.428 MB / 1.097 GB, free: 6.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/1.079, allocations: 12.02 kB / 1.097 GB, free: 6.488 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00417/1.083, allocations: 0.6495 MB / 1.097 GB, free: 5.836 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002074/1.086, allocations: 1.381 MB / 1.099 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.617e-05/1.086, allocations: 98.55 kB / 1.099 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002086/1.086, allocations: 140 kB / 1.099 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002392/1.088, allocations: 1.565 MB / 1.101 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/1.088, allocations: 0 / 1.101 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001295/1.088, allocations: 56 kB / 1.101 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.525e-05/1.088, allocations: 54.38 kB / 1.101 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002024/1.091, allocations: 1.266 MB / 1.102 GB, free: 1.148 MB / 0.8106 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.008425/1.099, allocations: 7.194 MB / 1.109 GB, free: 9.387 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001023/1.1, allocations: 0.6518 MB / 1.11 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005174/1.101, allocations: 374.5 kB / 1.11 GB, free: 8.363 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002063/1.101, allocations: 101.6 kB / 1.11 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.051e-05/1.101, allocations: 55.11 kB / 1.11 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004998/1.101, allocations: 103 kB / 1.11 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=67): time 2.144e-06/1.101, allocations: 0 / 1.11 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of matching and sorting (n=67): time 0.002047/1.103, allocations: 1.009 MB / 1.111 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/1.103, allocations: 67.91 kB / 1.111 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/1.105, allocations: 1.331 MB / 1.113 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.432e-05/1.105, allocations: 45.7 kB / 1.113 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006172/1.106, allocations: 0.7658 MB / 1.113 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/1.106, allocations: 252.5 kB / 1.114 GB, free: 4.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003143/1.106, allocations: 202.4 kB / 1.114 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001596/1.107, allocations: 349.9 kB / 1.114 GB, free: 4.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005534/1.107, allocations: 352.7 kB / 1.114 GB, free: 3.672 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008406/1.108, allocations: 0.683 MB / 1.115 GB, free: 2.852 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/1.109, allocations: 0.9527 MB / 1.116 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/1.109, allocations: 0 / 1.116 GB, free: 1.805 MB / 0.8262 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001753/1.111, allocations: 1.148 MB / 1.117 GB, free: 0.6484 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/1.111, allocations: 8 kB / 1.117 GB, free: 0.6406 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/1.111, allocations: 8 kB / 1.117 GB, free: 0.6328 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/1.111, allocations: 12 kB / 1.117 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008697/1.112, allocations: 208.3 kB / 1.117 GB, free: 428 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/1.112, allocations: 19.92 kB / 1.117 GB, free: 408 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/1.113, allocations: 54.41 kB / 1.117 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.748e-05/1.113, allocations: 43.98 kB / 1.117 GB, free: 312 kB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001048/1.114, allocations: 0.6822 MB / 1.118 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007756/1.115, allocations: 0.6788 MB / 1.119 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001213/1.116, allocations: 0.9488 MB / 1.12 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.961e-06/1.116, allocations: 7.938 kB / 1.12 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001732/1.118, allocations: 1.144 MB / 1.121 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.071e-05/1.118, allocations: 8 kB / 1.121 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.118, allocations: 12.09 kB / 1.121 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/1.118, allocations: 12 kB / 1.121 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008118/1.119, allocations: 207.7 kB / 1.121 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.466e-05/1.119, allocations: 15.94 kB / 1.121 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/1.12, allocations: 59.94 kB / 1.121 GB, free: 12.29 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/1.12, allocations: 40 kB / 1.121 GB, free: 12.25 MB / 0.8419 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.0002647/1.121, allocations: 251.9 kB / 1.121 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002356/1.121, allocations: 154.1 kB / 1.122 GB, free: 11.85 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.122, allocations: 0.8084 MB / 1.122 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.843e-06/1.122, allocations: 8 kB / 1.122 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/1.122, allocations: 0 / 1.122 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000975/1.123, allocations: 0.7901 MB / 1.123 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003159/1.126, allocations: 2.286 MB / 1.125 GB, free: 7.809 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.702e-06/1.126, allocations: 4 kB / 1.125 GB, free: 7.805 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008158/1.127, allocations: 176 kB / 1.126 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.344e-06/1.127, allocations: 4 kB / 1.126 GB, free: 7.629 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/1.127, allocations: 23.92 kB / 1.126 GB, free: 7.605 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.621e-06/1.127, allocations: 4 kB / 1.126 GB, free: 7.602 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.127, allocations: 4 kB / 1.126 GB, free: 7.598 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/1.129, allocations: 1.308 MB / 1.127 GB, free: 6.254 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004618/1.13, allocations: 315.3 kB / 1.127 GB, free: 5.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/1.13, allocations: 19.94 kB / 1.127 GB, free: 5.906 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008248/1.131, allocations: 39.88 kB / 1.127 GB, free: 5.867 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/1.131, allocations: 44.5 kB / 1.127 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.978e-05/1.131, allocations: 31.98 kB / 1.127 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001138/1.132, allocations: 0.9003 MB / 1.128 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.91e-07/1.132, allocations: 3.938 kB / 1.128 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001717/1.134, allocations: 0.834 MB / 1.129 GB, free: 4.055 MB / 0.8419 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.0005251/1.134, allocations: 267.8 kB / 1.129 GB, free: 3.793 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00207/1.136, allocations: 1.339 MB / 1.131 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/1.136, allocations: 0 / 1.131 GB, free: 2.457 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004707/1.137, allocations: 346.9 kB / 1.131 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/1.14, allocations: 0.8565 MB / 1.132 GB, free: 1.281 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00391/1.144, allocations: 2.865 MB / 1.135 GB, free: 14.36 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000885/1.145, allocations: 1.34 MB / 1.136 GB, free: 12.99 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001283/1.146, allocations: 416.2 kB / 1.136 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002827/1.146, allocations: 115.4 kB / 1.136 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of SimCode: time 3.81e-07/1.146, allocations: 0 / 1.136 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of Templates: time 0.04472/1.191, allocations: 29.33 MB / 1.165 GB, free: 15.56 MB / 0.8887 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)