Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005506/0.005506, allocations: 101.1 kB / 15.73 MB, free: 5.992 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.0012/0.0012, allocations: 198.8 kB / 16.68 MB, free: 5.918 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8021/0.8021, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001415/0.001415, allocations: 67.23 kB / 0.5814 GB, free: 23.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1593/0.1607, allocations: 80.2 MB / 0.6597 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6782/0.839, allocations: 274.6 MB / 0.9278 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02452/0.8636, allocations: 17.36 MB / 0.9448 GB, free: 1.648 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002389/0.866, allocations: 67.62 kB / 0.9449 GB, free: 1.582 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.002882/0.8689, allocations: 1.212 MB / 0.946 GB, free: 372 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.007935/0.8769, allocations: 3.22 MB / 0.9492 GB, free: 13.13 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006264/0.8832, allocations: 2.225 MB / 0.9514 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006655/0.8898, allocations: 4.838 MB / 0.9561 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002454/0.8923, allocations: 1.761 MB / 0.9578 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005675/0.898, allocations: 2.502 MB / 0.9602 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/0.9007, allocations: 1.53 MB / 0.9617 GB, free: 268 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003077/0.901, allocations: 192 kB / 0.9619 GB, free: 76 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005857/0.9069, allocations: 3.028 MB / 0.9649 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007602/0.9077, allocations: 0.7168 MB / 0.9656 GB, free: 12.32 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001422/0.9091, allocations: 1.12 MB / 0.9667 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005973/0.9151, allocations: 3.833 MB / 0.9704 GB, free: 7.352 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.9151, allocations: 4 kB / 0.9704 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.493e-06/0.9151, allocations: 0 / 0.9704 GB, free: 7.348 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.995e-05/0.9151, allocations: 0 / 0.9704 GB, free: 7.348 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.003984/0.9191, allocations: 2.427 MB / 0.9728 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.9192, allocations: 8.031 kB / 0.9728 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00429/0.9235, allocations: 0.6378 MB / 0.9734 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002336/0.9258, allocations: 1.4 MB / 0.9748 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001193/0.926, allocations: 102.5 kB / 0.9749 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003209/0.9263, allocations: 140 kB / 0.975 GB, free: 2.508 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002898/0.9292, allocations: 1.565 MB / 0.9765 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.577e-05/0.9293, allocations: 7.875 kB / 0.9766 GB, free: 0.8672 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.9294, allocations: 56 kB / 0.9766 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-05/0.9295, allocations: 46.45 kB / 0.9766 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/0.9317, allocations: 1.266 MB / 0.9779 GB, free: 15.49 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.009127/0.9409, allocations: 7.187 MB / 0.9849 GB, free: 7.734 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/0.9419, allocations: 0.6618 MB / 0.9856 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004982/0.9424, allocations: 367 kB / 0.9859 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002189/0.9426, allocations: 105.6 kB / 0.986 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.9427, allocations: 43.12 kB / 0.986 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005542/0.9432, allocations: 99.11 kB / 0.9861 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=67): time 3.336e-06/0.9432, allocations: 0 / 0.9861 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of matching and sorting (n=67): time 0.001882/0.9451, allocations: 1.02 MB / 0.9871 GB, free: 5.41 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.9452, allocations: 55.97 kB / 0.9872 GB, free: 5.34 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/0.9468, allocations: 1.339 MB / 0.9885 GB, free: 3.992 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 7.672e-05/0.9469, allocations: 45.7 kB / 0.9885 GB, free: 3.941 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/0.9475, allocations: 0.7697 MB / 0.9893 GB, free: 3.164 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002527/0.9477, allocations: 244.6 kB / 0.9895 GB, free: 2.922 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003013/0.948, allocations: 202.8 kB / 0.9897 GB, free: 2.719 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.9482, allocations: 349.9 kB / 0.99 GB, free: 2.371 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005456/0.9487, allocations: 356.6 kB / 0.9904 GB, free: 2.02 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000831/0.9496, allocations: 0.6868 MB / 0.9911 GB, free: 1.191 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.9508, allocations: 0.9449 MB / 0.992 GB, free: 164 kB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/0.9508, allocations: 4 kB / 0.992 GB, free: 160 kB / 0.7481 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001814/0.9527, allocations: 1.144 MB / 0.9931 GB, free: 15 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.9527, allocations: 12.11 kB / 0.9931 GB, free: 14.99 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.442e-05/0.9527, allocations: 12 kB / 0.9931 GB, free: 14.98 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.416e-05/0.9527, allocations: 8 kB / 0.9931 GB, free: 14.97 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000909/0.9537, allocations: 207.7 kB / 0.9933 GB, free: 14.77 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.9537, allocations: 15.98 kB / 0.9933 GB, free: 14.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/0.9549, allocations: 49.84 kB / 0.9934 GB, free: 14.7 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.046e-05/0.955, allocations: 39.98 kB / 0.9934 GB, free: 14.66 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001091/0.9561, allocations: 0.6862 MB / 0.9941 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007869/0.9569, allocations: 0.6829 MB / 0.9948 GB, free: 13.16 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001214/0.9581, allocations: 0.941 MB / 0.9957 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.989e-06/0.9581, allocations: 8 kB / 0.9957 GB, free: 12.12 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001718/0.9598, allocations: 1.14 MB / 0.9968 GB, free: 10.97 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.9599, allocations: 8 kB / 0.9968 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.9599, allocations: 8 kB / 0.9968 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.9599, allocations: 8 kB / 0.9968 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000839/0.9607, allocations: 215.6 kB / 0.997 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.9608, allocations: 15.94 kB / 0.9971 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.962, allocations: 60.19 kB / 0.9971 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.04e-05/0.9621, allocations: 43.98 kB / 0.9972 GB, free: 10.62 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.0002733/0.9623, allocations: 244 kB / 0.9974 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002169/0.9626, allocations: 154.1 kB / 0.9975 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001412/0.964, allocations: 0.8241 MB / 0.9983 GB, free: 9.375 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.847e-06/0.964, allocations: 4 kB / 0.9983 GB, free: 9.371 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.964, allocations: 4 kB / 0.9983 GB, free: 9.367 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001023/0.965, allocations: 0.7746 MB / 0.9991 GB, free: 8.543 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003296/0.9683, allocations: 2.302 MB / 1.001 GB, free: 6.16 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.9684, allocations: 0 / 1.001 GB, free: 6.16 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008504/0.9692, allocations: 171.8 kB / 1.002 GB, free: 5.992 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.588e-06/0.9692, allocations: 7.938 kB / 1.002 GB, free: 5.984 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.9693, allocations: 20 kB / 1.002 GB, free: 5.965 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.173e-06/0.9693, allocations: 4 kB / 1.002 GB, free: 5.961 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.397e-06/0.9693, allocations: 0 / 1.002 GB, free: 5.961 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.9712, allocations: 1.308 MB / 1.003 GB, free: 4.617 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005785/0.9718, allocations: 331 kB / 1.003 GB, free: 4.273 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001599/0.972, allocations: 20 kB / 1.003 GB, free: 4.254 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008535/0.9728, allocations: 38.78 kB / 1.003 GB, free: 4.219 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.569e-05/0.9729, allocations: 44.44 kB / 1.003 GB, free: 4.176 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.901e-05/0.973, allocations: 35.97 kB / 1.003 GB, free: 4.141 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.00123/0.9742, allocations: 0.9044 MB / 1.004 GB, free: 3.238 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9742, allocations: 0 / 1.004 GB, free: 3.238 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001876/0.9761, allocations: 0.834 MB / 1.005 GB, free: 2.402 MB / 0.7637 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.0006018/0.9767, allocations: 253.4 kB / 1.005 GB, free: 2.16 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.002181/0.9789, allocations: 1.33 MB / 1.007 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.9789, allocations: 1.875 kB / 1.007 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0004897/0.9794, allocations: 350.9 kB / 1.007 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003284/0.9827, allocations: 0.8472 MB / 1.008 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004389/0.9871, allocations: 2.869 MB / 1.01 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009254/0.9881, allocations: 1.344 MB / 1.012 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001463/0.9896, allocations: 404.3 kB / 1.012 GB, free: 11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.9899, allocations: 123.4 kB / 1.012 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of SimCode: time 9.11e-07/0.9899, allocations: 0 / 1.012 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of Templates: time 0.04867/1.039, allocations: 29.32 MB / 1.041 GB, free: 13.85 MB / 0.8106 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)