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.001496/0.001496, allocations: 102.5 kB / 16.36 MB, free: 6.305 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.001606/0.001606, allocations: 192.1 kB / 17.29 MB, free: 5.875 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.368/1.368, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.829/1.829, allocations: 292.3 MB / 0.5496 GB, free: 17.56 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.001797/0.001798, allocations: 71.89 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2411/0.2429, allocations: 114.5 MB / 0.7848 GB, free: 3.191 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6783/0.9212, allocations: 274.6 MB / 1.053 GB, free: 7.141 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02423/0.9455, allocations: 17.25 MB / 1.07 GB, free: 5.848 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00283/0.9483, allocations: 67.62 kB / 1.07 GB, free: 5.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003557/0.952, allocations: 1.169 MB / 1.071 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009289/0.9613, allocations: 3.085 MB / 1.074 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006453/0.9678, allocations: 2.209 MB / 1.076 GB, free: 15.31 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.008254/0.9761, allocations: 4.818 MB / 1.081 GB, free: 10.48 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003449/0.9796, allocations: 1.752 MB / 1.083 GB, free: 8.707 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00712/0.9867, allocations: 2.412 MB / 1.085 GB, free: 6.305 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003551/0.9903, allocations: 1.538 MB / 1.086 GB, free: 4.777 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006515/0.991, allocations: 192 kB / 1.087 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006766/0.9978, allocations: 3.016 MB / 1.09 GB, free: 1.566 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.001326/0.9991, allocations: 0.7168 MB / 1.09 GB, free: 0.8477 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.002844/1.002, allocations: 1.116 MB / 1.091 GB, free: 15.72 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.008227/1.01, allocations: 3.833 MB / 1.095 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/1.01, allocations: 0 / 1.095 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.803e-06/1.01, allocations: 4 kB / 1.095 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001159/1.01, allocations: 0 / 1.095 GB, free: 11.88 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.006179/1.017, allocations: 2.41 MB / 1.097 GB, free: 9.402 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/1.017, allocations: 16.03 kB / 1.097 GB, free: 9.387 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004734/1.021, allocations: 0.6416 MB / 1.098 GB, free: 8.742 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003236/1.025, allocations: 1.381 MB / 1.099 GB, free: 7.305 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001141/1.025, allocations: 102.5 kB / 1.1 GB, free: 7.203 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003888/1.025, allocations: 140 kB / 1.1 GB, free: 7.066 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/1.028, allocations: 1.561 MB / 1.101 GB, free: 5.438 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.701e-05/1.028, allocations: 0 / 1.101 GB, free: 5.438 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/1.028, allocations: 67.94 kB / 1.101 GB, free: 5.371 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.598e-05/1.028, allocations: 46.45 kB / 1.101 GB, free: 5.324 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/1.03, allocations: 1.263 MB / 1.103 GB, free: 4.055 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.009494/1.04, allocations: 7.202 MB / 1.11 GB, free: 12.29 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/1.041, allocations: 0.6413 MB / 1.11 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005128/1.042, allocations: 370.1 kB / 1.111 GB, free: 11.28 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002109/1.042, allocations: 105.7 kB / 1.111 GB, free: 11.16 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.873e-05/1.042, allocations: 50.97 kB / 1.111 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007555/1.043, allocations: 103.1 kB / 1.111 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=67): time 3.647e-06/1.043, allocations: 0 / 1.111 GB, free: 10.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67): time 0.002008/1.045, allocations: 1.013 MB / 1.112 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.918e-05/1.045, allocations: 59.97 kB / 1.112 GB, free: 9.902 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001863/1.047, allocations: 1.338 MB / 1.113 GB, free: 8.555 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0001175/1.047, allocations: 45.7 kB / 1.113 GB, free: 8.504 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006584/1.047, allocations: 0.762 MB / 1.114 GB, free: 7.734 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/1.048, allocations: 252.4 kB / 1.114 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003669/1.048, allocations: 206.4 kB / 1.114 GB, free: 7.277 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001699/1.048, allocations: 358.1 kB / 1.115 GB, free: 6.922 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005734/1.049, allocations: 356.6 kB / 1.115 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000862/1.05, allocations: 0.6751 MB / 1.116 GB, free: 5.758 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001328/1.051, allocations: 0.9527 MB / 1.117 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/1.051, allocations: 0 / 1.117 GB, free: 4.711 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002118/1.053, allocations: 1.151 MB / 1.118 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/1.053, allocations: 4 kB / 1.118 GB, free: 3.547 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/1.053, allocations: 8.875 kB / 1.118 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.038e-05/1.053, allocations: 12 kB / 1.118 GB, free: 3.527 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009143/1.054, allocations: 215.7 kB / 1.118 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.454e-05/1.054, allocations: 22.66 kB / 1.118 GB, free: 3.297 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001527/1.056, allocations: 49.83 kB / 1.118 GB, free: 3.25 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/1.056, allocations: 40 kB / 1.118 GB, free: 3.211 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001299/1.057, allocations: 0.6815 MB / 1.119 GB, free: 2.523 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009068/1.058, allocations: 0.6788 MB / 1.119 GB, free: 1.707 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001323/1.059, allocations: 0.9487 MB / 1.12 GB, free: 0.668 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.795e-06/1.059, allocations: 4 kB / 1.12 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001992/1.061, allocations: 1.144 MB / 1.121 GB, free: 15.51 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/1.061, allocations: 8 kB / 1.121 GB, free: 15.5 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/1.061, allocations: 10.06 kB / 1.122 GB, free: 15.49 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/1.061, allocations: 12 kB / 1.122 GB, free: 15.48 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008565/1.062, allocations: 207.7 kB / 1.122 GB, free: 15.28 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.191e-05/1.062, allocations: 19.92 kB / 1.122 GB, free: 15.26 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/1.064, allocations: 67.84 kB / 1.122 GB, free: 15.19 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-05/1.064, allocations: 40.06 kB / 1.122 GB, free: 15.15 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.0003077/1.064, allocations: 245 kB / 1.122 GB, free: 14.91 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004129/1.065, allocations: 146.2 kB / 1.122 GB, free: 14.76 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001537/1.066, allocations: 0.8201 MB / 1.123 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/1.066, allocations: 8 kB / 1.123 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/1.066, allocations: 0 / 1.123 GB, free: 13.92 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/1.067, allocations: 0.7901 MB / 1.124 GB, free: 13.08 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00414/1.072, allocations: 2.29 MB / 1.126 GB, free: 10.71 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.665e-06/1.072, allocations: 8.031 kB / 1.126 GB, free: 10.7 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008854/1.072, allocations: 167.8 kB / 1.126 GB, free: 10.54 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.566e-05/1.072, allocations: 8 kB / 1.126 GB, free: 10.53 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.605e-05/1.073, allocations: 21 kB / 1.126 GB, free: 10.51 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.149e-05/1.073, allocations: 11.92 kB / 1.126 GB, free: 10.5 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/1.073, allocations: 4 kB / 1.126 GB, free: 10.49 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002244/1.075, allocations: 1.304 MB / 1.128 GB, free: 9.152 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009526/1.076, allocations: 319.2 kB / 1.128 GB, free: 8.82 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003996/1.076, allocations: 23.94 kB / 1.128 GB, free: 8.797 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001165/1.077, allocations: 40.69 kB / 1.128 GB, free: 8.766 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.357e-05/1.077, allocations: 52.44 kB / 1.128 GB, free: 8.715 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-05/1.078, allocations: 27.98 kB / 1.128 GB, free: 8.688 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001704/1.079, allocations: 0.9042 MB / 1.129 GB, free: 7.785 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.4e-07/1.079, allocations: 0 / 1.129 GB, free: 7.785 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.002588/1.082, allocations: 0.834 MB / 1.13 GB, free: 6.949 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.0007064/1.083, allocations: 260.2 kB / 1.13 GB, free: 6.699 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002402/1.085, allocations: 1.33 MB / 1.131 GB, free: 5.371 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/1.085, allocations: 0 / 1.131 GB, free: 5.371 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0005208/1.086, allocations: 351 kB / 1.132 GB, free: 5.027 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004508/1.09, allocations: 0.8472 MB / 1.132 GB, free: 4.25 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/1.096, allocations: 2.934 MB / 1.135 GB, free: 1.27 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.362/1.458, allocations: 1.341 MB / 1.137 GB, free: 306.6 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005879/1.459, allocations: 118.3 kB / 1.137 GB, free: 306.6 MB / 0.92 GB Notification: Performance of SimCode: time 1.342e-06/1.459, allocations: 1.719 kB / 1.137 GB, free: 306.6 MB / 0.92 GB Notification: Performance of Templates: time 0.05279/1.511, allocations: 25.19 MB / 1.161 GB, free: 304.1 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)