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.001409/0.001409, allocations: 105.1 kB / 16.41 MB, free: 6.465 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.001342/0.001342, allocations: 187 kB / 17.34 MB, free: 5.715 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.443/1.443, allocations: 222.9 MB / 241.1 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8595/0.8595, allocations: 135.2 MB / 426.4 MB, free: 4.086 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001931/0.001931, allocations: 69.25 kB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1734, allocations: 80.93 MB / 0.6654 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7098/0.8832, allocations: 275.2 MB / 0.9342 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02786/0.9111, allocations: 17.38 MB / 0.9511 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003083/0.9142, allocations: 71.56 kB / 0.9512 GB, free: 10.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00393/0.9181, allocations: 1.216 MB / 0.9524 GB, free: 9.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009791/0.9279, allocations: 3.232 MB / 0.9555 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007086/0.935, allocations: 2.234 MB / 0.9577 GB, free: 3.559 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.009286/0.9443, allocations: 4.822 MB / 0.9624 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003174/0.9474, allocations: 1.486 MB / 0.9639 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007819/0.9552, allocations: 2.503 MB / 0.9663 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003851/0.9591, allocations: 1.544 MB / 0.9678 GB, free: 9.176 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0007491/0.9598, allocations: 192 kB / 0.968 GB, free: 8.988 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007427/0.9673, allocations: 3.028 MB / 0.971 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001387/0.9687, allocations: 0.7438 MB / 0.9717 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002426/0.9711, allocations: 1.116 MB / 0.9728 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008448/0.9795, allocations: 3.859 MB / 0.9766 GB, free: 220 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.9795, allocations: 0 / 0.9766 GB, free: 220 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9795, allocations: 0 / 0.9766 GB, free: 220 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.381e-05/0.9796, allocations: 7.938 kB / 0.9766 GB, free: 212 kB / 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.005403/0.985, allocations: 2.477 MB / 0.979 GB, free: 13.66 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.9851, allocations: 13.11 kB / 0.979 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00435/0.9894, allocations: 0.507 MB / 0.9795 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.9926, allocations: 1.421 MB / 0.9809 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.632e-05/0.9927, allocations: 98.55 kB / 0.981 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002573/0.9929, allocations: 140 kB / 0.9811 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002955/0.9959, allocations: 1.547 MB / 0.9826 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.9959, allocations: 3.938 kB / 0.9826 GB, free: 9.832 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/0.996, allocations: 56 kB / 0.9827 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.089e-05/0.9961, allocations: 42.52 kB / 0.9827 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002285/0.9984, allocations: 1.267 MB / 0.984 GB, free: 8.461 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.01101/1.009, allocations: 6.793 MB / 0.9906 GB, free: 1.133 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001179/1.011, allocations: 0.6324 MB / 0.9912 GB, free: 0.4961 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006369/1.011, allocations: 386 kB / 0.9916 GB, free: 120 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002407/1.011, allocations: 109.7 kB / 0.9917 GB, free: 15.99 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.772e-05/1.012, allocations: 43.12 kB / 0.9917 GB, free: 15.94 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001251/1.013, allocations: 211.2 kB / 0.9919 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=67): time 3.477e-06/1.013, allocations: 0 / 0.9919 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67): time 0.002355/1.015, allocations: 1.146 MB / 0.993 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.957e-05/1.015, allocations: 59.97 kB / 0.9931 GB, free: 14.51 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001922/1.017, allocations: 1.347 MB / 0.9944 GB, free: 13.15 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/1.017, allocations: 45.7 kB / 0.9945 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007231/1.018, allocations: 0.7868 MB / 0.9952 GB, free: 12.31 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/1.018, allocations: 253.8 kB / 0.9955 GB, free: 12.06 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003876/1.019, allocations: 218.5 kB / 0.9957 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001877/1.019, allocations: 345.9 kB / 0.996 GB, free: 11.49 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006755/1.019, allocations: 396.6 kB / 0.9964 GB, free: 11.1 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001011/1.02, allocations: 0.7219 MB / 0.9971 GB, free: 10.24 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/1.022, allocations: 1.039 MB / 0.9981 GB, free: 9.109 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/1.022, allocations: 0 / 0.9981 GB, free: 9.109 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.002357/1.024, allocations: 1.242 MB / 0.9993 GB, free: 7.859 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/1.024, allocations: 8 kB / 0.9993 GB, free: 7.852 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/1.024, allocations: 4 kB / 0.9993 GB, free: 7.848 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.812e-05/1.024, allocations: 12.33 kB / 0.9993 GB, free: 7.836 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001014/1.026, allocations: 223.6 kB / 0.9996 GB, free: 7.617 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.647e-05/1.026, allocations: 19.92 kB / 0.9996 GB, free: 7.598 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/1.027, allocations: 62.45 kB / 0.9996 GB, free: 7.539 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.832e-05/1.027, allocations: 47.98 kB / 0.9997 GB, free: 7.492 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001323/1.028, allocations: 0.7244 MB / 1 GB, free: 6.766 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001002/1.029, allocations: 0.7178 MB / 1.001 GB, free: 5.902 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001565/1.031, allocations: 1.031 MB / 1.002 GB, free: 4.785 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.308e-06/1.031, allocations: 3.938 kB / 1.002 GB, free: 4.781 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.002301/1.033, allocations: 1.242 MB / 1.003 GB, free: 3.531 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/1.033, allocations: 8.906 kB / 1.003 GB, free: 3.523 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.222e-05/1.033, allocations: 8 kB / 1.003 GB, free: 3.516 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/1.033, allocations: 12 kB / 1.003 GB, free: 3.504 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009668/1.034, allocations: 219.7 kB / 1.004 GB, free: 3.289 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.122e-05/1.034, allocations: 19.92 kB / 1.004 GB, free: 3.27 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001464/1.036, allocations: 59.91 kB / 1.004 GB, free: 3.211 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-05/1.036, allocations: 47.92 kB / 1.004 GB, free: 3.164 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.0003629/1.036, allocations: 243.9 kB / 1.004 GB, free: 2.918 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002982/1.036, allocations: 159 kB / 1.004 GB, free: 2.762 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00183/1.038, allocations: 0.9256 MB / 1.005 GB, free: 1.82 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/1.038, allocations: 8 kB / 1.005 GB, free: 1.812 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/1.038, allocations: 4 kB / 1.005 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/1.04, allocations: 0.8486 MB / 1.006 GB, free: 0.9102 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/1.044, allocations: 2.408 MB / 1.008 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.06e-06/1.044, allocations: 0 / 1.008 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008997/1.045, allocations: 167.8 kB / 1.008 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.143e-05/1.045, allocations: 4 kB / 1.008 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.135e-05/1.045, allocations: 20 kB / 1.008 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.758e-06/1.045, allocations: 16.11 kB / 1.008 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/1.045, allocations: 3.938 kB / 1.008 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002317/1.047, allocations: 1.43 MB / 1.01 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007193/1.048, allocations: 328 kB / 1.01 GB, free: 12.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/1.048, allocations: 20 kB / 1.01 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009219/1.049, allocations: 31.97 kB / 1.01 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/1.049, allocations: 40.52 kB / 1.01 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.312e-05/1.049, allocations: 35.97 kB / 1.01 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001435/1.05, allocations: 0.9121 MB / 1.011 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of sort global known variables: time 8e-08/1.05, allocations: 0 / 1.011 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002222/1.053, allocations: 0.8539 MB / 1.012 GB, free: 10.52 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.0006546/1.053, allocations: 265.2 kB / 1.012 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002567/1.056, allocations: 1.374 MB / 1.014 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.056, allocations: 0 / 1.014 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0005762/1.057, allocations: 355.9 kB / 1.014 GB, free: 8.551 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004066/1.061, allocations: 0.8389 MB / 1.015 GB, free: 7.727 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005439/1.066, allocations: 3.027 MB / 1.018 GB, free: 4.637 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001148/1.067, allocations: 1.341 MB / 1.019 GB, free: 3.27 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005919/1.068, allocations: 127.4 kB / 1.019 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of SimCode: time 1.072e-06/1.068, allocations: 0 / 1.019 GB, free: 3.145 MB / 0.7794 GB Notification: Performance of Templates: time 0.04365/1.111, allocations: 26.06 MB / 1.045 GB, free: 9.207 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)