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.001425/0.001425, allocations: 114 kB / 17.08 MB, free: 5.965 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.001618/0.001618, allocations: 193.9 kB / 18.01 MB, free: 5.055 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.299/1.299, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6978/0.6978, allocations: 115.3 MB / 407.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.66 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1484, allocations: 76.19 MB / 0.6327 GB, free: 4.406 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.674/0.8224, allocations: 274.6 MB / 0.9009 GB, free: 9.793 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02322/0.8457, allocations: 17.36 MB / 0.9178 GB, free: 8.383 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003205/0.849, allocations: 67.62 kB / 0.9179 GB, free: 8.316 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003576/0.8525, allocations: 1.165 MB / 0.919 GB, free: 7.145 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008901/0.8615, allocations: 3.105 MB / 0.9221 GB, free: 4.027 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006165/0.8677, allocations: 2.201 MB / 0.9242 GB, free: 1.832 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00746/0.8752, allocations: 4.855 MB / 0.929 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002752/0.878, allocations: 1.773 MB / 0.9307 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006474/0.8845, allocations: 2.448 MB / 0.9331 GB, free: 8.727 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003226/0.8877, allocations: 1.557 MB / 0.9346 GB, free: 7.18 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004639/0.8882, allocations: 192 kB / 0.9348 GB, free: 6.992 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006553/0.8947, allocations: 3.013 MB / 0.9377 GB, free: 3.973 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009846/0.8958, allocations: 0.7246 MB / 0.9384 GB, free: 3.246 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001718/0.8975, allocations: 1.116 MB / 0.9395 GB, free: 2.125 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007129/0.9046, allocations: 3.829 MB / 0.9433 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 7.504e-06/0.9047, allocations: 0 / 0.9433 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.683e-06/0.9047, allocations: 7.938 kB / 0.9433 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 4.031e-05/0.9047, allocations: 0 / 0.9433 GB, free: 14.28 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.005569/0.9103, allocations: 2.427 MB / 0.9457 GB, free: 11.78 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.412e-05/0.9104, allocations: 12.03 kB / 0.9457 GB, free: 11.77 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004456/0.9148, allocations: 0.6338 MB / 0.9463 GB, free: 11.13 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002599/0.9175, allocations: 1.412 MB / 0.9477 GB, free: 9.664 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.211e-05/0.9176, allocations: 102.5 kB / 0.9478 GB, free: 9.562 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001989/0.9178, allocations: 136 kB / 0.9479 GB, free: 9.43 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002572/0.9204, allocations: 1.565 MB / 0.9494 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/0.9204, allocations: 7.938 kB / 0.9494 GB, free: 7.789 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001372/0.9206, allocations: 55.98 kB / 0.9495 GB, free: 7.734 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/0.9206, allocations: 50.39 kB / 0.9495 GB, free: 7.684 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002002/0.9226, allocations: 1.27 MB / 0.9508 GB, free: 6.406 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.008646/0.9313, allocations: 7.202 MB / 0.9578 GB, free: 14.64 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001075/0.9324, allocations: 0.653 MB / 0.9584 GB, free: 13.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004983/0.9329, allocations: 378.3 kB / 0.9588 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001976/0.9331, allocations: 109.6 kB / 0.9589 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.786e-05/0.9331, allocations: 43.12 kB / 0.9589 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005888/0.9337, allocations: 95.11 kB / 0.959 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=67): time 5.169e-06/0.9338, allocations: 4 kB / 0.959 GB, free: 13.33 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67): time 0.001814/0.9356, allocations: 1.009 MB / 0.96 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.9356, allocations: 59.97 kB / 0.9601 GB, free: 12.25 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.9373, allocations: 1.343 MB / 0.9614 GB, free: 10.89 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.708e-05/0.9374, allocations: 49.69 kB / 0.9614 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005378/0.9379, allocations: 0.7736 MB / 0.9622 GB, free: 10.06 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.9381, allocations: 244.6 kB / 0.9624 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002891/0.9384, allocations: 206.4 kB / 0.9626 GB, free: 9.609 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9386, allocations: 345.9 kB / 0.963 GB, free: 9.266 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005209/0.9391, allocations: 356.7 kB / 0.9633 GB, free: 8.914 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007694/0.9399, allocations: 0.683 MB / 0.964 GB, free: 8.09 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001255/0.9411, allocations: 0.9489 MB / 0.9649 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.9412, allocations: 0 / 0.9649 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001785/0.9429, allocations: 1.152 MB / 0.966 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.19e-05/0.943, allocations: 8 kB / 0.966 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.943, allocations: 4 kB / 0.966 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/0.943, allocations: 16.11 kB / 0.966 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/0.9439, allocations: 219.6 kB / 0.9663 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.68e-05/0.9439, allocations: 15.94 kB / 0.9663 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/0.9451, allocations: 43.97 kB / 0.9663 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.084e-05/0.9452, allocations: 43.98 kB / 0.9663 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001066/0.9463, allocations: 0.6888 MB / 0.967 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007525/0.9471, allocations: 0.6827 MB / 0.9677 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001192/0.9482, allocations: 0.9449 MB / 0.9686 GB, free: 2.996 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.2e-06/0.9483, allocations: 3.938 kB / 0.9686 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.00175/0.95, allocations: 1.156 MB / 0.9697 GB, free: 1.832 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.95, allocations: 9.562 kB / 0.9698 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.9501, allocations: 4 kB / 0.9698 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.9501, allocations: 12 kB / 0.9698 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/0.9509, allocations: 207.7 kB / 0.97 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.299e-05/0.9509, allocations: 15.94 kB / 0.97 GB, free: 1.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/0.9522, allocations: 56.17 kB / 0.97 GB, free: 1.535 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.754e-05/0.9523, allocations: 51.97 kB / 0.9701 GB, free: 1.484 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.0003049/0.9526, allocations: 251.7 kB / 0.9703 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002995/0.9529, allocations: 150.2 kB / 0.9705 GB, free: 1.082 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0015/0.9544, allocations: 0.8164 MB / 0.9713 GB, free: 256 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.9545, allocations: 8 kB / 0.9713 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.9545, allocations: 0 / 0.9713 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/0.9555, allocations: 0.7902 MB / 0.972 GB, free: 15.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00382/0.9593, allocations: 2.302 MB / 0.9743 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/0.9594, allocations: 4 kB / 0.9743 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008337/0.9602, allocations: 159.8 kB / 0.9744 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.574e-05/0.9602, allocations: 11.94 kB / 0.9745 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.349e-05/0.9603, allocations: 23.88 kB / 0.9745 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.116e-06/0.9603, allocations: 4 kB / 0.9745 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.9603, allocations: 4 kB / 0.9745 GB, free: 12.82 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.9621, allocations: 1.257 MB / 0.9757 GB, free: 11.53 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006542/0.9628, allocations: 319.2 kB / 0.976 GB, free: 11.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002981/0.9631, allocations: 19.94 kB / 0.976 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001013/0.9641, allocations: 41.53 kB / 0.9761 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.158e-05/0.9642, allocations: 40.5 kB / 0.9761 GB, free: 11.1 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.329e-05/0.9643, allocations: 35.98 kB / 0.9762 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001426/0.9658, allocations: 0.9083 MB / 0.977 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9658, allocations: 0 / 0.977 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002401/0.9682, allocations: 0.834 MB / 0.9779 GB, free: 9.32 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.0006883/0.9689, allocations: 265.8 kB / 0.9781 GB, free: 9.062 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002263/0.9712, allocations: 1.334 MB / 0.9794 GB, free: 7.727 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.9712, allocations: 4 kB / 0.9794 GB, free: 7.723 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004861/0.9717, allocations: 348.5 kB / 0.9797 GB, free: 7.387 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004077/0.9758, allocations: 0.8363 MB / 0.9806 GB, free: 6.562 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005545/0.9813, allocations: 2.984 MB / 0.9835 GB, free: 3.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.9826, allocations: 1.34 MB / 0.9848 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004896/0.9831, allocations: 123.4 kB / 0.9849 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of SimCode: time 2.474e-06/0.9832, allocations: 0 / 0.9849 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of Templates: time 0.04247/1.026, allocations: 25.46 MB / 1.01 GB, free: 8.707 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)