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.0008785/0.0008785, allocations: 92.94 kB / 15.7 MB, free: 472 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.000982/0.0009821, allocations: 171.6 kB / 16.58 MB, free: 6.066 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.35/1.35, allocations: 223.3 MB / 240.6 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7133/0.7133, allocations: 115.5 MB / 407.2 MB, free: 2.809 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002927/0.0002927, allocations: 8.219 kB / 495.2 MB, free: 6.695 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1312, allocations: 77.53 MB / 0.5593 GB, free: 9.375 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.4959/0.6271, allocations: 250.8 MB / 0.8042 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02063/0.6478, allocations: 16.19 MB / 0.82 GB, free: 12.01 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001752/0.6496, allocations: 55.62 kB / 0.8201 GB, free: 11.96 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002306/0.6519, allocations: 0.757 MB / 0.8208 GB, free: 11.2 MB / 0.6387 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.005909/0.6578, allocations: 2.311 MB / 0.8231 GB, free: 8.875 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004448/0.6623, allocations: 1.523 MB / 0.8245 GB, free: 7.363 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006465/0.6688, allocations: 5.685 MB / 0.8301 GB, free: 1.664 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.6708, allocations: 1.318 MB / 0.8314 GB, free: 340 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.311/0.9819, allocations: 1.91 MB / 0.8333 GB, free: 37.96 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00282/0.9847, allocations: 1.441 MB / 0.8347 GB, free: 37.96 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003386/0.9851, allocations: 74.16 kB / 0.8347 GB, free: 37.96 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004528/0.9896, allocations: 1.632 MB / 0.8363 GB, free: 37.96 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000948/0.9906, allocations: 0.5961 MB / 0.8369 GB, free: 37.96 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0008899/0.9915, allocations: 429.1 kB / 0.8373 GB, free: 37.93 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004014/0.9955, allocations: 2.642 MB / 0.8399 GB, free: 37.85 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.9955, allocations: 0.6875 kB / 0.8399 GB, free: 37.85 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.194e-06/0.9955, allocations: 0 / 0.8399 GB, free: 37.85 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.164e-05/0.9956, allocations: 2.781 kB / 0.8399 GB, free: 37.85 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.004104/0.9997, allocations: 2.05 MB / 0.8419 GB, free: 36.71 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.9998, allocations: 11.17 kB / 0.8419 GB, free: 36.71 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004349/1.004, allocations: 0.6472 MB / 0.8425 GB, free: 36.6 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/1.006, allocations: 1.278 MB / 0.8438 GB, free: 36.23 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.946e-05/1.006, allocations: 107.1 kB / 0.8439 GB, free: 36.22 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/1.007, allocations: 140.9 kB / 0.844 GB, free: 36.22 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002654/1.009, allocations: 1.561 MB / 0.8456 GB, free: 36.02 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.443e-05/1.009, allocations: 10.73 kB / 0.8456 GB, free: 36.02 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001375/1.009, allocations: 55.75 kB / 0.8456 GB, free: 36.02 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-05/1.01, allocations: 47.56 kB / 0.8457 GB, free: 36.02 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002194/1.012, allocations: 1.262 MB / 0.8469 GB, free: 36 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.007941/1.02, allocations: 7.225 MB / 0.854 GB, free: 32.12 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001068/1.021, allocations: 0.6427 MB / 0.8546 GB, free: 32.09 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005361/1.021, allocations: 375.5 kB / 0.8549 GB, free: 32.07 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000188/1.021, allocations: 101.4 kB / 0.855 GB, free: 31.98 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/1.022, allocations: 44.94 kB / 0.8551 GB, free: 31.94 MB / 0.6387 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008244/1.022, allocations: 147.6 kB / 0.8552 GB, free: 31.88 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=67): time 2.935e-06/1.022, allocations: 0 / 0.8552 GB, free: 31.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=67): time 0.001743/1.024, allocations: 1.019 MB / 0.8562 GB, free: 31.76 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/1.024, allocations: 57.41 kB / 0.8563 GB, free: 31.7 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001616/1.026, allocations: 1.329 MB / 0.8576 GB, free: 31.53 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.362e-05/1.026, allocations: 45.08 kB / 0.8576 GB, free: 31.5 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004909/1.026, allocations: 0.7757 MB / 0.8584 GB, free: 31.2 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002068/1.027, allocations: 243.2 kB / 0.8586 GB, free: 31.05 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.306e-05/1.027, allocations: 18.41 kB / 0.8586 GB, free: 31.05 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 7.357e-05/1.027, allocations: 346.3 kB / 0.8589 GB, free: 30.74 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005483/1.027, allocations: 344.1 kB / 0.8593 GB, free: 30.74 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006615/1.028, allocations: 0.677 MB / 0.8599 GB, free: 30.37 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006561/1.029, allocations: 452.9 kB / 0.8604 GB, free: 30.36 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.673e-06/1.029, allocations: 6.203 kB / 0.8604 GB, free: 30.36 MB / 0.6387 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001614/1.03, allocations: 1.143 MB / 0.8615 GB, free: 30.23 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.03, allocations: 289.8 kB / 0.8618 GB, free: 29.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/1.03, allocations: 8.031 kB / 0.8618 GB, free: 29.91 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/1.03, allocations: 12.56 kB / 0.8618 GB, free: 29.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008664/1.031, allocations: 210.6 kB / 0.862 GB, free: 29.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.86e-05/1.031, allocations: 18.11 kB / 0.862 GB, free: 29.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/1.033, allocations: 149.3 kB / 0.8621 GB, free: 29.88 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-05/1.033, allocations: 38.56 kB / 0.8622 GB, free: 29.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.953e-06/1.033, allocations: 8 kB / 0.8622 GB, free: 29.88 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0014/1.034, allocations: 0.9843 MB / 0.8632 GB, free: 29.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.034, allocations: 12.31 kB / 0.8632 GB, free: 29.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/1.034, allocations: 11.34 kB / 0.8632 GB, free: 29.86 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007895/1.035, allocations: 208.7 kB / 0.8634 GB, free: 29.86 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.31e-05/1.035, allocations: 19.58 kB / 0.8634 GB, free: 29.86 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/1.037, allocations: 130.5 kB / 0.8635 GB, free: 29.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.002e-05/1.037, allocations: 43.19 kB / 0.8636 GB, free: 29.84 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007814/1.037, allocations: 498.9 kB / 0.864 GB, free: 29.65 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000195/1.038, allocations: 149.4 kB / 0.8642 GB, free: 29.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/1.039, allocations: 0.8241 MB / 0.865 GB, free: 29.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.805e-06/1.039, allocations: 8.594 kB / 0.865 GB, free: 29.5 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/1.039, allocations: 1.969 kB / 0.865 GB, free: 29.5 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008318/1.04, allocations: 0.7821 MB / 0.8658 GB, free: 29.25 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/1.043, allocations: 2.304 MB / 0.868 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-06/1.043, allocations: 3.5 kB / 0.868 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007814/1.044, allocations: 164.5 kB / 0.8682 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.056e-06/1.044, allocations: 5.125 kB / 0.8682 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.165e-05/1.044, allocations: 19.36 kB / 0.8682 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.879e-06/1.044, allocations: 2.875 kB / 0.8682 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/1.044, allocations: 5.094 kB / 0.8682 GB, free: 28.87 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001473/1.045, allocations: 1.257 MB / 0.8694 GB, free: 28.59 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004799/1.046, allocations: 325.3 kB / 0.8697 GB, free: 28.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001891/1.046, allocations: 16.64 kB / 0.8697 GB, free: 28.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009613/1.047, allocations: 98.53 kB / 0.8698 GB, free: 28.41 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.578e-05/1.047, allocations: 45.89 kB / 0.8699 GB, free: 28.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.237e-05/1.047, allocations: 36.14 kB / 0.8699 GB, free: 28.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0011/1.048, allocations: 0.893 MB / 0.8708 GB, free: 28.29 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.31e-07/1.048, allocations: 0 / 0.8708 GB, free: 28.29 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.00212/1.05, allocations: 0.843 MB / 0.8716 GB, free: 28.19 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000541/1.051, allocations: 264.7 kB / 0.8719 GB, free: 28.07 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001758/1.053, allocations: 1.327 MB / 0.8732 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/1.053, allocations: 3 kB / 0.8732 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004148/1.053, allocations: 345.3 kB / 0.8735 GB, free: 28.06 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/1.057, allocations: 0.8486 MB / 0.8743 GB, free: 27.98 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004247/1.061, allocations: 3.492 MB / 0.8777 GB, free: 26.18 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000722/1.062, allocations: 1.347 MB / 0.8791 GB, free: 25.45 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001827/1.063, allocations: 410.5 kB / 0.8794 GB, free: 25.35 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000295/1.064, allocations: 116.1 kB / 0.8796 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of SimCode: time 9.32e-07/1.064, allocations: 0 / 0.8796 GB, free: 25.34 MB / 0.6387 GB Notification: Performance of Templates: time 0.03952/1.103, allocations: 27.1 MB / 0.906 GB, free: 15.14 MB / 0.6387 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)