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.001152/0.001152, allocations: 115.5 kB / 17.09 MB, free: 6.012 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.00114/0.00114, allocations: 193.8 kB / 18.02 MB, free: 5.094 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.303/1.303, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7251/0.7251, allocations: 115.3 MB / 407.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001311/0.001311, allocations: 68.17 kB / 0.5583 GB, free: 32.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1488/0.1501, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6849/0.8351, allocations: 274.6 MB / 0.9009 GB, free: 9.637 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02424/0.8594, allocations: 17.36 MB / 0.9178 GB, free: 8.223 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003402/0.8628, allocations: 71.56 kB / 0.9179 GB, free: 8.152 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003795/0.8667, allocations: 1.165 MB / 0.9191 GB, free: 6.98 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009335/0.8761, allocations: 3.098 MB / 0.9221 GB, free: 3.871 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006454/0.8825, allocations: 2.215 MB / 0.9242 GB, free: 1.664 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008084/0.8906, allocations: 4.849 MB / 0.929 GB, free: 12.81 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003071/0.8938, allocations: 1.776 MB / 0.9307 GB, free: 11 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007542/0.9013, allocations: 2.449 MB / 0.9331 GB, free: 8.559 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00361/0.905, allocations: 1.542 MB / 0.9346 GB, free: 7.027 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005987/0.9056, allocations: 192 kB / 0.9348 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007281/0.9129, allocations: 3.005 MB / 0.9377 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.9143, allocations: 0.7207 MB / 0.9384 GB, free: 3.105 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.00289/0.9172, allocations: 1.12 MB / 0.9395 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.009128/0.9263, allocations: 3.841 MB / 0.9433 GB, free: 14.13 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 9.879e-06/0.9264, allocations: 3.938 kB / 0.9433 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.705e-06/0.9264, allocations: 0 / 0.9433 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 0.000124/0.9266, allocations: 0 / 0.9433 GB, free: 14.12 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.006349/0.9329, allocations: 2.435 MB / 0.9457 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.933, allocations: 12.03 kB / 0.9457 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004487/0.9375, allocations: 0.6339 MB / 0.9463 GB, free: 10.97 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00293/0.9404, allocations: 1.4 MB / 0.9477 GB, free: 9.516 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.72e-05/0.9406, allocations: 106.5 kB / 0.9478 GB, free: 9.41 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002547/0.9408, allocations: 136 kB / 0.9479 GB, free: 9.277 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002648/0.9435, allocations: 1.569 MB / 0.9494 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.404e-05/0.9435, allocations: 4 kB / 0.9494 GB, free: 7.637 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.9437, allocations: 56 kB / 0.9495 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.315e-05/0.9437, allocations: 50.39 kB / 0.9495 GB, free: 7.531 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002046/0.9458, allocations: 1.274 MB / 0.9508 GB, free: 6.25 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.009383/0.9552, allocations: 7.198 MB / 0.9578 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.9564, allocations: 0.657 MB / 0.9584 GB, free: 13.82 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000522/0.9569, allocations: 370.3 kB / 0.9588 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002246/0.9572, allocations: 105.6 kB / 0.9589 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.502e-05/0.9572, allocations: 47.23 kB / 0.9589 GB, free: 13.28 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006897/0.9579, allocations: 107 kB / 0.959 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=67): time 4.839e-06/0.9579, allocations: 0 / 0.959 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67): time 0.001932/0.9599, allocations: 1.013 MB / 0.96 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.753e-05/0.9599, allocations: 55.97 kB / 0.9601 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001771/0.9617, allocations: 1.339 MB / 0.9614 GB, free: 10.74 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.644e-05/0.9618, allocations: 49.69 kB / 0.9614 GB, free: 10.69 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005981/0.9624, allocations: 0.7814 MB / 0.9622 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002491/0.9627, allocations: 236.6 kB / 0.9624 GB, free: 9.664 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002959/0.963, allocations: 202.4 kB / 0.9626 GB, free: 9.461 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.9631, allocations: 349.9 kB / 0.9629 GB, free: 9.113 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000544/0.9636, allocations: 356.7 kB / 0.9633 GB, free: 8.762 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000782/0.9644, allocations: 0.6752 MB / 0.9639 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.9657, allocations: 0.9566 MB / 0.9649 GB, free: 6.895 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.296e-06/0.9657, allocations: 4 kB / 0.9649 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001862/0.9676, allocations: 1.148 MB / 0.966 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.411e-05/0.9676, allocations: 12.19 kB / 0.966 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.9676, allocations: 8 kB / 0.966 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.845e-05/0.9677, allocations: 12 kB / 0.966 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008845/0.9686, allocations: 211.7 kB / 0.9662 GB, free: 5.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.99e-05/0.9686, allocations: 15.94 kB / 0.9663 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001293/0.9699, allocations: 43.97 kB / 0.9663 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.702e-05/0.97, allocations: 40 kB / 0.9663 GB, free: 5.402 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001099/0.9711, allocations: 0.6927 MB / 0.967 GB, free: 4.707 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007726/0.9719, allocations: 0.6904 MB / 0.9677 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001207/0.9731, allocations: 0.9449 MB / 0.9686 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.263e-06/0.9731, allocations: 11.94 kB / 0.9686 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001796/0.9749, allocations: 1.144 MB / 0.9697 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.543e-05/0.9749, allocations: 10.5 kB / 0.9697 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.9749, allocations: 8 kB / 0.9698 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.975, allocations: 12 kB / 0.9698 GB, free: 1.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008291/0.9758, allocations: 211.7 kB / 0.97 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.9758, allocations: 11.98 kB / 0.97 GB, free: 1.434 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001326/0.9771, allocations: 64.33 kB / 0.97 GB, free: 1.371 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/0.9772, allocations: 47.98 kB / 0.9701 GB, free: 1.324 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.0002996/0.9775, allocations: 247.8 kB / 0.9703 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002442/0.9778, allocations: 150.2 kB / 0.9705 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.9792, allocations: 0.828 MB / 0.9713 GB, free: 84 kB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.9792, allocations: 8 kB / 0.9713 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9793, allocations: 0 / 0.9713 GB, free: 76 kB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009669/0.9802, allocations: 0.7824 MB / 0.972 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003717/0.984, allocations: 2.298 MB / 0.9743 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.984, allocations: 0 / 0.9743 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000834/0.9848, allocations: 171.8 kB / 0.9745 GB, free: 12.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.668e-06/0.9848, allocations: 4 kB / 0.9745 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.772e-05/0.9849, allocations: 23.92 kB / 0.9745 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.915e-06/0.9849, allocations: 4 kB / 0.9745 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.489e-06/0.9849, allocations: 4 kB / 0.9745 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001815/0.9868, allocations: 1.257 MB / 0.9757 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006994/0.9875, allocations: 323.2 kB / 0.976 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000183/0.9877, allocations: 19.94 kB / 0.976 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008743/0.9885, allocations: 37.33 kB / 0.9761 GB, free: 10.98 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.577e-05/0.9886, allocations: 48.44 kB / 0.9761 GB, free: 10.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.322e-05/0.9887, allocations: 31.98 kB / 0.9762 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001237/0.99, allocations: 0.9044 MB / 0.977 GB, free: 10 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.99, allocations: 0 / 0.977 GB, free: 10 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00217/0.9921, allocations: 0.8418 MB / 0.9779 GB, free: 9.156 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.0006862/0.9928, allocations: 255.3 kB / 0.9781 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002308/0.9952, allocations: 1.329 MB / 0.9794 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-05/0.9952, allocations: 2 kB / 0.9794 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005004/0.9957, allocations: 354.9 kB / 0.9797 GB, free: 7.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003811/0.9995, allocations: 0.85 MB / 0.9806 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004765/1.004, allocations: 2.976 MB / 0.9835 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000891/1.005, allocations: 1.341 MB / 0.9848 GB, free: 1.988 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004472/1.006, allocations: 123.4 kB / 0.9849 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of SimCode: time 1.112e-06/1.006, allocations: 0 / 0.9849 GB, free: 1.867 MB / 0.7325 GB Notification: Performance of Templates: time 0.03906/1.045, allocations: 25.23 MB / 1.01 GB, free: 8.777 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)