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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.01383/0.01383, allocations: 171.6 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8302/0.8302, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.2 MB / 406.9 MB, free: 3.219 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 98.56 kB / 489.9 MB, free: 10.9 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003848, allocations: 16 kB / 0.5691 GB, free: 14.16 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5542/0.5546, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.913/5.468, allocations: 1.892 GB / 2.541 GB, free: 46.12 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002425/5.468, allocations: 98.45 kB / 2.541 GB, free: 46.07 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.287/9.755, allocations: 1.307 GB / 3.848 GB, free: 46.13 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.264e-06/9.755, allocations: 3.938 kB / 3.848 GB, free: 46.12 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001467/9.755, allocations: 47.98 kB / 3.848 GB, free: 46.08 MB / 0.7136 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.006066/9.761, allocations: 2.373 MB / 3.851 GB, free: 43.63 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/9.761, allocations: 8.031 kB / 3.851 GB, free: 43.62 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004584/9.765, allocations: 0.4973 MB / 3.851 GB, free: 43.12 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004415/9.77, allocations: 1.753 MB / 3.853 GB, free: 41.32 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.266e-05/9.77, allocations: 106.5 kB / 3.853 GB, free: 41.21 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002286/9.77, allocations: 139.9 kB / 3.853 GB, free: 41.08 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002584/9.773, allocations: 1.548 MB / 3.855 GB, free: 39.46 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.323e-05/9.773, allocations: 0 / 3.855 GB, free: 39.46 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/9.773, allocations: 56 kB / 3.855 GB, free: 39.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.184e-05/9.773, allocations: 46.45 kB / 3.855 GB, free: 39.36 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001843/9.775, allocations: 1.266 MB / 3.856 GB, free: 38.08 MB / 0.7136 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.008431/9.783, allocations: 7.203 MB / 3.863 GB, free: 30.34 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008871/9.784, allocations: 0.6803 MB / 3.864 GB, free: 29.65 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001957/9.784, allocations: 101.6 kB / 3.864 GB, free: 29.53 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.299e-05/9.785, allocations: 47.12 kB / 3.864 GB, free: 29.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001065/9.786, allocations: 167.1 kB / 3.864 GB, free: 29.31 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=67): time 2.725e-06/9.786, allocations: 4 kB / 3.864 GB, free: 29.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67): time 0.001681/9.787, allocations: 1.028 MB / 3.865 GB, free: 28.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/9.787, allocations: 59.95 kB / 3.865 GB, free: 28.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/9.789, allocations: 1.156 MB / 3.866 GB, free: 27.04 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.029e-05/9.789, allocations: 45.7 kB / 3.866 GB, free: 26.99 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004226/9.789, allocations: 0.7818 MB / 3.867 GB, free: 26.2 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001655/9.789, allocations: 244.4 kB / 3.867 GB, free: 25.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.184e-05/9.789, allocations: 20 kB / 3.867 GB, free: 25.94 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.289e-05/9.79, allocations: 341.9 kB / 3.868 GB, free: 25.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004247/9.79, allocations: 321.8 kB / 3.868 GB, free: 25.29 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005599/9.791, allocations: 0.6416 MB / 3.868 GB, free: 24.5 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005214/9.791, allocations: 441.4 kB / 3.869 GB, free: 24.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-06/9.791, allocations: 0 / 3.869 GB, free: 24.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001346/9.792, allocations: 1.073 MB / 3.87 GB, free: 22.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004234/9.793, allocations: 2.501 MB / 3.872 GB, free: 20.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/9.793, allocations: 8 kB / 3.872 GB, free: 20.35 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/9.793, allocations: 12 kB / 3.872 GB, free: 20.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008307/9.794, allocations: 207.6 kB / 3.873 GB, free: 20.13 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/9.794, allocations: 16.42 kB / 3.873 GB, free: 20.12 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/9.795, allocations: 111.7 kB / 3.873 GB, free: 20.01 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/9.795, allocations: 35.98 kB / 3.873 GB, free: 19.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/9.795, allocations: 4 kB / 3.873 GB, free: 19.97 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001129/9.797, allocations: 0.9137 MB / 3.874 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/9.797, allocations: 8.156 kB / 3.874 GB, free: 19.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/9.797, allocations: 15.94 kB / 3.874 GB, free: 19.03 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007224/9.797, allocations: 195.7 kB / 3.874 GB, free: 18.84 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/9.797, allocations: 19.92 kB / 3.874 GB, free: 18.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001522/9.799, allocations: 111.6 kB / 3.874 GB, free: 18.71 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-05/9.799, allocations: 39.98 kB / 3.874 GB, free: 18.67 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (111): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009325/9.8, allocations: 496.9 kB / 3.874 GB, free: 18.18 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002234/9.8, allocations: 154.2 kB / 3.875 GB, free: 18.02 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001221/9.801, allocations: 0.832 MB / 3.875 GB, free: 17.18 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-06/9.801, allocations: 8 kB / 3.875 GB, free: 17.17 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.269e-06/9.801, allocations: 3.938 kB / 3.875 GB, free: 17.17 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007707/9.802, allocations: 0.7941 MB / 3.876 GB, free: 16.32 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00337/9.806, allocations: 2.357 MB / 3.879 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/9.806, allocations: 0 / 3.879 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008163/9.806, allocations: 167.8 kB / 3.879 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/9.806, allocations: 8.188 kB / 3.879 GB, free: 13.72 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.269e-05/9.807, allocations: 23.98 kB / 3.879 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.212e-06/9.807, allocations: 7.953 kB / 3.879 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/9.807, allocations: 0 / 3.879 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001511/9.808, allocations: 1.426 MB / 3.88 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007007/9.809, allocations: 327.1 kB / 3.88 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/9.809, allocations: 20 kB / 3.88 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/9.81, allocations: 99.75 kB / 3.881 GB, free: 11.73 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.08e-05/9.81, allocations: 48.39 kB / 3.881 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/9.81, allocations: 35.98 kB / 3.881 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001082/9.811, allocations: 0.8965 MB / 3.882 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.11e-07/9.811, allocations: 0 / 3.882 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.003098/9.814, allocations: 1.162 MB / 3.883 GB, free: 9.59 MB / 0.7136 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 (72): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003957/9.818, allocations: 3.186 MB / 3.886 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001738/9.82, allocations: 1.248 MB / 3.887 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/9.82, allocations: 0 / 3.887 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003902/9.821, allocations: 352.5 kB / 3.887 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004084/9.825, allocations: 0.8812 MB / 3.888 GB, free: 3.758 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004205/9.829, allocations: 3.494 MB / 3.892 GB, free: 224 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009332/9.83, allocations: 1.38 MB / 3.893 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001927/9.832, allocations: 420.7 kB / 3.893 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003226/9.832, allocations: 119.4 kB / 3.893 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of SimCode: time 5.61e-07/9.832, allocations: 8 kB / 3.893 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of Templates: time 0.4987/10.33, allocations: 62.46 MB / 3.954 GB, free: 83.39 MB / 0.7292 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)