Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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: 108.9 kB / 16.41 MB, free: 6.449 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.001314/0.001314, allocations: 185.5 kB / 17.34 MB, free: 5.723 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.333/1.333, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7771/0.7771, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 66.36 kB / 0.5863 GB, free: 21.53 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1575, allocations: 80.92 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6655/0.8231, allocations: 274.6 MB / 0.9335 GB, free: 12.35 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02412/0.8473, allocations: 17.35 MB / 0.9504 GB, free: 10.95 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002627/0.8499, allocations: 67.62 kB / 0.9505 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004094/0.854, allocations: 1.212 MB / 0.9517 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009057/0.8632, allocations: 3.212 MB / 0.9548 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005875/0.8691, allocations: 2.237 MB / 0.957 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007061/0.8762, allocations: 4.824 MB / 0.9617 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002875/0.8791, allocations: 1.765 MB / 0.9634 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005717/0.8848, allocations: 2.491 MB / 0.9659 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002884/0.8877, allocations: 1.544 MB / 0.9674 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.000564/0.8883, allocations: 196 kB / 0.9675 GB, free: 9.371 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005929/0.8942, allocations: 3.024 MB / 0.9705 GB, free: 6.34 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001067/0.8953, allocations: 0.7207 MB / 0.9712 GB, free: 5.617 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002152/0.8975, allocations: 1.116 MB / 0.9723 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007328/0.9048, allocations: 3.833 MB / 0.976 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.9048, allocations: 0 / 0.976 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.373e-06/0.9049, allocations: 0 / 0.976 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001048/0.905, allocations: 4 kB / 0.976 GB, free: 0.6484 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.005617/0.9106, allocations: 2.419 MB / 0.9784 GB, free: 14.16 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.9107, allocations: 13.11 kB / 0.9784 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004588/0.9152, allocations: 0.6455 MB / 0.979 GB, free: 13.5 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00268/0.9179, allocations: 1.393 MB / 0.9804 GB, free: 12.05 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.9181, allocations: 102.5 kB / 0.9805 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003289/0.9184, allocations: 143.9 kB / 0.9806 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002928/0.9213, allocations: 1.565 MB / 0.9822 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.569e-05/0.9214, allocations: 3.938 kB / 0.9822 GB, free: 10.17 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000157/0.9216, allocations: 60 kB / 0.9822 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.349e-05/0.9216, allocations: 42.45 kB / 0.9823 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002248/0.9239, allocations: 1.27 MB / 0.9835 GB, free: 8.793 MB / 0.7481 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.009587/0.9335, allocations: 7.187 MB / 0.9905 GB, free: 1.031 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.9345, allocations: 0.6503 MB / 0.9912 GB, free: 384 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005004/0.935, allocations: 373.4 kB / 0.9915 GB, free: 12 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002292/0.9353, allocations: 105.7 kB / 0.9916 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.9353, allocations: 43.12 kB / 0.9917 GB, free: 15.84 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006992/0.9361, allocations: 111 kB / 0.9918 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=67): time 4.739e-06/0.9361, allocations: 0 / 0.9918 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67): time 0.002166/0.9382, allocations: 1.001 MB / 0.9927 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.6e-05/0.9383, allocations: 67.95 kB / 0.9928 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002003/0.9403, allocations: 1.339 MB / 0.9941 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.9404, allocations: 45.7 kB / 0.9942 GB, free: 13.24 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006544/0.9411, allocations: 0.7775 MB / 0.9949 GB, free: 12.46 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.9414, allocations: 236.6 kB / 0.9951 GB, free: 12.22 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000342/0.9417, allocations: 198.5 kB / 0.9953 GB, free: 12.02 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.9419, allocations: 345.9 kB / 0.9957 GB, free: 11.68 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000565/0.9424, allocations: 364.7 kB / 0.996 GB, free: 11.32 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007904/0.9432, allocations: 0.6832 MB / 0.9967 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001258/0.9445, allocations: 0.945 MB / 0.9976 GB, free: 9.465 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.9445, allocations: 4 kB / 0.9976 GB, free: 9.461 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001912/0.9465, allocations: 1.151 MB / 0.9987 GB, free: 8.301 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.002e-05/0.9465, allocations: 8 kB / 0.9987 GB, free: 8.293 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.9465, allocations: 4 kB / 0.9987 GB, free: 8.289 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.998e-05/0.9466, allocations: 15.98 kB / 0.9988 GB, free: 8.273 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008848/0.9475, allocations: 212.2 kB / 0.999 GB, free: 8.066 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.525e-05/0.9475, allocations: 12 kB / 0.999 GB, free: 8.055 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/0.9489, allocations: 54.66 kB / 0.999 GB, free: 8.004 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.77e-05/0.949, allocations: 51.91 kB / 0.9991 GB, free: 7.953 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001146/0.9501, allocations: 0.6853 MB / 0.9997 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007946/0.9509, allocations: 0.6827 MB / 1 GB, free: 6.441 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001241/0.9522, allocations: 0.9449 MB / 1.001 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/0.9522, allocations: 0 / 1.001 GB, free: 5.402 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001901/0.9541, allocations: 1.144 MB / 1.002 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.9541, allocations: 8 kB / 1.002 GB, free: 4.246 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.9542, allocations: 4 kB / 1.002 GB, free: 4.242 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.9542, allocations: 16.03 kB / 1.002 GB, free: 4.227 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008477/0.955, allocations: 211.6 kB / 1.003 GB, free: 4.02 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.951e-05/0.9551, allocations: 15.94 kB / 1.003 GB, free: 4.004 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.9565, allocations: 55.91 kB / 1.003 GB, free: 3.949 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.306e-05/0.9566, allocations: 43.98 kB / 1.003 GB, free: 3.906 MB / 0.7637 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.0002856/0.9569, allocations: 240 kB / 1.003 GB, free: 3.664 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000364/0.9573, allocations: 158.1 kB / 1.003 GB, free: 3.508 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.9589, allocations: 0.8163 MB / 1.004 GB, free: 2.676 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.9589, allocations: 4 kB / 1.004 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.9589, allocations: 0 / 1.004 GB, free: 2.672 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009494/0.9598, allocations: 0.7785 MB / 1.005 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003661/0.9635, allocations: 2.298 MB / 1.007 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.561e-06/0.9635, allocations: 0 / 1.007 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008484/0.9644, allocations: 180 kB / 1.007 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/0.9644, allocations: 7.938 kB / 1.007 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.579e-05/0.9645, allocations: 12 kB / 1.007 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.883e-06/0.9645, allocations: 4 kB / 1.007 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.9645, allocations: 11.94 kB / 1.007 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.9664, allocations: 1.308 MB / 1.008 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006304/0.967, allocations: 331.1 kB / 1.009 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.9673, allocations: 12 kB / 1.009 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009662/0.9683, allocations: 41 kB / 1.009 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.711e-05/0.9684, allocations: 44.45 kB / 1.009 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.736e-05/0.9685, allocations: 31.98 kB / 1.009 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001369/0.9699, allocations: 0.9083 MB / 1.01 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9699, allocations: 0 / 1.01 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002012/0.9719, allocations: 0.834 MB / 1.011 GB, free: 11.7 MB / 0.7794 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.0005957/0.9725, allocations: 259.1 kB / 1.011 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002125/0.9746, allocations: 1.327 MB / 1.012 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.9747, allocations: 4.062 kB / 1.012 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004692/0.9751, allocations: 354.9 kB / 1.012 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003629/0.9788, allocations: 0.8326 MB / 1.013 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004692/0.9835, allocations: 2.957 MB / 1.016 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009761/0.9845, allocations: 1.344 MB / 1.018 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004016/0.9849, allocations: 119.4 kB / 1.018 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of SimCode: time 7.52e-07/0.9849, allocations: 0 / 1.018 GB, free: 4.445 MB / 0.7794 GB Notification: Performance of Templates: time 0.03608/1.021, allocations: 25.31 MB / 1.042 GB, free: 11.26 MB / 0.8106 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)