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.001156/0.001156, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7364/0.7364, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.792/1.792, allocations: 221.3 MB / 400.4 MB, free: 5.883 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001001/0.001001, allocations: 96.69 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.05e-05/4.054e-05, allocations: 3.125 kB / 0.56 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2289/0.229, allocations: 82.3 MB / 0.6404 GB, free: 7.855 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.824/6.053, allocations: 1.892 GB / 2.532 GB, free: 4.273 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002281/6.054, allocations: 93.92 kB / 2.532 GB, free: 4.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.119/11.17, allocations: 1.306 GB / 3.838 GB, free: 24.24 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.854e-06/11.17, allocations: 3.938 kB / 3.838 GB, free: 24.23 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001371/11.17, allocations: 43.98 kB / 3.838 GB, free: 24.19 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.004625/11.18, allocations: 2.084 MB / 3.84 GB, free: 22.04 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/11.18, allocations: 15.97 kB / 3.84 GB, free: 22.03 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004277/11.18, allocations: 0.5011 MB / 3.84 GB, free: 21.52 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004036/11.19, allocations: 1.738 MB / 3.842 GB, free: 19.73 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.322e-05/11.19, allocations: 102.5 kB / 3.842 GB, free: 19.63 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002008/11.19, allocations: 136 kB / 3.842 GB, free: 19.5 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/11.19, allocations: 1.524 MB / 3.844 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/11.19, allocations: 0 / 3.844 GB, free: 17.9 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/11.19, allocations: 64 kB / 3.844 GB, free: 17.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-05/11.19, allocations: 46.41 kB / 3.844 GB, free: 17.79 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/11.19, allocations: 1.232 MB / 3.845 GB, free: 16.55 MB / 0.7136 GB Warning: The model contains alias variables with conflicting start and/or 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.007391/11.2, allocations: 7.179 MB / 3.852 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008638/11.2, allocations: 0.6704 MB / 3.853 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004684/11.2, allocations: 374.8 kB / 3.853 GB, free: 7.766 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002017/11.2, allocations: 113.6 kB / 3.853 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/11.2, allocations: 39.12 kB / 3.853 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009795/11.2, allocations: 175 kB / 3.854 GB, free: 7.418 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=67): time 2.745e-06/11.2, allocations: 3.938 kB / 3.854 GB, free: 7.414 MB / 0.7136 GB Notification: Performance of matching and sorting (n=67): time 0.00131/11.2, allocations: 0.7668 MB / 3.854 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.966e-05/11.2, allocations: 63.92 kB / 3.854 GB, free: 6.562 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/11.2, allocations: 1.147 MB / 3.855 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.734e-05/11.2, allocations: 41.7 kB / 3.856 GB, free: 5.363 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003924/11.2, allocations: 0.7817 MB / 3.856 GB, free: 4.574 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001521/11.2, allocations: 237 kB / 3.856 GB, free: 4.34 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.845e-05/11.2, allocations: 16 kB / 3.857 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.592e-05/11.2, allocations: 345.9 kB / 3.857 GB, free: 3.98 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004031/11.2, allocations: 305.9 kB / 3.857 GB, free: 3.684 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005512/11.2, allocations: 0.6492 MB / 3.858 GB, free: 2.887 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005128/11.21, allocations: 424.2 kB / 3.858 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.468e-06/11.21, allocations: 8 kB / 3.858 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.001285/11.21, allocations: 1.049 MB / 3.859 GB, free: 1.406 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006949/11.21, allocations: 2.507 MB / 3.862 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/11.21, allocations: 8 kB / 3.862 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/11.21, allocations: 12 kB / 3.862 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008312/11.21, allocations: 195.7 kB / 3.862 GB, free: 14.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.407e-05/11.21, allocations: 19.92 kB / 3.862 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001501/11.21, allocations: 119.5 kB / 3.862 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/11.21, allocations: 43.98 kB / 3.862 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.779e-06/11.21, allocations: 4 kB / 3.862 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001346/11.21, allocations: 0.8923 MB / 3.863 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/11.21, allocations: 8.844 kB / 3.863 GB, free: 13.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/11.21, allocations: 11.98 kB / 3.863 GB, free: 13.46 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007432/11.21, allocations: 199.7 kB / 3.863 GB, free: 13.26 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.493e-05/11.21, allocations: 15.92 kB / 3.863 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/11.21, allocations: 115.7 kB / 3.863 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.068e-05/11.21, allocations: 35.98 kB / 3.863 GB, free: 13.1 MB / 0.7292 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 () * 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.000237/11.21, allocations: 160.9 kB / 3.863 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/11.21, allocations: 154.1 kB / 3.864 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00158/11.22, allocations: 0.835 MB / 3.864 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/11.22, allocations: 4 kB / 3.864 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/11.22, allocations: 4 kB / 3.864 GB, free: 11.92 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009721/11.22, allocations: 0.793 MB / 3.865 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004123/11.22, allocations: 2.334 MB / 3.867 GB, free: 8.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.226e-06/11.22, allocations: 11.88 kB / 3.867 GB, free: 8.648 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008782/11.22, allocations: 163.9 kB / 3.868 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.639e-05/11.22, allocations: 4 kB / 3.868 GB, free: 8.484 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.009e-05/11.22, allocations: 27.92 kB / 3.868 GB, free: 8.457 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-05/11.22, allocations: 8.188 kB / 3.868 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/11.22, allocations: 0 / 3.868 GB, free: 8.449 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002448/11.22, allocations: 1.414 MB / 3.869 GB, free: 6.957 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009226/11.23, allocations: 331 kB / 3.869 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000185/11.23, allocations: 20 kB / 3.869 GB, free: 6.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/11.23, allocations: 95.75 kB / 3.869 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/11.23, allocations: 52.5 kB / 3.87 GB, free: 6.449 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.473e-05/11.23, allocations: 27.98 kB / 3.87 GB, free: 6.422 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001535/11.23, allocations: 0.8798 MB / 3.87 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.51e-07/11.23, allocations: 0 / 3.87 GB, free: 5.543 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.004271/11.23, allocations: 1.158 MB / 3.872 GB, free: 4.383 MB / 0.7292 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 () * 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.00625/11.24, allocations: 3.167 MB / 3.875 GB, free: 0.875 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.554/11.79, allocations: 1.278 MB / 3.876 GB, free: 82.2 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.243e-05/11.79, allocations: 1.75 kB / 3.876 GB, free: 82.2 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0006704/11.79, allocations: 349 kB / 3.876 GB, free: 82.2 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005308/11.8, allocations: 0.8879 MB / 3.877 GB, free: 82.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006559/11.81, allocations: 2.327 MB / 3.879 GB, free: 81.59 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001386/11.81, allocations: 1.385 MB / 3.881 GB, free: 80.87 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.003224/11.81, allocations: 0.5596 MB / 3.881 GB, free: 80.85 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003179/11.81, allocations: 95.84 kB / 3.881 GB, free: 80.84 MB / 0.7292 GB Notification: Performance of SimCode: time 1.513e-06/11.81, allocations: 2.375 kB / 3.881 GB, free: 80.84 MB / 0.7292 GB Notification: Performance of Templates: time 0.1023/11.91, allocations: 72.52 MB / 3.952 GB, free: 78.57 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)