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.001465/0.001465, allocations: 96.14 kB / 16.26 MB, free: 6.418 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.001633/0.001633, allocations: 188.7 kB / 17.2 MB, free: 5.953 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.411/1.411, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.821/1.821, allocations: 292.3 MB / 0.5495 GB, free: 17.51 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.001468/0.001468, allocations: 63.91 kB / 0.6722 GB, free: 6.559 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2755/0.277, allocations: 114.6 MB / 0.784 GB, free: 3.891 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7404/1.017, allocations: 274.6 MB / 1.052 GB, free: 7.656 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02552/1.043, allocations: 17.26 MB / 1.069 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002801/1.046, allocations: 63.62 kB / 1.069 GB, free: 6.285 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003779/1.05, allocations: 1.165 MB / 1.07 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008766/1.058, allocations: 3.09 MB / 1.073 GB, free: 2.012 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006082/1.065, allocations: 2.201 MB / 1.075 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006905/1.071, allocations: 4.807 MB / 1.08 GB, free: 11 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003073/1.075, allocations: 1.756 MB / 1.082 GB, free: 9.227 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006219/1.081, allocations: 2.399 MB / 1.084 GB, free: 6.836 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003355/1.084, allocations: 1.522 MB / 1.086 GB, free: 5.32 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0007143/1.085, allocations: 192 kB / 1.086 GB, free: 5.133 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006448/1.091, allocations: 3.013 MB / 1.089 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.000949/1.092, allocations: 0.7284 MB / 1.089 GB, free: 1.383 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.00168/1.094, allocations: 1.12 MB / 1.091 GB, free: 264 kB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00635/1.1, allocations: 3.802 MB / 1.094 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/1.1, allocations: 0 / 1.094 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.583e-06/1.1, allocations: 0 / 1.094 GB, free: 12.45 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.745e-05/1.101, allocations: 0 / 1.094 GB, free: 12.45 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.004427/1.105, allocations: 2.426 MB / 1.097 GB, free: 9.953 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/1.105, allocations: 8.031 kB / 1.097 GB, free: 9.945 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004537/1.11, allocations: 0.6455 MB / 1.097 GB, free: 9.297 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002431/1.112, allocations: 1.322 MB / 1.099 GB, free: 7.918 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.204e-05/1.112, allocations: 102.5 kB / 1.099 GB, free: 7.816 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002348/1.112, allocations: 132 kB / 1.099 GB, free: 7.688 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002697/1.115, allocations: 1.569 MB / 1.1 GB, free: 6.051 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/1.115, allocations: 7.922 kB / 1.1 GB, free: 6.043 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000181/1.115, allocations: 60 kB / 1.1 GB, free: 5.984 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.444e-05/1.115, allocations: 46.39 kB / 1.1 GB, free: 5.938 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002118/1.117, allocations: 1.259 MB / 1.102 GB, free: 4.672 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.009596/1.127, allocations: 7.265 MB / 1.109 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/1.128, allocations: 0.6427 MB / 1.109 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000512/1.129, allocations: 374.3 kB / 1.11 GB, free: 11.83 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000215/1.129, allocations: 109.6 kB / 1.11 GB, free: 11.7 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/1.129, allocations: 51.11 kB / 1.11 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000684/1.13, allocations: 99.05 kB / 1.11 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=67): time 3.056e-06/1.13, allocations: 0 / 1.11 GB, free: 11.54 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67): time 0.001984/1.132, allocations: 1.013 MB / 1.111 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/1.132, allocations: 63.97 kB / 1.111 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001714/1.133, allocations: 1.334 MB / 1.112 GB, free: 9.105 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.787e-05/1.134, allocations: 45.7 kB / 1.112 GB, free: 9.055 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.000615/1.134, allocations: 0.762 MB / 1.113 GB, free: 8.285 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002431/1.134, allocations: 256.4 kB / 1.113 GB, free: 8.031 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003199/1.135, allocations: 202.5 kB / 1.114 GB, free: 7.828 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001382/1.135, allocations: 345.9 kB / 1.114 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005593/1.135, allocations: 357 kB / 1.114 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008122/1.136, allocations: 0.6751 MB / 1.115 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001312/1.138, allocations: 0.9527 MB / 1.116 GB, free: 5.273 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.113e-06/1.138, allocations: 7.938 kB / 1.116 GB, free: 5.266 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001882/1.139, allocations: 1.144 MB / 1.117 GB, free: 4.113 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.34e-05/1.14, allocations: 10.34 kB / 1.117 GB, free: 4.105 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/1.14, allocations: 4 kB / 1.117 GB, free: 4.102 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.551e-05/1.14, allocations: 12 kB / 1.117 GB, free: 4.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008904/1.14, allocations: 212.3 kB / 1.117 GB, free: 3.883 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.01e-05/1.141, allocations: 19.88 kB / 1.117 GB, free: 3.863 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/1.142, allocations: 57.89 kB / 1.117 GB, free: 3.809 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.307e-05/1.142, allocations: 40 kB / 1.117 GB, free: 3.77 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001058/1.143, allocations: 0.6854 MB / 1.118 GB, free: 3.078 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007917/1.144, allocations: 0.6788 MB / 1.119 GB, free: 2.262 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00124/1.145, allocations: 0.9487 MB / 1.12 GB, free: 1.223 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.572e-06/1.145, allocations: 7.938 kB / 1.12 GB, free: 1.215 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001777/1.147, allocations: 1.146 MB / 1.121 GB, free: 64 kB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/1.147, allocations: 12.16 kB / 1.121 GB, free: 52 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.147, allocations: 8 kB / 1.121 GB, free: 44 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/1.147, allocations: 12 kB / 1.121 GB, free: 32 kB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008481/1.148, allocations: 207.7 kB / 1.121 GB, free: 15.83 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.743e-05/1.148, allocations: 15.98 kB / 1.121 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/1.149, allocations: 63.86 kB / 1.121 GB, free: 15.75 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.807e-05/1.149, allocations: 39.98 kB / 1.121 GB, free: 15.71 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.0002963/1.15, allocations: 256.9 kB / 1.121 GB, free: 15.45 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002641/1.15, allocations: 146.2 kB / 1.121 GB, free: 15.31 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/1.151, allocations: 0.8201 MB / 1.122 GB, free: 14.47 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.277e-06/1.151, allocations: 8 kB / 1.122 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/1.151, allocations: 0 / 1.122 GB, free: 14.46 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009699/1.152, allocations: 0.7785 MB / 1.123 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003536/1.156, allocations: 2.305 MB / 1.125 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.156, allocations: 0 / 1.125 GB, free: 11.25 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000836/1.157, allocations: 167.8 kB / 1.125 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-05/1.157, allocations: 4 kB / 1.125 GB, free: 11.09 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/1.157, allocations: 23.92 kB / 1.125 GB, free: 11.06 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.564e-06/1.157, allocations: 4 kB / 1.125 GB, free: 11.06 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/1.157, allocations: 0 / 1.125 GB, free: 11.06 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001849/1.159, allocations: 1.312 MB / 1.127 GB, free: 9.711 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005742/1.159, allocations: 319.2 kB / 1.127 GB, free: 9.379 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001829/1.159, allocations: 15.94 kB / 1.127 GB, free: 9.363 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008823/1.16, allocations: 46.34 kB / 1.127 GB, free: 9.324 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.395e-05/1.16, allocations: 40.5 kB / 1.127 GB, free: 9.285 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.635e-05/1.16, allocations: 31.98 kB / 1.127 GB, free: 9.254 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001263/1.162, allocations: 0.9119 MB / 1.128 GB, free: 8.344 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/1.162, allocations: 0 / 1.128 GB, free: 8.344 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001957/1.164, allocations: 0.8301 MB / 1.129 GB, free: 7.512 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.0006043/1.164, allocations: 267.7 kB / 1.129 GB, free: 7.254 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002588/1.167, allocations: 1.436 MB / 1.13 GB, free: 5.82 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/1.167, allocations: 0 / 1.13 GB, free: 5.82 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004864/1.167, allocations: 347 kB / 1.131 GB, free: 5.48 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/1.171, allocations: 0.851 MB / 1.132 GB, free: 4.715 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004664/1.176, allocations: 2.99 MB / 1.135 GB, free: 1.68 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009461/1.177, allocations: 1.344 MB / 1.136 GB, free: 312 kB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004023/1.177, allocations: 123.4 kB / 1.136 GB, free: 188 kB / 0.92 GB Notification: Performance of SimCode: time 7.62e-07/1.177, allocations: 0 / 1.136 GB, free: 188 kB / 0.92 GB Notification: Performance of Templates: time 0.4122/1.59, allocations: 25.19 MB / 1.161 GB, free: 303.8 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 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)