Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001508/0.001508, allocations: 108 kB / 15.61 MB, free: 152 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.002071/0.002072, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.4 MB, free: 4.594 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.589/1.589, allocations: 251.7 MB / 0.5092 GB, free: 3.16 MB / 414.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.001459/0.001459, allocations: 71.89 kB / 0.6223 GB, free: 1.535 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4963/0.4977, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6948/1.193, allocations: 275.1 MB / 0.9932 GB, free: 15.89 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0189/1.212, allocations: 17.4 MB / 1.01 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002909/1.214, allocations: 65.03 kB / 1.01 GB, free: 13.14 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003261/1.218, allocations: 1.18 MB / 1.011 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.008003/1.226, allocations: 3.161 MB / 1.014 GB, free: 12.2 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005382/1.231, allocations: 2.255 MB / 1.017 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006774/1.238, allocations: 5.047 MB / 1.022 GB, free: 8.992 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002528/1.241, allocations: 1.803 MB / 1.023 GB, free: 7.887 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006864/1.247, allocations: 2.465 MB / 1.026 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004059/1.252, allocations: 1.547 MB / 1.027 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005941/1.252, allocations: 197.2 kB / 1.027 GB, free: 6.148 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006663/1.259, allocations: 3.017 MB / 1.03 GB, free: 4.418 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009019/1.26, allocations: 0.7557 MB / 1.031 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001791/1.262, allocations: 1.137 MB / 1.032 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007336/1.269, allocations: 3.877 MB / 1.036 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/1.269, allocations: 0 / 1.036 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.834e-06/1.269, allocations: 0 / 1.036 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.019e-05/1.269, allocations: 0 / 1.036 GB, free: 14.88 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004254/1.273, allocations: 2.437 MB / 1.038 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/1.273, allocations: 8.031 kB / 1.038 GB, free: 12.4 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004516/1.278, allocations: 0.6368 MB / 1.039 GB, free: 11.76 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002274/1.28, allocations: 1.331 MB / 1.04 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/1.28, allocations: 102.6 kB / 1.04 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002011/1.28, allocations: 142.4 kB / 1.041 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002629/1.283, allocations: 1.607 MB / 1.042 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/1.283, allocations: 0 / 1.042 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/1.283, allocations: 60 kB / 1.042 GB, free: 8.473 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.553e-05/1.283, allocations: 50.5 kB / 1.042 GB, free: 8.422 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/1.285, allocations: 1.271 MB / 1.044 GB, free: 7.156 MB / 0.7325 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.00901/1.294, allocations: 7.282 MB / 1.051 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009866/1.295, allocations: 0.6299 MB / 1.051 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005063/1.296, allocations: 366 kB / 1.052 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/1.296, allocations: 112.2 kB / 1.052 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.447e-05/1.296, allocations: 39.12 kB / 1.052 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006285/1.297, allocations: 101.6 kB / 1.052 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=67): time 2.535e-06/1.297, allocations: 0 / 1.052 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67): time 0.001975/1.299, allocations: 0.9971 MB / 1.053 GB, free: 13.2 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.086e-05/1.299, allocations: 63.62 kB / 1.053 GB, free: 13.13 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001697/1.301, allocations: 1.342 MB / 1.054 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.667e-05/1.301, allocations: 45.7 kB / 1.054 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006054/1.301, allocations: 0.7631 MB / 1.055 GB, free: 10.96 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002345/1.302, allocations: 239.2 kB / 1.055 GB, free: 10.73 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002977/1.302, allocations: 209.1 kB / 1.055 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001498/1.302, allocations: 349.9 kB / 1.056 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005435/1.303, allocations: 348.7 kB / 1.056 GB, free: 9.824 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008267/1.303, allocations: 0.6433 MB / 1.057 GB, free: 9.059 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001302/1.305, allocations: 0.9531 MB / 1.058 GB, free: 8.039 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.149e-06/1.305, allocations: 4 kB / 1.058 GB, free: 8.035 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001763/1.307, allocations: 1.134 MB / 1.059 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.307, allocations: 8.969 kB / 1.059 GB, free: 6.922 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/1.307, allocations: 8 kB / 1.059 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.633e-05/1.307, allocations: 16 kB / 1.059 GB, free: 6.898 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000896/1.307, allocations: 211.6 kB / 1.059 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.665e-05/1.308, allocations: 15 kB / 1.059 GB, free: 6.695 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.309, allocations: 61.48 kB / 1.059 GB, free: 6.641 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.238e-05/1.309, allocations: 43.98 kB / 1.059 GB, free: 6.598 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001097/1.31, allocations: 0.6853 MB / 1.06 GB, free: 5.91 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007305/1.311, allocations: 0.6386 MB / 1.06 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001173/1.312, allocations: 0.9522 MB / 1.061 GB, free: 4.121 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.11e-06/1.312, allocations: 8 kB / 1.061 GB, free: 4.113 MB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.00168/1.314, allocations: 1.142 MB / 1.062 GB, free: 3.008 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/1.314, allocations: 8 kB / 1.062 GB, free: 3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/1.314, allocations: 4 kB / 1.062 GB, free: 2.996 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.14e-05/1.314, allocations: 12 kB / 1.062 GB, free: 2.984 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008252/1.315, allocations: 207.4 kB / 1.063 GB, free: 2.797 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/1.315, allocations: 18.89 kB / 1.063 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/1.316, allocations: 68.38 kB / 1.063 GB, free: 2.715 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.625e-05/1.316, allocations: 40 kB / 1.063 GB, free: 2.676 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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.0002625/1.316, allocations: 244.9 kB / 1.063 GB, free: 2.441 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002278/1.317, allocations: 150.2 kB / 1.063 GB, free: 2.293 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/1.318, allocations: 0.812 MB / 1.064 GB, free: 1.473 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.318, allocations: 8 kB / 1.064 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/1.318, allocations: 0 / 1.064 GB, free: 1.465 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009518/1.319, allocations: 0.7822 MB / 1.065 GB, free: 0.6367 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/1.322, allocations: 2.297 MB / 1.067 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/1.322, allocations: 0 / 1.067 GB, free: 14.29 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008719/1.323, allocations: 174.2 kB / 1.067 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.869e-06/1.323, allocations: 4 kB / 1.067 GB, free: 14.12 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.507e-05/1.323, allocations: 24.19 kB / 1.067 GB, free: 14.1 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/1.323, allocations: 7.984 kB / 1.067 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/1.323, allocations: 0 / 1.067 GB, free: 14.09 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/1.325, allocations: 1.298 MB / 1.068 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005641/1.326, allocations: 335.2 kB / 1.069 GB, free: 12.42 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/1.326, allocations: 23.98 kB / 1.069 GB, free: 12.39 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009811/1.327, allocations: 34.41 kB / 1.069 GB, free: 12.36 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.294e-05/1.327, allocations: 44.5 kB / 1.069 GB, free: 12.32 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.232e-05/1.327, allocations: 35.98 kB / 1.069 GB, free: 12.28 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001164/1.328, allocations: 0.9118 MB / 1.07 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.41e-07/1.328, allocations: 0 / 1.07 GB, free: 11.37 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001877/1.33, allocations: 0.8455 MB / 1.071 GB, free: 10.52 MB / 0.7637 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.0005584/1.331, allocations: 268.8 kB / 1.071 GB, free: 10.28 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002766/1.333, allocations: 1.426 MB / 1.072 GB, free: 8.926 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 1.111e-05/1.333, allocations: 8 kB / 1.072 GB, free: 8.918 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005148/1.334, allocations: 343.3 kB / 1.073 GB, free: 8.602 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004426/1.338, allocations: 0.8591 MB / 1.073 GB, free: 7.762 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00449/1.343, allocations: 2.922 MB / 1.076 GB, free: 4.801 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008732/1.344, allocations: 1.348 MB / 1.078 GB, free: 3.426 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001783/1.346, allocations: 412.2 kB / 1.078 GB, free: 3.02 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002914/1.346, allocations: 107.4 kB / 1.078 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of SimCode: time 1.103e-06/1.346, allocations: 0 / 1.078 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of Templates: time 0.05053/1.396, allocations: 29.56 MB / 1.107 GB, free: 5.887 MB / 0.795 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)