Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001307/0.001307, allocations: 107 kB / 16.4 MB, free: 6.402 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.001348/0.001348, allocations: 195.1 kB / 17.34 MB, free: 5.695 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.265/1.265, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6925/0.6925, allocations: 115.3 MB / 406.5 MB, free: 6.117 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 63.97 kB / 0.5577 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.137/0.1382, allocations: 76.18 MB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.57/0.7082, allocations: 274.6 MB / 0.9002 GB, free: 9.566 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02429/0.7326, allocations: 17.36 MB / 0.9172 GB, free: 8.148 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002476/0.7352, allocations: 71.62 kB / 0.9173 GB, free: 8.078 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002943/0.7381, allocations: 1.157 MB / 0.9184 GB, free: 6.914 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007522/0.7457, allocations: 3.106 MB / 0.9214 GB, free: 3.797 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005162/0.7508, allocations: 2.208 MB / 0.9236 GB, free: 1.594 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006308/0.7572, allocations: 4.845 MB / 0.9283 GB, free: 12.74 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002401/0.7596, allocations: 1.771 MB / 0.93 GB, free: 10.94 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005643/0.7652, allocations: 2.449 MB / 0.9324 GB, free: 8.496 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002858/0.7681, allocations: 1.538 MB / 0.9339 GB, free: 6.965 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003966/0.7685, allocations: 192 kB / 0.9341 GB, free: 6.777 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005732/0.7743, allocations: 3.009 MB / 0.9371 GB, free: 3.762 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0008066/0.7751, allocations: 0.7285 MB / 0.9378 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001475/0.7766, allocations: 1.124 MB / 0.9389 GB, free: 1.902 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006217/0.7828, allocations: 3.829 MB / 0.9426 GB, free: 14.06 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.7828, allocations: 7.938 kB / 0.9426 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7828, allocations: 0 / 0.9426 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.575e-05/0.7829, allocations: 0 / 0.9426 GB, free: 14.05 MB / 0.7012 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.003856/0.7867, allocations: 2.431 MB / 0.945 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.7868, allocations: 8.031 kB / 0.945 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004162/0.7909, allocations: 0.6456 MB / 0.9456 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002201/0.7932, allocations: 1.4 MB / 0.947 GB, free: 9.441 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.861e-05/0.7933, allocations: 110.5 kB / 0.9471 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001876/0.7935, allocations: 136 kB / 0.9472 GB, free: 9.199 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002362/0.7958, allocations: 1.565 MB / 0.9488 GB, free: 7.566 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.777e-05/0.7959, allocations: 4 kB / 0.9488 GB, free: 7.562 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001229/0.796, allocations: 56 kB / 0.9488 GB, free: 7.508 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/0.796, allocations: 46.39 kB / 0.9489 GB, free: 7.461 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001918/0.798, allocations: 1.274 MB / 0.9501 GB, free: 6.18 MB / 0.7012 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.007837/0.8058, allocations: 7.202 MB / 0.9571 GB, free: 14.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001003/0.8068, allocations: 0.6531 MB / 0.9578 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004759/0.8073, allocations: 370.3 kB / 0.9581 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001768/0.8075, allocations: 113.6 kB / 0.9582 GB, free: 13.26 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.8075, allocations: 39.12 kB / 0.9583 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000508/0.8081, allocations: 103.1 kB / 0.9584 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=67): time 2.545e-06/0.8081, allocations: 0 / 0.9584 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67): time 0.001691/0.8098, allocations: 1.02 MB / 0.9594 GB, free: 12.08 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.8098, allocations: 55.97 kB / 0.9594 GB, free: 12.02 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.8113, allocations: 1.343 MB / 0.9607 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.733e-05/0.8114, allocations: 45.7 kB / 0.9608 GB, free: 10.61 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/0.8119, allocations: 0.7736 MB / 0.9615 GB, free: 9.832 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001908/0.8121, allocations: 236.6 kB / 0.9618 GB, free: 9.598 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.8124, allocations: 206.3 kB / 0.962 GB, free: 9.391 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.8125, allocations: 349.9 kB / 0.9623 GB, free: 9.043 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/0.8131, allocations: 360.7 kB / 0.9626 GB, free: 8.688 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007329/0.8138, allocations: 0.679 MB / 0.9633 GB, free: 7.867 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.815, allocations: 0.9488 MB / 0.9642 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.815, allocations: 4 kB / 0.9642 GB, free: 6.82 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001615/0.8166, allocations: 1.152 MB / 0.9654 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.8166, allocations: 8 kB / 0.9654 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.8166, allocations: 8 kB / 0.9654 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.156e-05/0.8167, allocations: 12 kB / 0.9654 GB, free: 5.637 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008244/0.8175, allocations: 211.6 kB / 0.9656 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.741e-05/0.8175, allocations: 12.11 kB / 0.9656 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.8187, allocations: 51.5 kB / 0.9656 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.102e-05/0.8187, allocations: 47.98 kB / 0.9657 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009614/0.8197, allocations: 0.6889 MB / 0.9664 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007176/0.8204, allocations: 0.6915 MB / 0.967 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00117/0.8216, allocations: 0.9489 MB / 0.968 GB, free: 2.762 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.628e-06/0.8216, allocations: 3.938 kB / 0.968 GB, free: 2.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001592/0.8232, allocations: 1.144 MB / 0.9691 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.8232, allocations: 8 kB / 0.9691 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.8233, allocations: 8 kB / 0.9691 GB, free: 1.594 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.8233, allocations: 12 kB / 0.9691 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000802/0.8241, allocations: 211.6 kB / 0.9693 GB, free: 1.375 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.8241, allocations: 16.47 kB / 0.9693 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.8253, allocations: 63.89 kB / 0.9694 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.335e-05/0.8254, allocations: 39.98 kB / 0.9694 GB, free: 1.258 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.0002512/0.8256, allocations: 247.9 kB / 0.9697 GB, free: 1.008 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000204/0.8259, allocations: 146.2 kB / 0.9698 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00131/0.8272, allocations: 0.8319 MB / 0.9706 GB, free: 16 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.8272, allocations: 8 kB / 0.9706 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.8272, allocations: 0 / 0.9706 GB, free: 8 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009249/0.8281, allocations: 0.7785 MB / 0.9714 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003013/0.8311, allocations: 2.314 MB / 0.9736 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.768e-06/0.8312, allocations: 0 / 0.9736 GB, free: 12.79 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007839/0.832, allocations: 167.8 kB / 0.9738 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.832, allocations: 4 kB / 0.9738 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.778e-05/0.832, allocations: 19.94 kB / 0.9738 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.743e-06/0.832, allocations: 4 kB / 0.9738 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.832, allocations: 8.125 kB / 0.9738 GB, free: 12.59 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001576/0.8336, allocations: 1.261 MB / 0.9751 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004489/0.8341, allocations: 319.2 kB / 0.9754 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001658/0.8343, allocations: 19.94 kB / 0.9754 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008463/0.8351, allocations: 40.52 kB / 0.9754 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.528e-05/0.8352, allocations: 44.44 kB / 0.9755 GB, free: 10.86 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.904e-05/0.8353, allocations: 31.98 kB / 0.9755 GB, free: 10.83 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001079/0.8364, allocations: 0.9083 MB / 0.9764 GB, free: 9.922 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8364, allocations: 4 kB / 0.9764 GB, free: 9.918 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001634/0.838, allocations: 0.8262 MB / 0.9772 GB, free: 9.09 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (humBac.vol.dynBal.medium.Xi[1],humBac.vol.dynBal.U,humBac.vol.dynBal.m,humFor.vol.dynBal.medium.Xi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m) * 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.0004705/0.8385, allocations: 274 kB / 0.9775 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001862/0.8404, allocations: 1.335 MB / 0.9788 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.8404, allocations: 0 / 0.9788 GB, free: 7.488 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004283/0.8408, allocations: 351.5 kB / 0.9791 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003261/0.8441, allocations: 0.839 MB / 0.9799 GB, free: 6.324 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003921/0.848, allocations: 2.892 MB / 0.9827 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008244/0.8488, allocations: 1.348 MB / 0.9841 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001276/0.8501, allocations: 412.3 kB / 0.9845 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/0.8504, allocations: 123.4 kB / 0.9846 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of SimCode: time 3.9e-07/0.8504, allocations: 0 / 0.9846 GB, free: 1.469 MB / 0.7325 GB Notification: Performance of Templates: time 0.04354/0.894, allocations: 29.26 MB / 1.013 GB, free: 4.535 MB / 0.7637 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)