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.005697/0.005697, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001188/0.001188, allocations: 202 kB / 16.68 MB, free: 5.969 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.389/1.389, allocations: 222.9 MB / 240.4 MB, free: 4.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9125/0.9125, allocations: 135.1 MB / 425.7 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 63.91 kB / 0.5856 GB, free: 3.324 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4388/0.4401, allocations: 80.92 MB / 0.6647 GB, free: 7.574 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.686/1.126, allocations: 274.6 MB / 0.9328 GB, free: 16.52 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0198/1.146, allocations: 17.33 MB / 0.9497 GB, free: 16.13 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002881/1.149, allocations: 70.44 kB / 0.9498 GB, free: 16.13 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.003975/1.153, allocations: 1.168 MB / 0.951 GB, free: 16.11 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008761/1.162, allocations: 3.091 MB / 0.954 GB, free: 15.97 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005625/1.167, allocations: 2.218 MB / 0.9561 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006231/1.174, allocations: 4.824 MB / 0.9609 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/1.176, allocations: 1.763 MB / 0.9626 GB, free: 15.13 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005423/1.182, allocations: 2.404 MB / 0.9649 GB, free: 14.46 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003053/1.185, allocations: 1.542 MB / 0.9664 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0006167/1.185, allocations: 191.5 kB / 0.9666 GB, free: 13.98 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006161/1.191, allocations: 3.015 MB / 0.9696 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001048/1.193, allocations: 0.7214 MB / 0.9703 GB, free: 12.71 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002101/1.195, allocations: 1.119 MB / 0.9714 GB, free: 12.01 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005934/1.201, allocations: 3.843 MB / 0.9751 GB, free: 9.723 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/1.201, allocations: 3.938 kB / 0.9751 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.232e-06/1.201, allocations: 0 / 0.9751 GB, free: 9.719 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.501e-05/1.201, allocations: 0 / 0.9751 GB, free: 9.719 MB / 0.6856 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.003363/1.204, allocations: 2.49 MB / 0.9775 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/1.204, allocations: 7.438 kB / 0.9775 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004205/1.208, allocations: 0.6549 MB / 0.9782 GB, free: 7.633 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001986/1.21, allocations: 1.41 MB / 0.9796 GB, free: 6.613 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/1.21, allocations: 105.8 kB / 0.9797 GB, free: 6.566 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/1.211, allocations: 138.6 kB / 0.9798 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002121/1.213, allocations: 1.561 MB / 0.9813 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.337e-05/1.213, allocations: 6.875 kB / 0.9813 GB, free: 5.539 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001138/1.213, allocations: 53.31 kB / 0.9814 GB, free: 5.5 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-05/1.213, allocations: 47.86 kB / 0.9814 GB, free: 5.492 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00165/1.215, allocations: 1.269 MB / 0.9827 GB, free: 4.285 MB / 0.6856 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.007447/1.222, allocations: 7.212 MB / 0.9897 GB, free: 12.63 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/1.223, allocations: 0.6451 MB / 0.9903 GB, free: 11.98 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005735/1.224, allocations: 371 kB / 0.9907 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002312/1.224, allocations: 112.6 kB / 0.9908 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.235e-05/1.224, allocations: 43.06 kB / 0.9908 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007262/1.225, allocations: 99.39 kB / 0.9909 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=67): time 2.845e-06/1.225, allocations: 0 / 0.9909 GB, free: 11.35 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67): time 0.001934/1.227, allocations: 1.02 MB / 0.9919 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.358e-05/1.227, allocations: 59.97 kB / 0.992 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/1.228, allocations: 1.343 MB / 0.9933 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.899e-05/1.228, allocations: 45.7 kB / 0.9933 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006142/1.229, allocations: 0.7883 MB / 0.9941 GB, free: 8.062 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000235/1.229, allocations: 255.3 kB / 0.9944 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003197/1.23, allocations: 201 kB / 0.9945 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000204/1.23, allocations: 341.9 kB / 0.9949 GB, free: 7.277 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005412/1.23, allocations: 360.7 kB / 0.9952 GB, free: 6.922 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007894/1.231, allocations: 0.6766 MB / 0.9959 GB, free: 6.117 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/1.232, allocations: 0.9507 MB / 0.9968 GB, free: 5.098 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/1.232, allocations: 4 kB / 0.9968 GB, free: 5.094 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001771/1.234, allocations: 1.154 MB / 0.9979 GB, free: 3.973 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/1.234, allocations: 11.98 kB / 0.9979 GB, free: 3.961 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.234, allocations: 4 kB / 0.998 GB, free: 3.957 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/1.234, allocations: 12 kB / 0.998 GB, free: 3.945 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008721/1.235, allocations: 211.9 kB / 0.9982 GB, free: 3.754 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.735e-05/1.235, allocations: 18.53 kB / 0.9982 GB, free: 3.738 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001269/1.237, allocations: 49.42 kB / 0.9982 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.811e-05/1.237, allocations: 43.98 kB / 0.9983 GB, free: 3.648 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001007/1.238, allocations: 0.6868 MB / 0.9989 GB, free: 2.957 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007326/1.238, allocations: 0.6802 MB / 0.9996 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001163/1.24, allocations: 0.9467 MB / 1.001 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.587e-06/1.24, allocations: 0 / 1.001 GB, free: 1.133 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001652/1.241, allocations: 1.156 MB / 1.002 GB, free: 12 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/1.241, allocations: 14.12 kB / 1.002 GB, free: 0 / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/1.241, allocations: 8.141 kB / 1.002 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/1.241, allocations: 15.98 kB / 1.002 GB, free: 15.97 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008011/1.242, allocations: 211.2 kB / 1.002 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.446e-05/1.242, allocations: 14.53 kB / 1.002 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00123/1.243, allocations: 47.97 kB / 1.002 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.869e-05/1.243, allocations: 43.98 kB / 1.002 GB, free: 15.68 MB / 0.7169 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.000263/1.244, allocations: 243.5 kB / 1.002 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000243/1.244, allocations: 163 kB / 1.002 GB, free: 15.29 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001403/1.245, allocations: 0.8149 MB / 1.003 GB, free: 14.47 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.245, allocations: 8 kB / 1.003 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.245, allocations: 0 / 1.003 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009641/1.246, allocations: 0.7785 MB / 1.004 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003386/1.25, allocations: 2.297 MB / 1.006 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/1.25, allocations: 4 kB / 1.006 GB, free: 11.29 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008319/1.251, allocations: 175.7 kB / 1.006 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.765e-06/1.251, allocations: 4 kB / 1.006 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/1.251, allocations: 20 kB / 1.006 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/1.251, allocations: 4 kB / 1.006 GB, free: 11.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/1.251, allocations: 4 kB / 1.006 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001723/1.252, allocations: 1.326 MB / 1.008 GB, free: 9.738 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006094/1.253, allocations: 324 kB / 1.008 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002641/1.253, allocations: 16 kB / 1.008 GB, free: 9.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009002/1.254, allocations: 33.39 kB / 1.008 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.985e-05/1.254, allocations: 48.45 kB / 1.008 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.772e-05/1.254, allocations: 35.97 kB / 1.008 GB, free: 9.273 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001209/1.256, allocations: 0.9044 MB / 1.009 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7.02e-07/1.256, allocations: 0 / 1.009 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001834/1.257, allocations: 0.8486 MB / 1.01 GB, free: 7.523 MB / 0.7169 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.0005241/1.258, allocations: 259.5 kB / 1.01 GB, free: 7.289 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002039/1.26, allocations: 1.337 MB / 1.011 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.26, allocations: 0 / 1.011 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004612/1.261, allocations: 351.7 kB / 1.012 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003394/1.264, allocations: 0.839 MB / 1.013 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004087/1.268, allocations: 2.923 MB / 1.015 GB, free: 1.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008835/1.269, allocations: 1.348 MB / 1.017 GB, free: 0.5156 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001349/1.27, allocations: 408.3 kB / 1.017 GB, free: 116 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/1.271, allocations: 115.4 kB / 1.017 GB, free: 4 kB / 0.7169 GB Notification: Performance of SimCode: time 8.72e-07/1.271, allocations: 0 / 1.017 GB, free: 4 kB / 0.7169 GB Notification: Performance of Templates: time 0.04567/1.316, allocations: 29.32 MB / 1.046 GB, free: 3.125 MB / 0.7481 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)