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.001018/0.001018, allocations: 109.6 kB / 17.03 MB, free: 5.656 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.0009567/0.0009568, allocations: 193.6 kB / 17.97 MB, free: 5.062 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.254/1.254, allocations: 222.9 MB / 241.7 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6672/0.6672, allocations: 115.1 MB / 406.9 MB, free: 6.348 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 63.89 kB / 494.8 MB, free: 15.83 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3144/0.3157, allocations: 76.14 MB / 0.5576 GB, free: 36.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5295/0.8452, allocations: 274.6 MB / 0.8257 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01812/0.8634, allocations: 17.36 MB / 0.8427 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002293/0.8657, allocations: 70.31 kB / 0.8427 GB, free: 15.08 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002295/0.868, allocations: 1.168 MB / 0.8439 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008049/0.8761, allocations: 3.099 MB / 0.8469 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004659/0.8808, allocations: 2.215 MB / 0.8491 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004628/0.8854, allocations: 4.841 MB / 0.8538 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001663/0.8871, allocations: 1.764 MB / 0.8555 GB, free: 8.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004892/0.892, allocations: 2.418 MB / 0.8579 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002482/0.8945, allocations: 1.551 MB / 0.8594 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002541/0.8947, allocations: 192 kB / 0.8596 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004952/0.8997, allocations: 3.011 MB / 0.8625 GB, free: 4.254 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005443/0.9002, allocations: 0.7196 MB / 0.8632 GB, free: 3.551 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001224/0.9015, allocations: 1.12 MB / 0.8643 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005054/0.9065, allocations: 3.829 MB / 0.868 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.9066, allocations: 4 kB / 0.8681 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.743e-06/0.9066, allocations: 0 / 0.8681 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.209e-05/0.9066, allocations: 0 / 0.8681 GB, free: 14.82 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.003818/0.9104, allocations: 2.43 MB / 0.8704 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.9105, allocations: 8.031 kB / 0.8704 GB, free: 12.35 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004079/0.9146, allocations: 0.6446 MB / 0.8711 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.9168, allocations: 1.403 MB / 0.8724 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.517e-05/0.9169, allocations: 102.5 kB / 0.8725 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.9171, allocations: 139.9 kB / 0.8727 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002238/0.9194, allocations: 1.568 MB / 0.8742 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.9194, allocations: 3.281 kB / 0.8742 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.9195, allocations: 58.81 kB / 0.8743 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.616e-05/0.9196, allocations: 50.45 kB / 0.8743 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001848/0.9214, allocations: 1.268 MB / 0.8755 GB, free: 7.066 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.007605/0.929, allocations: 7.209 MB / 0.8826 GB, free: 15.42 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009978/0.93, allocations: 0.6384 MB / 0.8832 GB, free: 14.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004813/0.9305, allocations: 374.1 kB / 0.8836 GB, free: 14.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000191/0.9307, allocations: 111.7 kB / 0.8837 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.968e-05/0.9308, allocations: 42.78 kB / 0.8837 GB, free: 14.23 MB / 0.6075 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0004546/0.9312, allocations: 102.5 kB / 0.8838 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=67): time 2.215e-06/0.9312, allocations: 0 / 0.8838 GB, free: 14.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=67): time 0.001694/0.9329, allocations: 1.017 MB / 0.8848 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.265e-05/0.933, allocations: 55.97 kB / 0.8849 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001455/0.9344, allocations: 1.347 MB / 0.8862 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.594e-05/0.9345, allocations: 45.7 kB / 0.8862 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005082/0.935, allocations: 0.7678 MB / 0.887 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001785/0.9352, allocations: 239.1 kB / 0.8872 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.9355, allocations: 202.5 kB / 0.8874 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.9356, allocations: 349.9 kB / 0.8877 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005218/0.9362, allocations: 360.8 kB / 0.8881 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007414/0.9369, allocations: 0.6884 MB / 0.8887 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.9381, allocations: 0.9563 MB / 0.8897 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.761e-06/0.9381, allocations: 4 kB / 0.8897 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001609/0.9397, allocations: 1.146 MB / 0.8908 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.9398, allocations: 8 kB / 0.8908 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.9398, allocations: 11.98 kB / 0.8908 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.429e-05/0.9398, allocations: 15.98 kB / 0.8908 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008407/0.9406, allocations: 213.1 kB / 0.891 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.789e-05/0.9407, allocations: 12 kB / 0.891 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.9418, allocations: 56.38 kB / 0.8911 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/0.9419, allocations: 39.98 kB / 0.8911 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009743/0.9429, allocations: 0.6854 MB / 0.8918 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007509/0.9436, allocations: 0.6768 MB / 0.8925 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001149/0.9448, allocations: 0.9516 MB / 0.8934 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.769e-06/0.9448, allocations: 4 kB / 0.8934 GB, free: 3.918 MB / 0.6075 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001574/0.9464, allocations: 1.141 MB / 0.8945 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.9464, allocations: 9.375 kB / 0.8945 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.845e-06/0.9464, allocations: 12 kB / 0.8945 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.116e-05/0.9464, allocations: 12 kB / 0.8945 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007994/0.9472, allocations: 212.6 kB / 0.8947 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.3e-05/0.9473, allocations: 11.19 kB / 0.8948 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001159/0.9484, allocations: 51.97 kB / 0.8948 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/0.9485, allocations: 43.98 kB / 0.8948 GB, free: 2.484 MB / 0.6075 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.000234/0.9487, allocations: 250.2 kB / 0.8951 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.949, allocations: 154.1 kB / 0.8952 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00128/0.9502, allocations: 0.8241 MB / 0.896 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-06/0.9503, allocations: 8 kB / 0.896 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.9503, allocations: 4 kB / 0.896 GB, free: 1.25 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009162/0.9512, allocations: 0.793 MB / 0.8968 GB, free: 420 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003099/0.9543, allocations: 2.299 MB / 0.8991 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.9543, allocations: 3.938 kB / 0.8991 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007699/0.9551, allocations: 171.3 kB / 0.8992 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.9551, allocations: 4 kB / 0.8992 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.348e-05/0.9552, allocations: 20 kB / 0.8993 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.9552, allocations: 7.984 kB / 0.8993 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.9552, allocations: 0 / 0.8993 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.9567, allocations: 1.253 MB / 0.9005 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005016/0.9573, allocations: 323.1 kB / 0.9008 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000158/0.9574, allocations: 16 kB / 0.9008 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007985/0.9582, allocations: 36.78 kB / 0.9008 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.9583, allocations: 46.38 kB / 0.9009 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.977e-05/0.9584, allocations: 31.98 kB / 0.9009 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001055/0.9595, allocations: 0.9083 MB / 0.9018 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9595, allocations: 3.938 kB / 0.9018 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001632/0.9611, allocations: 0.8411 MB / 0.9026 GB, free: 10.37 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.000479/0.9616, allocations: 256.5 kB / 0.9029 GB, free: 10.14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001826/0.9634, allocations: 1.345 MB / 0.9042 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.9634, allocations: 0 / 0.9042 GB, free: 8.848 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004317/0.9639, allocations: 347.6 kB / 0.9045 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/0.9668, allocations: 0.8378 MB / 0.9053 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003774/0.9706, allocations: 2.899 MB / 0.9082 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008242/0.9714, allocations: 1.351 MB / 0.9095 GB, free: 3.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001183/0.9726, allocations: 408.3 kB / 0.9099 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002761/0.9729, allocations: 115.4 kB / 0.91 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.9729, allocations: 0 / 0.91 GB, free: 2.895 MB / 0.6231 GB Notification: Performance of Templates: time 0.04223/1.015, allocations: 29.03 MB / 0.9383 GB, free: 6.305 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 -s cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)