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.00596/0.00596, allocations: 109.8 kB / 15.74 MB, free: 6.453 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.001292/0.001292, allocations: 196.6 kB / 16.67 MB, free: 6.355 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.386/1.386, 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-master/package.mo): time 1.007/1.007, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 63.91 kB / 0.5856 GB, free: 3.309 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4403/0.4417, allocations: 80.92 MB / 0.6647 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6464/1.088, allocations: 274.6 MB / 0.9328 GB, free: 16.53 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.02045/1.109, allocations: 17.34 MB / 0.9497 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003412/1.112, allocations: 71.56 kB / 0.9498 GB, free: 16.15 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002979/1.115, allocations: 1.205 MB / 0.951 GB, free: 16.12 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.008298/1.123, allocations: 3.219 MB / 0.9541 GB, free: 15.99 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.006451/1.13, allocations: 2.244 MB / 0.9563 GB, free: 15.9 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00655/1.136, allocations: 4.826 MB / 0.961 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002732/1.139, allocations: 1.759 MB / 0.9628 GB, free: 15.1 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007808/1.147, allocations: 2.495 MB / 0.9652 GB, free: 14.38 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00347/1.151, allocations: 1.551 MB / 0.9667 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007009/1.151, allocations: 190.4 kB / 0.9669 GB, free: 13.9 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00785/1.159, allocations: 3.026 MB / 0.9698 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001782/1.161, allocations: 0.723 MB / 0.9706 GB, free: 12.59 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003238/1.164, allocations: 1.115 MB / 0.9716 GB, free: 11.89 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007317/1.171, allocations: 3.831 MB / 0.9754 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 1.771e-05/1.172, allocations: 0 / 0.9754 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.384e-06/1.172, allocations: 0 / 0.9754 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.608e-05/1.172, allocations: 4 kB / 0.9754 GB, free: 9.613 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.00352/1.175, allocations: 2.422 MB / 0.9778 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/1.175, allocations: 11.56 kB / 0.9778 GB, free: 7.863 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004106/1.179, allocations: 0.6396 MB / 0.9784 GB, free: 7.605 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002042/1.181, allocations: 1.398 MB / 0.9798 GB, free: 6.602 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.955e-05/1.181, allocations: 100.6 kB / 0.9798 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002027/1.182, allocations: 146.6 kB / 0.98 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002206/1.184, allocations: 1.559 MB / 0.9815 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/1.184, allocations: 2.625 kB / 0.9815 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001159/1.184, allocations: 60 kB / 0.9816 GB, free: 5.465 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-05/1.184, allocations: 54.39 kB / 0.9816 GB, free: 5.41 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001678/1.186, allocations: 1.257 MB / 0.9829 GB, free: 4.156 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.007632/1.193, allocations: 7.196 MB / 0.9899 GB, free: 12.52 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000999/1.194, allocations: 0.6521 MB / 0.9905 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005721/1.195, allocations: 371 kB / 0.9909 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002088/1.195, allocations: 113 kB / 0.991 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.803e-05/1.195, allocations: 43.06 kB / 0.991 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005373/1.196, allocations: 99.11 kB / 0.9911 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=67): time 2.594e-06/1.196, allocations: 4 kB / 0.9911 GB, free: 11.23 MB / 0.7012 GB Notification: Performance of matching and sorting (n=67): time 0.001849/1.198, allocations: 1.007 MB / 0.9921 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/1.198, allocations: 59.97 kB / 0.9922 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/1.199, allocations: 1.339 MB / 0.9935 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/1.199, allocations: 45.7 kB / 0.9935 GB, free: 8.746 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000629/1.2, allocations: 0.7828 MB / 0.9943 GB, free: 7.961 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002019/1.2, allocations: 238 kB / 0.9945 GB, free: 7.73 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/1.2, allocations: 198.5 kB / 0.9947 GB, free: 7.531 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000141/1.201, allocations: 349.9 kB / 0.995 GB, free: 7.184 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005323/1.201, allocations: 356.7 kB / 0.9954 GB, free: 6.832 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007934/1.202, allocations: 0.6723 MB / 0.996 GB, free: 6.031 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/1.203, allocations: 0.9507 MB / 0.9969 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.203, allocations: 0 / 0.9969 GB, free: 5.012 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001754/1.205, allocations: 1.149 MB / 0.9981 GB, free: 3.895 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/1.205, allocations: 8 kB / 0.9981 GB, free: 3.887 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/1.205, allocations: 8 kB / 0.9981 GB, free: 3.879 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/1.205, allocations: 12.81 kB / 0.9981 GB, free: 3.867 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008912/1.206, allocations: 216.6 kB / 0.9983 GB, free: 3.668 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.758e-05/1.206, allocations: 10.62 kB / 0.9983 GB, free: 3.66 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001174/1.207, allocations: 57.36 kB / 0.9984 GB, free: 3.605 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/1.207, allocations: 36 kB / 0.9984 GB, free: 3.57 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001042/1.208, allocations: 0.6922 MB / 0.9991 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007681/1.209, allocations: 0.6781 MB / 0.9997 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00121/1.21, allocations: 0.9429 MB / 1.001 GB, free: 1.059 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.871e-06/1.21, allocations: 4 kB / 1.001 GB, free: 1.055 MB / 0.7012 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001649/1.212, allocations: 1.149 MB / 1.002 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/1.212, allocations: 15.94 kB / 1.002 GB, free: 15.93 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/1.212, allocations: 8 kB / 1.002 GB, free: 15.92 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/1.212, allocations: 12 kB / 1.002 GB, free: 15.91 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008055/1.213, allocations: 203.3 kB / 1.002 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.747e-05/1.213, allocations: 18.42 kB / 1.002 GB, free: 15.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/1.214, allocations: 58 kB / 1.002 GB, free: 15.65 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.909e-05/1.214, allocations: 43.97 kB / 1.002 GB, free: 15.61 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.0002553/1.214, allocations: 245 kB / 1.002 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/1.215, allocations: 154.1 kB / 1.003 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001382/1.216, allocations: 0.8228 MB / 1.003 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/1.216, allocations: 8 kB / 1.003 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/1.216, allocations: 4 kB / 1.003 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000973/1.217, allocations: 0.7809 MB / 1.004 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003368/1.22, allocations: 2.287 MB / 1.006 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/1.22, allocations: 0 / 1.006 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008386/1.221, allocations: 179.7 kB / 1.006 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/1.221, allocations: 4 kB / 1.006 GB, free: 11.05 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.341e-05/1.221, allocations: 16 kB / 1.007 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/1.221, allocations: 6.531 kB / 1.007 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/1.221, allocations: 0 / 1.007 GB, free: 11.03 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001782/1.223, allocations: 1.311 MB / 1.008 GB, free: 9.688 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005364/1.224, allocations: 319.3 kB / 1.008 GB, free: 9.355 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/1.224, allocations: 19.92 kB / 1.008 GB, free: 9.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008706/1.225, allocations: 35.98 kB / 1.008 GB, free: 9.301 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.311e-05/1.225, allocations: 46.88 kB / 1.008 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.787e-05/1.225, allocations: 39.92 kB / 1.008 GB, free: 9.219 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001187/1.226, allocations: 0.9044 MB / 1.009 GB, free: 8.316 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/1.226, allocations: 4 kB / 1.009 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001965/1.228, allocations: 0.8378 MB / 1.01 GB, free: 7.473 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.0005922/1.229, allocations: 255.8 kB / 1.01 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002158/1.231, allocations: 1.333 MB / 1.011 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.231, allocations: 4 kB / 1.011 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005077/1.231, allocations: 350.1 kB / 1.012 GB, free: 5.629 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/1.235, allocations: 0.8377 MB / 1.013 GB, free: 4.812 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005146/1.24, allocations: 2.871 MB / 1.015 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009837/1.241, allocations: 1.352 MB / 1.017 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001515/1.242, allocations: 411.5 kB / 1.017 GB, free: 120 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002902/1.243, allocations: 111.4 kB / 1.017 GB, free: 12 kB / 0.7169 GB Notification: Performance of SimCode: time 1.152e-06/1.243, allocations: 0 / 1.017 GB, free: 12 kB / 0.7169 GB Notification: Performance of Templates: time 0.05022/1.293, allocations: 29.31 MB / 1.046 GB, free: 3.133 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)