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.001682/0.001682, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002153/0.002153, allocations: 207.8 kB / 16.79 MB, free: 6.84 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.5 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7607/0.7607, allocations: 122.9 MB / 413.5 MB, free: 11.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 69.05 kB / 0.4904 GB, free: 14.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1792/0.1805, allocations: 77.93 MB / 0.5665 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 1.041/1.222, allocations: 272.5 MB / 0.8326 GB, free: 31.9 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02775/1.249, allocations: 17.47 MB / 0.8496 GB, free: 31.75 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003672/1.253, allocations: 64.5 kB / 0.8497 GB, free: 31.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003799/1.257, allocations: 0.9963 MB / 0.8507 GB, free: 31.73 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01044/1.267, allocations: 2.92 MB / 0.8535 GB, free: 31.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007214/1.275, allocations: 2.022 MB / 0.8555 GB, free: 31.52 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01036/1.285, allocations: 6.757 MB / 0.8621 GB, free: 31.5 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003564/1.289, allocations: 1.48 MB / 0.8636 GB, free: 31.3 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008287/1.297, allocations: 2.107 MB / 0.8656 GB, free: 31.28 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004958/1.302, allocations: 1.6 MB / 0.8672 GB, free: 31.26 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.00117/1.303, allocations: 96.53 kB / 0.8673 GB, free: 31.26 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01012/1.313, allocations: 3.43 MB / 0.8706 GB, free: 31.23 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.001858/1.315, allocations: 0.6333 MB / 0.8712 GB, free: 31.23 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.003556/1.319, allocations: 1.017 MB / 0.8722 GB, free: 31.13 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.01046/1.329, allocations: 3.917 MB / 0.8761 GB, free: 30.7 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/1.329, allocations: 0 / 0.8761 GB, free: 30.7 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.884e-06/1.329, allocations: 0 / 0.8761 GB, free: 30.7 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001351/1.329, allocations: 0 / 0.8761 GB, free: 30.7 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.007541/1.337, allocations: 2.436 MB / 0.8784 GB, free: 29.5 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/1.337, allocations: 14.16 kB / 0.8784 GB, free: 29.49 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005186/1.342, allocations: 0.6396 MB / 0.8791 GB, free: 29.38 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003493/1.346, allocations: 1.334 MB / 0.8804 GB, free: 28.95 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/1.346, allocations: 101.8 kB / 0.8805 GB, free: 28.95 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000462/1.346, allocations: 134.3 kB / 0.8806 GB, free: 28.95 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/1.349, allocations: 1.575 MB / 0.8821 GB, free: 28.75 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.36e-05/1.349, allocations: 1.438 kB / 0.8821 GB, free: 28.75 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/1.35, allocations: 57.28 kB / 0.8822 GB, free: 28.75 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.578e-05/1.35, allocations: 50.45 kB / 0.8822 GB, free: 28.75 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/1.352, allocations: 1.271 MB / 0.8835 GB, free: 28.73 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.008097/1.36, allocations: 7.225 MB / 0.8905 GB, free: 23.97 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/1.361, allocations: 0.651 MB / 0.8912 GB, free: 23.87 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004507/1.361, allocations: 379.1 kB / 0.8915 GB, free: 23.81 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/1.361, allocations: 105.2 kB / 0.8916 GB, free: 23.71 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/1.361, allocations: 39.66 kB / 0.8917 GB, free: 23.68 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000908/1.362, allocations: 160 kB / 0.8918 GB, free: 23.6 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=67): time 3.566e-06/1.362, allocations: 112 / 0.8918 GB, free: 23.6 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67): time 0.001741/1.364, allocations: 1.018 MB / 0.8928 GB, free: 23.38 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/1.364, allocations: 60.66 kB / 0.8929 GB, free: 23.32 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001565/1.366, allocations: 1.343 MB / 0.8942 GB, free: 22.93 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.629e-05/1.366, allocations: 45.45 kB / 0.8942 GB, free: 22.9 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005132/1.366, allocations: 0.7695 MB / 0.895 GB, free: 22.53 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/1.367, allocations: 248.3 kB / 0.8952 GB, free: 22.36 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000338/1.367, allocations: 205.4 kB / 0.8954 GB, free: 22.31 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 8.608e-05/1.367, allocations: 343.7 kB / 0.8957 GB, free: 21.99 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000508/1.368, allocations: 353.5 kB / 0.8961 GB, free: 21.94 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/1.368, allocations: 0.68 MB / 0.8967 GB, free: 21.51 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001132/1.369, allocations: 0.9555 MB / 0.8977 GB, free: 21.19 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/1.369, allocations: 3.344 kB / 0.8977 GB, free: 21.19 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001617/1.371, allocations: 1.146 MB / 0.8988 GB, free: 20.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.371, allocations: 7.75 kB / 0.8988 GB, free: 20.98 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.585e-05/1.371, allocations: 16.06 kB / 0.8988 GB, free: 20.98 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/1.371, allocations: 10.72 kB / 0.8988 GB, free: 20.98 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008539/1.372, allocations: 216.9 kB / 0.899 GB, free: 20.95 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.059e-05/1.372, allocations: 16.83 kB / 0.8991 GB, free: 20.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/1.374, allocations: 135.6 kB / 0.8992 GB, free: 20.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.559e-05/1.374, allocations: 43.39 kB / 0.8992 GB, free: 20.89 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009914/1.375, allocations: 0.6823 MB / 0.8999 GB, free: 20.74 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000735/1.375, allocations: 0.6762 MB / 0.9006 GB, free: 20.31 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001228/1.377, allocations: 0.951 MB / 0.9015 GB, free: 19.99 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.322e-06/1.377, allocations: 2.938 kB / 0.9015 GB, free: 19.99 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001709/1.378, allocations: 1.145 MB / 0.9026 GB, free: 19.77 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/1.378, allocations: 7.969 kB / 0.9026 GB, free: 19.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/1.378, allocations: 5.531 kB / 0.9026 GB, free: 19.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/1.378, allocations: 13.5 kB / 0.9026 GB, free: 19.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00084/1.379, allocations: 213.9 kB / 0.9028 GB, free: 19.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.742e-05/1.379, allocations: 22.48 kB / 0.9029 GB, free: 19.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/1.381, allocations: 138.9 kB / 0.903 GB, free: 19.69 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.722e-05/1.381, allocations: 40 kB / 0.903 GB, free: 19.69 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.0003018/1.381, allocations: 239.5 kB / 0.9033 GB, free: 19.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002096/1.382, allocations: 153.9 kB / 0.9034 GB, free: 19.43 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/1.383, allocations: 0.8285 MB / 0.9042 GB, free: 19.25 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/1.383, allocations: 9.594 kB / 0.9042 GB, free: 19.24 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/1.383, allocations: 0 / 0.9042 GB, free: 19.24 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008489/1.384, allocations: 0.7974 MB / 0.905 GB, free: 18.88 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003101/1.387, allocations: 2.307 MB / 0.9072 GB, free: 16.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/1.387, allocations: 0 / 0.9072 GB, free: 16.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007768/1.388, allocations: 167.7 kB / 0.9074 GB, free: 16.44 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/1.388, allocations: 4 kB / 0.9074 GB, free: 16.44 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.94e-05/1.388, allocations: 23.98 kB / 0.9074 GB, free: 16.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.542e-06/1.388, allocations: 4 kB / 0.9074 GB, free: 16.41 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.388, allocations: 0 / 0.9074 GB, free: 16.41 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/1.389, allocations: 1.256 MB / 0.9087 GB, free: 15.12 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005907/1.39, allocations: 319.2 kB / 0.909 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001858/1.39, allocations: 16 kB / 0.909 GB, free: 14.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/1.391, allocations: 96.58 kB / 0.9091 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.778e-05/1.391, allocations: 43.12 kB / 0.9091 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.83e-05/1.391, allocations: 35.92 kB / 0.9092 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001022/1.392, allocations: 0.9083 MB / 0.91 GB, free: 13.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.392, allocations: 4 kB / 0.91 GB, free: 13.69 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001954/1.394, allocations: 0.8417 MB / 0.9109 GB, free: 12.85 MB / 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.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.0005158/1.395, allocations: 260.4 kB / 0.9111 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00195/1.397, allocations: 1.333 MB / 0.9124 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.397, allocations: 4 kB / 0.9124 GB, free: 11.33 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003824/1.397, allocations: 349.5 kB / 0.9128 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003528/1.401, allocations: 0.8377 MB / 0.9136 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004032/1.405, allocations: 3.506 MB / 0.917 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006165/1.405, allocations: 1.349 MB / 0.9183 GB, free: 5.27 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001677/1.407, allocations: 416.4 kB / 0.9187 GB, free: 4.855 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002858/1.407, allocations: 115.4 kB / 0.9188 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of SimCode: time 1.002e-06/1.407, allocations: 0 / 0.9188 GB, free: 4.742 MB / 0.6387 GB Notification: Performance of Templates: time 0.04602/1.453, allocations: 28.1 MB / 0.9463 GB, free: 9.113 MB / 0.67 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)