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.0009506/0.0009507, allocations: 87.58 kB / 16.67 MB, free: 6.59 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.001038/0.001038, allocations: 184.3 kB / 17.58 MB, free: 6.188 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.333/1.333, allocations: 223.3 MB / 241.6 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7964/0.7964, allocations: 115.5 MB / 408.2 MB, free: 7.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003554/0.0003554, allocations: 8.281 kB / 496.5 MB, free: 15.71 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4264/0.4268, allocations: 77.51 MB / 0.5606 GB, free: 36.46 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6261/1.053, allocations: 268.8 MB / 0.8231 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02125/1.074, allocations: 17.27 MB / 0.8399 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003284/1.078, allocations: 64.62 kB / 0.84 GB, free: 0.7773 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003414/1.081, allocations: 1.002 MB / 0.841 GB, free: 0.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009477/1.091, allocations: 2.919 MB / 0.8438 GB, free: 408 kB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.006086/1.097, allocations: 2.03 MB / 0.8458 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009177/1.106, allocations: 6.752 MB / 0.8524 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003005/1.109, allocations: 1.439 MB / 0.8538 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006837/1.116, allocations: 2.063 MB / 0.8558 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003936/1.12, allocations: 1.523 MB / 0.8573 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005108/1.12, allocations: 73.97 kB / 0.8574 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007357/1.128, allocations: 3.402 MB / 0.8607 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001255/1.129, allocations: 0.61 MB / 0.8613 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002161/1.131, allocations: 0.9992 MB / 0.8623 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004423/1.136, allocations: 2.809 MB / 0.865 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.136, allocations: 0 / 0.865 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.645e-06/1.136, allocations: 0 / 0.865 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.413e-05/1.136, allocations: 0 / 0.865 GB, free: 8.676 MB / 0.5919 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.004006/1.14, allocations: 2.033 MB / 0.867 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.14, allocations: 12.03 kB / 0.867 GB, free: 6.859 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004488/1.144, allocations: 0.6493 MB / 0.8677 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002583/1.147, allocations: 1.345 MB / 0.869 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.852e-05/1.147, allocations: 102.5 kB / 0.8691 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002473/1.147, allocations: 136 kB / 0.8692 GB, free: 4.641 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002991/1.15, allocations: 1.57 MB / 0.8707 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.693e-05/1.15, allocations: 2.625 kB / 0.8707 GB, free: 3.008 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/1.15, allocations: 56 kB / 0.8708 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.875e-05/1.15, allocations: 46.45 kB / 0.8708 GB, free: 2.906 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002282/1.153, allocations: 1.273 MB / 0.8721 GB, free: 1.637 MB / 0.5919 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.00993/1.163, allocations: 7.226 MB / 0.8791 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001146/1.164, allocations: 0.6476 MB / 0.8798 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005407/1.164, allocations: 370.1 kB / 0.8801 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002039/1.165, allocations: 106.3 kB / 0.8802 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/1.165, allocations: 51.11 kB / 0.8803 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009554/1.166, allocations: 143.1 kB / 0.8804 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=67): time 3.737e-06/1.166, allocations: 0 / 0.8804 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67): time 0.001931/1.168, allocations: 1.019 MB / 0.8814 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.939e-05/1.168, allocations: 59.95 kB / 0.8815 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001842/1.17, allocations: 1.343 MB / 0.8828 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.788e-05/1.17, allocations: 45.7 kB / 0.8828 GB, free: 6.148 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006435/1.17, allocations: 0.772 MB / 0.8836 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002409/1.17, allocations: 247.2 kB / 0.8838 GB, free: 5.137 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/1.171, allocations: 89.66 kB / 0.8839 GB, free: 5.043 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001603/1.171, allocations: 341.9 kB / 0.8842 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005671/1.171, allocations: 345.8 kB / 0.8845 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008582/1.172, allocations: 0.6856 MB / 0.8852 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001389/1.174, allocations: 0.9545 MB / 0.8861 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.894e-06/1.174, allocations: 112 / 0.8861 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001887/1.176, allocations: 1.154 MB / 0.8873 GB, free: 1.402 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002292/1.176, allocations: 299.2 kB / 0.8876 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/1.176, allocations: 4 kB / 0.8876 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.795e-05/1.176, allocations: 12 kB / 0.8876 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008989/1.177, allocations: 211.1 kB / 0.8878 GB, free: 0.8125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.103e-05/1.177, allocations: 18.61 kB / 0.8878 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/1.178, allocations: 146.9 kB / 0.8879 GB, free: 0.6562 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/1.179, allocations: 42.97 kB / 0.888 GB, free: 0.6172 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.406e-06/1.179, allocations: 4 kB / 0.888 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001543/1.18, allocations: 0.9839 MB / 0.8889 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/1.18, allocations: 8 kB / 0.8889 GB, free: 15.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/1.18, allocations: 12.88 kB / 0.889 GB, free: 15.65 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000834/1.181, allocations: 211.7 kB / 0.8892 GB, free: 15.46 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/1.181, allocations: 19.59 kB / 0.8892 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001536/1.183, allocations: 137.3 kB / 0.8893 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.75e-05/1.183, allocations: 40 kB / 0.8893 GB, free: 15.27 MB / 0.6231 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.0008905/1.184, allocations: 0.4912 MB / 0.8898 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002349/1.184, allocations: 154.1 kB / 0.89 GB, free: 14.63 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001508/1.185, allocations: 0.815 MB / 0.8908 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.395e-05/1.185, allocations: 11.94 kB / 0.8908 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/1.185, allocations: 0 / 0.8908 GB, free: 13.79 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001038/1.186, allocations: 0.7926 MB / 0.8916 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003613/1.19, allocations: 2.302 MB / 0.8938 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.653e-06/1.19, allocations: 4 kB / 0.8938 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008309/1.191, allocations: 166.5 kB / 0.894 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.278e-05/1.191, allocations: 4 kB / 0.894 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.198e-05/1.191, allocations: 24.86 kB / 0.894 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.708e-06/1.191, allocations: 4 kB / 0.894 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/1.191, allocations: 5.312 kB / 0.894 GB, free: 10.41 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001842/1.193, allocations: 1.26 MB / 0.8952 GB, free: 9.113 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006815/1.194, allocations: 319.2 kB / 0.8955 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001765/1.194, allocations: 20 kB / 0.8956 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001079/1.195, allocations: 95.69 kB / 0.8956 GB, free: 8.672 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.048e-05/1.195, allocations: 52.44 kB / 0.8957 GB, free: 8.621 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.999e-05/1.195, allocations: 31.97 kB / 0.8957 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001378/1.196, allocations: 0.9083 MB / 0.8966 GB, free: 7.684 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.31e-07/1.196, allocations: 4 kB / 0.8966 GB, free: 7.68 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002344/1.199, allocations: 0.8443 MB / 0.8974 GB, free: 6.836 MB / 0.6231 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.0006283/1.199, allocations: 257.1 kB / 0.8977 GB, free: 6.605 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002271/1.202, allocations: 1.33 MB / 0.899 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/1.202, allocations: 0 / 0.899 GB, free: 5.332 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005096/1.202, allocations: 352.5 kB / 0.8993 GB, free: 5 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005347/1.208, allocations: 0.834 MB / 0.9001 GB, free: 4.184 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006718/1.214, allocations: 3.722 MB / 0.9038 GB, free: 424 kB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001441/1.216, allocations: 1.349 MB / 0.9051 GB, free: 15.03 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005907/1.216, allocations: 127.3 kB / 0.9052 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of SimCode: time 1.011e-06/1.216, allocations: 0 / 0.9052 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of Templates: time 0.04482/1.261, allocations: 24.96 MB / 0.9296 GB, free: 6.113 MB / 0.6544 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)