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.0007902/0.0007903, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006672/0.006672, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.383/1.383, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7724/0.7724, allocations: 132.4 MB / 423.8 MB, free: 1.969 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003312/0.0003312, allocations: 16 kB / 0.504 GB, free: 3.934 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4024/0.4028, allocations: 81.58 MB / 0.5837 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7281/1.131, allocations: 268.8 MB / 0.8462 GB, free: 17.11 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02201/1.153, allocations: 17.26 MB / 0.863 GB, free: 16.92 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002829/1.156, allocations: 57.31 kB / 0.8631 GB, free: 16.92 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002771/1.159, allocations: 1.004 MB / 0.8641 GB, free: 16.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008188/1.167, allocations: 2.921 MB / 0.8669 GB, free: 16.74 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005891/1.173, allocations: 2.01 MB / 0.8689 GB, free: 16.67 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.008619/1.181, allocations: 6.734 MB / 0.8754 GB, free: 16.65 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002477/1.184, allocations: 1.433 MB / 0.8768 GB, free: 16.44 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006237/1.19, allocations: 2.058 MB / 0.8789 GB, free: 16.4 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004172/1.194, allocations: 1.518 MB / 0.8803 GB, free: 16.39 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0004358/1.195, allocations: 74.59 kB / 0.8804 GB, free: 16.39 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007402/1.202, allocations: 3.395 MB / 0.8837 GB, free: 16.36 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001109/1.203, allocations: 0.6014 MB / 0.8843 GB, free: 16.35 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001986/1.205, allocations: 1.001 MB / 0.8853 GB, free: 16.32 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007278/1.213, allocations: 3.841 MB / 0.889 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.213, allocations: 0 / 0.889 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.184e-06/1.213, allocations: 6.906 kB / 0.889 GB, free: 15.94 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.559e-05/1.213, allocations: 0 / 0.889 GB, free: 15.94 MB / 0.6387 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.003751/1.217, allocations: 2.026 MB / 0.891 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/1.217, allocations: 13.69 kB / 0.891 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00432/1.221, allocations: 0.649 MB / 0.8917 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002133/1.223, allocations: 1.336 MB / 0.893 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.974e-05/1.223, allocations: 102.9 kB / 0.8931 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/1.223, allocations: 139.8 kB / 0.8932 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/1.226, allocations: 1.569 MB / 0.8947 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.729e-05/1.226, allocations: 4.5 kB / 0.8947 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001327/1.226, allocations: 57 kB / 0.8948 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.423e-05/1.226, allocations: 46.11 kB / 0.8948 GB, free: 13.2 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001904/1.228, allocations: 1.269 MB / 0.8961 GB, free: 13 MB / 0.6387 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.007826/1.236, allocations: 7.215 MB / 0.9031 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008784/1.237, allocations: 0.6512 MB / 0.9038 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004462/1.237, allocations: 370 kB / 0.9041 GB, free: 7.961 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001735/1.237, allocations: 106.3 kB / 0.9042 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.169e-05/1.237, allocations: 48.02 kB / 0.9043 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008192/1.238, allocations: 144.8 kB / 0.9044 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=67): time 2.956e-06/1.238, allocations: 0 / 0.9044 GB, free: 7.754 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67): time 0.001666/1.24, allocations: 1.013 MB / 0.9054 GB, free: 7.539 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/1.24, allocations: 62.58 kB / 0.9055 GB, free: 7.473 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/1.242, allocations: 1.342 MB / 0.9068 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.392e-05/1.242, allocations: 44.08 kB / 0.9068 GB, free: 7.059 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005491/1.242, allocations: 0.7672 MB / 0.9076 GB, free: 6.688 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002099/1.243, allocations: 242.3 kB / 0.9078 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/1.243, allocations: 94.12 kB / 0.9079 GB, free: 6.484 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001048/1.243, allocations: 343.1 kB / 0.9082 GB, free: 6.164 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/1.243, allocations: 351.2 kB / 0.9085 GB, free: 6.117 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007039/1.244, allocations: 0.6781 MB / 0.9092 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/1.245, allocations: 0.9545 MB / 0.9101 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.91e-06/1.245, allocations: 0 / 0.9101 GB, free: 5.363 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001796/1.247, allocations: 1.147 MB / 0.9113 GB, free: 5.137 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001584/1.247, allocations: 292.2 kB / 0.9115 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.473e-05/1.247, allocations: 6.125 kB / 0.9115 GB, free: 4.801 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-05/1.247, allocations: 17.38 kB / 0.9116 GB, free: 4.797 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008904/1.248, allocations: 206.8 kB / 0.9118 GB, free: 4.773 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.209e-05/1.248, allocations: 19.47 kB / 0.9118 GB, free: 4.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001681/1.25, allocations: 120 kB / 0.9119 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.863e-05/1.25, allocations: 42.36 kB / 0.9119 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.487e-06/1.25, allocations: 5.75 kB / 0.9119 GB, free: 4.727 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001403/1.251, allocations: 0.9822 MB / 0.9129 GB, free: 4.609 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/1.251, allocations: 16.38 kB / 0.9129 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.025e-05/1.251, allocations: 8.812 kB / 0.9129 GB, free: 4.605 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007757/1.252, allocations: 210.1 kB / 0.9131 GB, free: 4.582 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.437e-05/1.252, allocations: 18.16 kB / 0.9131 GB, free: 4.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001546/1.254, allocations: 122.8 kB / 0.9132 GB, free: 4.531 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.575e-05/1.254, allocations: 47.66 kB / 0.9133 GB, free: 4.523 MB / 0.6387 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.001013/1.255, allocations: 0.4891 MB / 0.9138 GB, free: 4.301 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002237/1.255, allocations: 148.6 kB / 0.9139 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001326/1.256, allocations: 0.8233 MB / 0.9147 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/1.256, allocations: 6.281 kB / 0.9147 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/1.256, allocations: 3.406 kB / 0.9147 GB, free: 4.039 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008489/1.257, allocations: 0.7847 MB / 0.9155 GB, free: 3.719 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003342/1.261, allocations: 2.293 MB / 0.9177 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.261, allocations: 0 / 0.9177 GB, free: 2.895 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008262/1.261, allocations: 178.7 kB / 0.9179 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/1.261, allocations: 5.062 kB / 0.9179 GB, free: 2.867 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.417e-05/1.262, allocations: 18.66 kB / 0.9179 GB, free: 2.863 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.776e-06/1.262, allocations: 7.359 kB / 0.9179 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/1.262, allocations: 5.906 kB / 0.9179 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001867/1.263, allocations: 1.304 MB / 0.9192 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007451/1.264, allocations: 324.1 kB / 0.9195 GB, free: 2.102 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001857/1.264, allocations: 17.75 kB / 0.9195 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001118/1.266, allocations: 103 kB / 0.9196 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.266, allocations: 40.44 kB / 0.9197 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.381e-05/1.266, allocations: 34.27 kB / 0.9197 GB, free: 1.953 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001329/1.267, allocations: 0.9072 MB / 0.9206 GB, free: 1.289 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.5e-07/1.267, allocations: 4 kB / 0.9206 GB, free: 1.285 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00195/1.269, allocations: 0.8472 MB / 0.9214 GB, free: 492 kB / 0.6387 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.0006112/1.27, allocations: 251 kB / 0.9217 GB, free: 280 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002236/1.272, allocations: 1.327 MB / 0.923 GB, free: 15 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.272, allocations: 0 / 0.923 GB, free: 15 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0005055/1.272, allocations: 349 kB / 0.9233 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005228/1.278, allocations: 0.8508 MB / 0.9241 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00557/1.283, allocations: 3.622 MB / 0.9277 GB, free: 10.19 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001002/1.284, allocations: 1.345 MB / 0.929 GB, free: 8.809 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002066/1.286, allocations: 416.4 kB / 0.9294 GB, free: 8.395 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003483/1.287, allocations: 115.4 kB / 0.9295 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of SimCode: time 1.232e-06/1.287, allocations: 0 / 0.9295 GB, free: 8.281 MB / 0.6544 GB Notification: Performance of Templates: time 0.05089/1.338, allocations: 28.14 MB / 0.957 GB, free: 12.61 MB / 0.6856 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)