Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001294/0.001294, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001583/0.001583, allocations: 193.4 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7502/0.7502, allocations: 132.2 MB / 422.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 67.95 kB / 0.5011 GB, free: 4.301 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4606/0.4618, allocations: 80.2 MB / 0.5794 GB, free: 4.535 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6823/1.144, allocations: 272.5 MB / 0.8455 GB, free: 32.34 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01814/1.162, allocations: 17.47 MB / 0.8626 GB, free: 32.04 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002557/1.165, allocations: 60.75 kB / 0.8626 GB, free: 32.04 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002803/1.168, allocations: 1.002 MB / 0.8636 GB, free: 32.02 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007265/1.175, allocations: 2.916 MB / 0.8665 GB, free: 31.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005001/1.18, allocations: 2.015 MB / 0.8684 GB, free: 31.79 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008126/1.188, allocations: 6.729 MB / 0.875 GB, free: 31.77 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002263/1.19, allocations: 1.477 MB / 0.8764 GB, free: 31.55 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005758/1.196, allocations: 2.109 MB / 0.8785 GB, free: 31.52 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003641/1.2, allocations: 1.585 MB / 0.88 GB, free: 31.45 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.000393/1.2, allocations: 102.8 kB / 0.8801 GB, free: 31.45 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009371/1.21, allocations: 3.427 MB / 0.8835 GB, free: 31.41 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001628/1.211, allocations: 0.6296 MB / 0.8841 GB, free: 31.34 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001897/1.213, allocations: 1.023 MB / 0.8851 GB, free: 31.05 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.006153/1.219, allocations: 3.916 MB / 0.8889 GB, free: 30.16 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/1.22, allocations: 0 / 0.8889 GB, free: 30.16 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.172e-06/1.22, allocations: 0 / 0.8889 GB, free: 30.16 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.818e-05/1.22, allocations: 4 kB / 0.8889 GB, free: 30.16 MB / 0.6387 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.003467/1.223, allocations: 2.425 MB / 0.8913 GB, free: 28.72 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/1.223, allocations: 13.09 kB / 0.8913 GB, free: 28.72 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004515/1.228, allocations: 0.6425 MB / 0.8919 GB, free: 28.49 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001927/1.23, allocations: 1.327 MB / 0.8932 GB, free: 27.83 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.282e-05/1.23, allocations: 103.1 kB / 0.8933 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001872/1.23, allocations: 136.3 kB / 0.8935 GB, free: 27.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00224/1.232, allocations: 1.569 MB / 0.895 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/1.232, allocations: 6.531 kB / 0.895 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001313/1.232, allocations: 56.66 kB / 0.8951 GB, free: 27.34 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.262e-05/1.232, allocations: 46.2 kB / 0.8951 GB, free: 27.33 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001828/1.234, allocations: 1.265 MB / 0.8963 GB, free: 27.12 MB / 0.6387 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.007231/1.241, allocations: 7.205 MB / 0.9034 GB, free: 22.23 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008697/1.242, allocations: 0.6515 MB / 0.904 GB, free: 22.13 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000432/1.243, allocations: 369.7 kB / 0.9044 GB, free: 22.08 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000169/1.243, allocations: 109.5 kB / 0.9045 GB, free: 21.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/1.243, allocations: 47.2 kB / 0.9045 GB, free: 21.94 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007649/1.244, allocations: 149.5 kB / 0.9046 GB, free: 21.87 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=67): time 3.947e-06/1.244, allocations: 0 / 0.9046 GB, free: 21.87 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67): time 0.001756/1.245, allocations: 1.015 MB / 0.9056 GB, free: 21.65 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.209e-05/1.245, allocations: 60.19 kB / 0.9057 GB, free: 21.59 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001313/1.247, allocations: 1.337 MB / 0.907 GB, free: 20.69 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.349e-05/1.247, allocations: 50.52 kB / 0.9071 GB, free: 20.64 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000369/1.247, allocations: 0.7679 MB / 0.9078 GB, free: 19.9 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000152/1.247, allocations: 246.5 kB / 0.908 GB, free: 19.66 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002531/1.248, allocations: 202 kB / 0.9082 GB, free: 19.46 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.744e-05/1.248, allocations: 341.9 kB / 0.9086 GB, free: 19.12 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004467/1.248, allocations: 356.7 kB / 0.9089 GB, free: 18.77 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/1.249, allocations: 0.684 MB / 0.9096 GB, free: 17.96 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009682/1.25, allocations: 0.9468 MB / 0.9105 GB, free: 16.94 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/1.25, allocations: 4 kB / 0.9105 GB, free: 16.94 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001426/1.251, allocations: 1.146 MB / 0.9116 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/1.251, allocations: 11.98 kB / 0.9116 GB, free: 15.81 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/1.251, allocations: 7.938 kB / 0.9116 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.15e-05/1.251, allocations: 12 kB / 0.9116 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008537/1.252, allocations: 208.7 kB / 0.9118 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.613e-05/1.252, allocations: 14.53 kB / 0.9119 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001474/1.254, allocations: 123.9 kB / 0.912 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/1.254, allocations: 50.42 kB / 0.912 GB, free: 15.42 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008569/1.255, allocations: 0.6869 MB / 0.9127 GB, free: 14.73 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005775/1.255, allocations: 0.6711 MB / 0.9133 GB, free: 13.93 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009397/1.256, allocations: 0.9479 MB / 0.9143 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.985e-06/1.256, allocations: 336 / 0.9143 GB, free: 12.91 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001421/1.258, allocations: 1.153 MB / 0.9154 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/1.258, allocations: 9.719 kB / 0.9154 GB, free: 11.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.643e-06/1.258, allocations: 7.938 kB / 0.9154 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.013e-05/1.258, allocations: 15.94 kB / 0.9154 GB, free: 11.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007848/1.258, allocations: 211.8 kB / 0.9156 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.248e-05/1.258, allocations: 14.44 kB / 0.9156 GB, free: 11.56 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/1.26, allocations: 127.7 kB / 0.9158 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-05/1.26, allocations: 43.98 kB / 0.9158 GB, free: 11.39 MB / 0.6387 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.0002118/1.26, allocations: 239.9 kB / 0.916 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/1.26, allocations: 154.1 kB / 0.9162 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001181/1.262, allocations: 0.8226 MB / 0.917 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.512e-06/1.262, allocations: 8 kB / 0.917 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/1.262, allocations: 0 / 0.917 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007757/1.262, allocations: 0.781 MB / 0.9178 GB, free: 9.352 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002844/1.265, allocations: 2.296 MB / 0.92 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.265, allocations: 6.625 kB / 0.92 GB, free: 7.004 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007697/1.266, allocations: 165 kB / 0.9202 GB, free: 6.848 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/1.266, allocations: 4 kB / 0.9202 GB, free: 6.844 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-05/1.266, allocations: 16 kB / 0.9202 GB, free: 6.828 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/1.266, allocations: 6.719 kB / 0.9202 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.474e-06/1.266, allocations: 8 kB / 0.9202 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/1.267, allocations: 1.314 MB / 0.9215 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004069/1.268, allocations: 315.2 kB / 0.9218 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001749/1.268, allocations: 16 kB / 0.9218 GB, free: 5.125 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/1.269, allocations: 93.27 kB / 0.9219 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.57e-05/1.269, allocations: 50.88 kB / 0.9219 GB, free: 4.988 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.692e-05/1.269, allocations: 31.98 kB / 0.922 GB, free: 4.957 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009238/1.27, allocations: 0.9083 MB / 0.9229 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/1.27, allocations: 3.938 kB / 0.9229 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001646/1.272, allocations: 0.8456 MB / 0.9237 GB, free: 3.199 MB / 0.6387 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.0004348/1.272, allocations: 264.7 kB / 0.9239 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001632/1.274, allocations: 1.329 MB / 0.9252 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/1.274, allocations: 0 / 0.9252 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003796/1.274, allocations: 349 kB / 0.9256 GB, free: 1.359 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003392/1.278, allocations: 0.8344 MB / 0.9264 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004383/1.282, allocations: 3.484 MB / 0.9298 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009559/1.283, allocations: 1.349 MB / 0.9311 GB, free: 11.65 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001696/1.285, allocations: 416.4 kB / 0.9315 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003063/1.285, allocations: 119.4 kB / 0.9316 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of SimCode: time 8.51e-07/1.285, allocations: 0 / 0.9316 GB, free: 11.12 MB / 0.6544 GB Notification: Performance of Templates: time 0.04654/1.332, allocations: 28.13 MB / 0.9591 GB, free: 15.46 MB / 0.6856 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)