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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4638/0.4638, allocations: 87.5 MB / 104.9 MB, free: 13.02 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.357/1.357, allocations: 222.9 MB / 349.1 MB, free: 2.77 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 93.06 kB / 420 MB, free: 8.531 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 55.92 kB / 0.4891 GB, free: 7.734 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3668/0.3688, allocations: 70.06 MB / 0.5575 GB, free: 44.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.578/0.9468, allocations: 272.5 MB / 0.8236 GB, free: 3.797 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0234/0.9703, allocations: 17.46 MB / 0.8406 GB, free: 3.207 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002977/0.9733, allocations: 61.22 kB / 0.8407 GB, free: 3.172 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.003584/0.9769, allocations: 0.9952 MB / 0.8417 GB, free: 2.398 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.009129/0.9861, allocations: 2.929 MB / 0.8445 GB, free: 15.7 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.005422/0.9915, allocations: 2.012 MB / 0.8465 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.00863/1, allocations: 6.775 MB / 0.8531 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/1.003, allocations: 1.48 MB / 0.8546 GB, free: 5.391 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007502/1.011, allocations: 2.122 MB / 0.8566 GB, free: 3.266 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003778/1.015, allocations: 1.588 MB / 0.8582 GB, free: 1.688 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 0.0006597/1.015, allocations: 100 kB / 0.8583 GB, free: 1.59 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007203/1.023, allocations: 3.421 MB / 0.8616 GB, free: 14.16 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.001114/1.024, allocations: 0.6386 MB / 0.8622 GB, free: 13.52 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.002473/1.026, allocations: 1.015 MB / 0.8632 GB, free: 12.5 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.008109/1.034, allocations: 3.926 MB / 0.8671 GB, free: 8.562 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/1.034, allocations: 0 / 0.8671 GB, free: 8.562 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.403e-06/1.034, allocations: 0 / 0.8671 GB, free: 8.562 MB / 0.573 GB Notification: Performance of Transformations before backend: time 0.0001151/1.034, allocations: 4 kB / 0.8671 GB, free: 8.559 MB / 0.573 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.005732/1.04, allocations: 2.422 MB / 0.8694 GB, free: 6.07 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/1.04, allocations: 11.97 kB / 0.8695 GB, free: 6.059 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004352/1.045, allocations: 0.6417 MB / 0.8701 GB, free: 5.414 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002571/1.047, allocations: 1.346 MB / 0.8714 GB, free: 4.012 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.753e-05/1.047, allocations: 102.5 kB / 0.8715 GB, free: 3.91 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/1.048, allocations: 136 kB / 0.8716 GB, free: 3.777 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/1.05, allocations: 1.577 MB / 0.8732 GB, free: 2.133 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.068e-05/1.05, allocations: 0 / 0.8732 GB, free: 2.133 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/1.05, allocations: 56 kB / 0.8732 GB, free: 2.078 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.804e-05/1.05, allocations: 50.44 kB / 0.8733 GB, free: 2.027 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002016/1.052, allocations: 1.266 MB / 0.8745 GB, free: 0.7539 MB / 0.573 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.009336/1.062, allocations: 7.222 MB / 0.8816 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/1.063, allocations: 0.6489 MB / 0.8822 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005013/1.063, allocations: 378.7 kB / 0.8825 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000197/1.064, allocations: 109.6 kB / 0.8827 GB, free: 7.812 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.56e-05/1.064, allocations: 43.12 kB / 0.8827 GB, free: 7.762 MB / 0.5886 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007927/1.064, allocations: 143.1 kB / 0.8828 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=67): time 3.827e-06/1.064, allocations: 0 / 0.8828 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of matching and sorting (n=67): time 0.001765/1.066, allocations: 1.024 MB / 0.8838 GB, free: 6.594 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/1.066, allocations: 59.97 kB / 0.8839 GB, free: 6.523 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001532/1.068, allocations: 1.343 MB / 0.8852 GB, free: 5.172 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.634e-05/1.068, allocations: 45.7 kB / 0.8852 GB, free: 5.121 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005005/1.068, allocations: 0.7697 MB / 0.886 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001937/1.069, allocations: 248.5 kB / 0.8862 GB, free: 4.098 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/1.069, allocations: 198.5 kB / 0.8864 GB, free: 3.898 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001154/1.069, allocations: 341.9 kB / 0.8867 GB, free: 3.559 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/1.069, allocations: 356.7 kB / 0.8871 GB, free: 3.207 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007291/1.07, allocations: 0.683 MB / 0.8878 GB, free: 2.387 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/1.071, allocations: 0.9566 MB / 0.8887 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/1.071, allocations: 3.938 kB / 0.8887 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001612/1.073, allocations: 1.156 MB / 0.8898 GB, free: 172 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/1.073, allocations: 8 kB / 0.8898 GB, free: 164 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/1.073, allocations: 11.94 kB / 0.8898 GB, free: 152 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/1.073, allocations: 8 kB / 0.8898 GB, free: 144 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008544/1.074, allocations: 211.7 kB / 0.89 GB, free: 15.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.812e-05/1.074, allocations: 15.98 kB / 0.8901 GB, free: 15.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001485/1.075, allocations: 138.3 kB / 0.8902 GB, free: 15.79 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-05/1.076, allocations: 43.98 kB / 0.8902 GB, free: 15.74 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001031/1.077, allocations: 0.6815 MB / 0.8909 GB, free: 15.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007713/1.077, allocations: 0.6826 MB / 0.8916 GB, free: 14.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001152/1.079, allocations: 0.945 MB / 0.8925 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.236e-06/1.079, allocations: 0 / 0.8925 GB, free: 13.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001649/1.08, allocations: 1.148 MB / 0.8936 GB, free: 12.04 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/1.08, allocations: 11.94 kB / 0.8936 GB, free: 12.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/1.08, allocations: 12.09 kB / 0.8936 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/1.08, allocations: 15.94 kB / 0.8937 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008079/1.081, allocations: 211.6 kB / 0.8939 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.679e-05/1.081, allocations: 12 kB / 0.8939 GB, free: 11.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/1.083, allocations: 143.6 kB / 0.894 GB, free: 11.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.924e-05/1.083, allocations: 44 kB / 0.894 GB, free: 11.6 MB / 0.6042 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.0002848/1.083, allocations: 244 kB / 0.8943 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/1.083, allocations: 150.1 kB / 0.8944 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/1.085, allocations: 0.8358 MB / 0.8952 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.143e-06/1.085, allocations: 4 kB / 0.8952 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.085, allocations: 0 / 0.8952 GB, free: 10.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009998/1.086, allocations: 0.7863 MB / 0.896 GB, free: 9.512 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00379/1.09, allocations: 2.314 MB / 0.8983 GB, free: 7.121 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/1.09, allocations: 4 kB / 0.8983 GB, free: 7.117 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007981/1.09, allocations: 163.8 kB / 0.8984 GB, free: 6.957 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/1.09, allocations: 4 kB / 0.8984 GB, free: 6.953 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.197e-05/1.091, allocations: 23.98 kB / 0.8985 GB, free: 6.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.534e-06/1.091, allocations: 4 kB / 0.8985 GB, free: 6.926 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-06/1.091, allocations: 0 / 0.8985 GB, free: 6.926 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00941/1.1, allocations: 6.067 MB / 0.9044 GB, free: 0.625 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006701/1.101, allocations: 323 kB / 0.9047 GB, free: 296 kB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002105/1.101, allocations: 16 kB / 0.9047 GB, free: 280 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001134/1.102, allocations: 95.75 kB / 0.9048 GB, free: 184 kB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.21e-05/1.102, allocations: 44.45 kB / 0.9048 GB, free: 140 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.85e-05/1.102, allocations: 35.97 kB / 0.9049 GB, free: 104 kB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001284/1.104, allocations: 0.9044 MB / 0.9058 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.31e-07/1.104, allocations: 0 / 0.9058 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004884/1.108, allocations: 1.31 MB / 0.907 GB, free: 13.89 MB / 0.6198 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.0007348/1.109, allocations: 263.7 kB / 0.9073 GB, free: 13.63 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002384/1.112, allocations: 1.33 MB / 0.9086 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.51e-06/1.112, allocations: 3.938 kB / 0.9086 GB, free: 12.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005072/1.112, allocations: 346.9 kB / 0.9089 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004843/1.117, allocations: 0.8473 MB / 0.9097 GB, free: 11.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006489/1.124, allocations: 3.955 MB / 0.9136 GB, free: 7.098 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001283/1.125, allocations: 1.381 MB / 0.915 GB, free: 5.688 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002172/1.127, allocations: 420.4 kB / 0.9154 GB, free: 5.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004585/1.128, allocations: 119.4 kB / 0.9155 GB, free: 5.152 MB / 0.6198 GB Notification: Performance of SimCode: time 9.02e-07/1.128, allocations: 4 kB / 0.9155 GB, free: 5.148 MB / 0.6198 GB Notification: Performance of Templates: time 0.05713/1.185, allocations: 30.11 MB / 0.9449 GB, free: 7.324 MB / 0.6511 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)