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.001388/0.001388, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001642/0.001642, allocations: 194 kB / 16.25 MB, free: 6.621 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.369/1.369, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.663/1.663, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001337/0.001337, allocations: 67.95 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.231, allocations: 114.6 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6775/0.9086, allocations: 271.4 MB / 1.048 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0218/0.9304, allocations: 17.15 MB / 1.065 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003449/0.9339, allocations: 58 kB / 1.065 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00336/0.9373, allocations: 1.031 MB / 1.066 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009804/0.9472, allocations: 2.906 MB / 1.068 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006786/0.954, allocations: 2.046 MB / 1.07 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.006622/0.9606, allocations: 4.806 MB / 1.075 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003118/0.9637, allocations: 1.715 MB / 1.077 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007085/0.9709, allocations: 2.411 MB / 1.079 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003756/0.9746, allocations: 1.63 MB / 1.081 GB, free: 2.195 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0007345/0.9754, allocations: 192 kB / 1.081 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006318/0.9817, allocations: 3.144 MB / 1.084 GB, free: 14.86 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0009794/0.9827, allocations: 0.7246 MB / 1.085 GB, free: 14.13 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00186/0.9846, allocations: 1.12 MB / 1.086 GB, free: 13 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.005902/0.9905, allocations: 4 MB / 1.09 GB, free: 8.992 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.9905, allocations: 0 / 1.09 GB, free: 8.992 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9905, allocations: 4 kB / 1.09 GB, free: 8.988 MB / 0.795 GB Notification: Performance of Transformations before backend: time 2.344e-05/0.9905, allocations: 0 / 1.09 GB, free: 8.988 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.003623/0.9941, allocations: 2.435 MB / 1.092 GB, free: 6.484 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.9942, allocations: 12.03 kB / 1.092 GB, free: 6.473 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004275/0.9985, allocations: 0.6377 MB / 1.093 GB, free: 5.832 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/1, allocations: 1.318 MB / 1.094 GB, free: 4.457 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.661e-05/1, allocations: 98.55 kB / 1.094 GB, free: 4.359 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001946/1.001, allocations: 140 kB / 1.094 GB, free: 4.223 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002331/1.003, allocations: 1.573 MB / 1.096 GB, free: 2.582 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.97e-05/1.003, allocations: 3.938 kB / 1.096 GB, free: 2.578 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001307/1.003, allocations: 56 kB / 1.096 GB, free: 2.523 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.972e-05/1.003, allocations: 50.39 kB / 1.096 GB, free: 2.473 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/1.005, allocations: 1.266 MB / 1.097 GB, free: 1.199 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.007646/1.013, allocations: 7.206 MB / 1.104 GB, free: 9.426 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009539/1.014, allocations: 0.648 MB / 1.105 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004903/1.014, allocations: 374.4 kB / 1.105 GB, free: 8.406 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001875/1.014, allocations: 121.5 kB / 1.105 GB, free: 8.27 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/1.014, allocations: 43.12 kB / 1.105 GB, free: 8.215 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006182/1.015, allocations: 127 kB / 1.105 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=67): time 9.007e-06/1.015, allocations: 0 / 1.105 GB, free: 8.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=67): time 0.001748/1.017, allocations: 1.009 MB / 1.106 GB, free: 7.074 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/1.017, allocations: 59.97 kB / 1.107 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001462/1.018, allocations: 1.335 MB / 1.108 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-05/1.018, allocations: 45.7 kB / 1.108 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004866/1.019, allocations: 0.7735 MB / 1.109 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/1.019, allocations: 244.6 kB / 1.109 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002785/1.019, allocations: 202.4 kB / 1.109 GB, free: 4.383 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.02, allocations: 349.9 kB / 1.109 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004891/1.02, allocations: 356.7 kB / 1.11 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007199/1.021, allocations: 0.679 MB / 1.11 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/1.022, allocations: 0.9527 MB / 1.111 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/1.022, allocations: 0 / 1.111 GB, free: 1.816 MB / 0.8106 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.0016/1.024, allocations: 1.144 MB / 1.112 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/1.024, allocations: 8 kB / 1.112 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/1.024, allocations: 8 kB / 1.112 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/1.024, allocations: 15.98 kB / 1.112 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008561/1.024, allocations: 212.3 kB / 1.113 GB, free: 440 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.736e-05/1.024, allocations: 19.98 kB / 1.113 GB, free: 420 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/1.026, allocations: 124.4 kB / 1.113 GB, free: 296 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-05/1.026, allocations: 43.98 kB / 1.113 GB, free: 252 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00102/1.027, allocations: 0.6816 MB / 1.114 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007673/1.028, allocations: 0.6857 MB / 1.114 GB, free: 14.73 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00116/1.029, allocations: 0.9449 MB / 1.115 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.179e-06/1.029, allocations: 7.938 kB / 1.115 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001613/1.031, allocations: 1.14 MB / 1.116 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/1.031, allocations: 8 kB / 1.116 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.647e-06/1.031, allocations: 12.09 kB / 1.116 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/1.031, allocations: 12 kB / 1.116 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000809/1.031, allocations: 215.6 kB / 1.116 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/1.032, allocations: 11.94 kB / 1.116 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/1.033, allocations: 146.3 kB / 1.117 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.703e-05/1.033, allocations: 39.98 kB / 1.117 GB, free: 12.11 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.0002654/1.033, allocations: 248 kB / 1.117 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002085/1.034, allocations: 146.2 kB / 1.117 GB, free: 11.72 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/1.035, allocations: 0.8162 MB / 1.118 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.913e-06/1.035, allocations: 8 kB / 1.118 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/1.035, allocations: 4 kB / 1.118 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009543/1.036, allocations: 0.7863 MB / 1.119 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003264/1.039, allocations: 2.29 MB / 1.121 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/1.039, allocations: 0 / 1.121 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008397/1.04, allocations: 180 kB / 1.121 GB, free: 7.496 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.308e-06/1.04, allocations: 4 kB / 1.121 GB, free: 7.492 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/1.04, allocations: 15.94 kB / 1.121 GB, free: 7.477 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.04, allocations: 11.98 kB / 1.121 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/1.04, allocations: 0 / 1.121 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/1.042, allocations: 1.308 MB / 1.122 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/1.043, allocations: 323.2 kB / 1.123 GB, free: 5.781 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/1.043, allocations: 15.94 kB / 1.123 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001035/1.044, allocations: 95.77 kB / 1.123 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.095e-05/1.044, allocations: 48.42 kB / 1.123 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.261e-05/1.044, allocations: 31.98 kB / 1.123 GB, free: 5.594 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.001173/1.045, allocations: 0.912 MB / 1.124 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.31e-07/1.045, allocations: 0 / 1.124 GB, free: 4.684 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002157/1.047, allocations: 0.8379 MB / 1.125 GB, free: 3.844 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.0005363/1.048, allocations: 257.6 kB / 1.125 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002415/1.05, allocations: 1.436 MB / 1.126 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/1.05, allocations: 0 / 1.126 GB, free: 2.156 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004573/1.051, allocations: 347.6 kB / 1.127 GB, free: 1.816 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003779/1.055, allocations: 0.8542 MB / 1.127 GB, free: 0.9883 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004928/1.06, allocations: 3.49 MB / 1.131 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008759/1.06, allocations: 1.348 MB / 1.132 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001589/1.062, allocations: 420.4 kB / 1.132 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/1.062, allocations: 115.4 kB / 1.133 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of SimCode: time 8.82e-07/1.062, allocations: 0 / 1.133 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of Templates: time 0.04317/1.105, allocations: 29.21 MB / 1.161 GB, free: 14.75 MB / 0.8731 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)