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.005568/0.005574, allocations: 104.8 kB / 15.73 MB, free: 6.039 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.001327/0.001327, allocations: 193 kB / 16.67 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.395/1.395, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8184/0.8184, allocations: 132.2 MB / 422.7 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 68.08 kB / 0.5814 GB, free: 7.547 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.458/0.4593, allocations: 80.2 MB / 0.6597 GB, free: 10.31 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7686/1.228, allocations: 274.6 MB / 0.9278 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02217/1.25, allocations: 17.34 MB / 0.9448 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003462/1.254, allocations: 68.34 kB / 0.9448 GB, free: 16.34 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002856/1.257, allocations: 1.215 MB / 0.946 GB, free: 16.31 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.007775/1.264, allocations: 3.217 MB / 0.9492 GB, free: 16.18 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.005574/1.27, allocations: 2.232 MB / 0.9513 GB, free: 16.11 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006857/1.277, allocations: 4.842 MB / 0.9561 GB, free: 16.01 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002676/1.28, allocations: 1.766 MB / 0.9578 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006699/1.286, allocations: 2.488 MB / 0.9602 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002989/1.289, allocations: 1.55 MB / 0.9617 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000327/1.29, allocations: 191.9 kB / 0.9619 GB, free: 15.12 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005999/1.296, allocations: 3.023 MB / 0.9649 GB, free: 14.53 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007537/1.296, allocations: 0.7189 MB / 0.9656 GB, free: 14.18 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001383/1.298, allocations: 1.121 MB / 0.9667 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005191/1.303, allocations: 3.828 MB / 0.9704 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/1.303, allocations: 0 / 0.9704 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.422e-06/1.303, allocations: 0 / 0.9704 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.25e-05/1.303, allocations: 4 kB / 0.9704 GB, free: 11.21 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.003675/1.307, allocations: 2.42 MB / 0.9728 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/1.307, allocations: 10.56 kB / 0.9728 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004217/1.311, allocations: 0.6424 MB / 0.9734 GB, free: 9.199 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001917/1.313, allocations: 1.402 MB / 0.9748 GB, free: 8.191 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.996e-05/1.313, allocations: 99.3 kB / 0.9749 GB, free: 8.148 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001785/1.313, allocations: 141.9 kB / 0.975 GB, free: 8.102 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002249/1.315, allocations: 1.567 MB / 0.9765 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.603e-05/1.316, allocations: 2.531 kB / 0.9765 GB, free: 7.117 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001293/1.316, allocations: 55.72 kB / 0.9766 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.661e-05/1.316, allocations: 47.8 kB / 0.9766 GB, free: 7.07 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001849/1.318, allocations: 1.269 MB / 0.9779 GB, free: 6.43 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.006727/1.324, allocations: 7.194 MB / 0.9849 GB, free: 15.26 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/1.325, allocations: 0.6497 MB / 0.9855 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005136/1.326, allocations: 370.9 kB / 0.9859 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001963/1.326, allocations: 113.5 kB / 0.986 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.57e-05/1.326, allocations: 43.12 kB / 0.986 GB, free: 14.07 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000512/1.327, allocations: 99.05 kB / 0.9861 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=67): time 2.785e-06/1.327, allocations: 4 kB / 0.9861 GB, free: 13.97 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67): time 0.001839/1.328, allocations: 1.012 MB / 0.9871 GB, free: 12.96 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.818e-05/1.329, allocations: 59.95 kB / 0.9872 GB, free: 12.89 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001613/1.33, allocations: 1.343 MB / 0.9885 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.311e-05/1.33, allocations: 49.64 kB / 0.9885 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005668/1.331, allocations: 0.7725 MB / 0.9893 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000197/1.331, allocations: 234.2 kB / 0.9895 GB, free: 10.48 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002994/1.331, allocations: 201.3 kB / 0.9897 GB, free: 10.28 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001354/1.331, allocations: 349.9 kB / 0.9901 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/1.332, allocations: 356.7 kB / 0.9904 GB, free: 9.578 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007962/1.333, allocations: 0.6762 MB / 0.9911 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001235/1.334, allocations: 0.9507 MB / 0.992 GB, free: 7.754 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.252e-06/1.334, allocations: 3.984 kB / 0.992 GB, free: 7.75 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001748/1.336, allocations: 1.145 MB / 0.9931 GB, free: 6.637 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.336, allocations: 11.94 kB / 0.9931 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/1.336, allocations: 12.83 kB / 0.9931 GB, free: 6.613 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/1.336, allocations: 12 kB / 0.9931 GB, free: 6.602 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008927/1.337, allocations: 208.7 kB / 0.9933 GB, free: 6.41 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/1.337, allocations: 17.06 kB / 0.9934 GB, free: 6.398 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/1.338, allocations: 47.97 kB / 0.9934 GB, free: 6.352 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.267e-05/1.338, allocations: 39.98 kB / 0.9934 GB, free: 6.312 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001021/1.339, allocations: 0.6821 MB / 0.9941 GB, free: 5.625 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008243/1.34, allocations: 0.6773 MB / 0.9948 GB, free: 4.816 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00125/1.341, allocations: 0.9468 MB / 0.9957 GB, free: 3.809 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.919e-06/1.341, allocations: 4 kB / 0.9957 GB, free: 3.805 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001722/1.343, allocations: 1.139 MB / 0.9968 GB, free: 2.691 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/1.343, allocations: 12.03 kB / 0.9968 GB, free: 2.68 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.818e-06/1.343, allocations: 11.94 kB / 0.9968 GB, free: 2.668 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/1.343, allocations: 12 kB / 0.9968 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008692/1.344, allocations: 211.2 kB / 0.997 GB, free: 2.465 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.528e-05/1.344, allocations: 14.53 kB / 0.9971 GB, free: 2.453 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001265/1.345, allocations: 54.55 kB / 0.9971 GB, free: 2.402 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.759e-05/1.345, allocations: 39.98 kB / 0.9971 GB, free: 2.363 MB / 0.7012 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.0002562/1.346, allocations: 245 kB / 0.9974 GB, free: 2.129 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002288/1.346, allocations: 156.6 kB / 0.9975 GB, free: 1.977 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001396/1.347, allocations: 0.8163 MB / 0.9983 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/1.347, allocations: 8 kB / 0.9983 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/1.347, allocations: 4 kB / 0.9983 GB, free: 1.141 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000975/1.348, allocations: 0.7887 MB / 0.9991 GB, free: 312 kB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003209/1.351, allocations: 2.293 MB / 1.001 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.352, allocations: 4.188 kB / 1.001 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009079/1.352, allocations: 175.6 kB / 1.002 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.887e-06/1.352, allocations: 4 kB / 1.002 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.886e-05/1.352, allocations: 16 kB / 1.002 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/1.353, allocations: 4 kB / 1.002 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/1.353, allocations: 0 / 1.002 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/1.354, allocations: 1.314 MB / 1.003 GB, free: 12.42 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004993/1.355, allocations: 323.2 kB / 1.003 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002003/1.355, allocations: 12 kB / 1.003 GB, free: 12.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009389/1.356, allocations: 43.81 kB / 1.003 GB, free: 12.04 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.109e-05/1.356, allocations: 40.45 kB / 1.003 GB, free: 12 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.299e-05/1.356, allocations: 39.97 kB / 1.003 GB, free: 11.96 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001227/1.357, allocations: 0.9005 MB / 1.004 GB, free: 11.06 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.31e-07/1.357, allocations: 4 kB / 1.004 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001847/1.359, allocations: 0.8378 MB / 1.005 GB, free: 10.21 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.000525/1.36, allocations: 259 kB / 1.005 GB, free: 9.98 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002057/1.362, allocations: 1.332 MB / 1.007 GB, free: 8.711 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.362, allocations: 4 kB / 1.007 GB, free: 8.707 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0004815/1.362, allocations: 349 kB / 1.007 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003578/1.366, allocations: 0.8404 MB / 1.008 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004079/1.37, allocations: 2.869 MB / 1.01 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000894/1.371, allocations: 1.356 MB / 1.012 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001371/1.372, allocations: 414.9 kB / 1.012 GB, free: 2.895 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002951/1.373, allocations: 115.4 kB / 1.012 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of SimCode: time 4.91e-07/1.373, allocations: 0 / 1.012 GB, free: 2.781 MB / 0.7169 GB Notification: Performance of Templates: time 0.04773/1.42, allocations: 29.31 MB / 1.041 GB, free: 5.961 MB / 0.7481 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)