Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001231/0.001231, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001348/0.001348, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.232/1.232, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002114/0.002114, allocations: 293.8 kB / 291.3 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8914/0.8914, allocations: 169.3 MB / 0.4988 GB, free: 4.508 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001799, allocations: 101.9 kB / 0.5959 GB, free: 15.13 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1416/0.1434, allocations: 86.98 MB / 0.6808 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5058/0.6492, allocations: 274.6 MB / 0.949 GB, free: 12 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.3611/1.01, allocations: 17.34 MB / 0.9659 GB, free: 32.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/1.013, allocations: 69.53 kB / 0.966 GB, free: 32.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002643/1.015, allocations: 1.17 MB / 0.9671 GB, free: 32.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007178/1.022, allocations: 3.097 MB / 0.9702 GB, free: 32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004996/1.027, allocations: 2.198 MB / 0.9723 GB, free: 31.93 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006508/1.034, allocations: 4.84 MB / 0.977 GB, free: 31.93 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002763/1.037, allocations: 1.764 MB / 0.9787 GB, free: 31.74 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005728/1.042, allocations: 2.412 MB / 0.9811 GB, free: 31.72 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003144/1.046, allocations: 1.536 MB / 0.9826 GB, free: 31.71 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000638/1.046, allocations: 193 kB / 0.9828 GB, free: 31.71 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006573/1.053, allocations: 3.015 MB / 0.9857 GB, free: 31.68 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001085/1.054, allocations: 0.7214 MB / 0.9864 GB, free: 31.68 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002617/1.057, allocations: 1.124 MB / 0.9875 GB, free: 31.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.005729/1.062, allocations: 3.798 MB / 0.9912 GB, free: 31.48 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/1.062, allocations: 3.625 kB / 0.9912 GB, free: 31.48 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.413e-06/1.062, allocations: 0.875 kB / 0.9912 GB, free: 31.48 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.627e-05/1.062, allocations: 0 / 0.9912 GB, free: 31.48 MB / 0.7169 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.003849/1.066, allocations: 2.433 MB / 0.9936 GB, free: 30.29 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/1.066, allocations: 10.75 kB / 0.9936 GB, free: 30.29 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004041/1.07, allocations: 0.6434 MB / 0.9943 GB, free: 30.19 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001742/1.072, allocations: 1.329 MB / 0.9956 GB, free: 29.76 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.995e-05/1.072, allocations: 107.7 kB / 0.9957 GB, free: 29.76 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001725/1.072, allocations: 140.2 kB / 0.9958 GB, free: 29.76 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002025/1.074, allocations: 1.572 MB / 0.9973 GB, free: 29.57 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/1.074, allocations: 6.625 kB / 0.9973 GB, free: 29.57 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/1.075, allocations: 54.62 kB / 0.9974 GB, free: 29.57 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.036e-05/1.075, allocations: 46.58 kB / 0.9974 GB, free: 29.56 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/1.076, allocations: 1.272 MB / 0.9987 GB, free: 29.55 MB / 0.7169 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.006515/1.083, allocations: 7.273 MB / 1.006 GB, free: 25.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/1.084, allocations: 0.6473 MB / 1.006 GB, free: 25.65 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/1.084, allocations: 373.1 kB / 1.007 GB, free: 25.64 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001657/1.085, allocations: 110.4 kB / 1.007 GB, free: 25.54 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/1.085, allocations: 47.16 kB / 1.007 GB, free: 25.5 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000525/1.085, allocations: 96.05 kB / 1.007 GB, free: 25.46 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=67): time 2.385e-06/1.085, allocations: 3.094 kB / 1.007 GB, free: 25.46 MB / 0.7169 GB Notification: Performance of matching and sorting (n=67): time 0.001579/1.087, allocations: 1.023 MB / 1.008 GB, free: 25.33 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.272e-05/1.087, allocations: 59.84 kB / 1.008 GB, free: 25.27 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001386/1.088, allocations: 1.34 MB / 1.009 GB, free: 25.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.439e-05/1.088, allocations: 48.7 kB / 1.009 GB, free: 25.07 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/1.089, allocations: 0.7645 MB / 1.01 GB, free: 24.77 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/1.089, allocations: 248.2 kB / 1.01 GB, free: 24.62 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002597/1.089, allocations: 201.7 kB / 1.011 GB, free: 24.59 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.703e-05/1.089, allocations: 345.3 kB / 1.011 GB, free: 24.29 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004507/1.09, allocations: 357.4 kB / 1.011 GB, free: 24.28 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005922/1.09, allocations: 0.6827 MB / 1.012 GB, free: 23.92 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000975/1.091, allocations: 0.9499 MB / 1.013 GB, free: 23.68 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/1.091, allocations: 3.062 kB / 1.013 GB, free: 23.68 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001434/1.093, allocations: 1.159 MB / 1.014 GB, free: 23.56 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/1.093, allocations: 12.31 kB / 1.014 GB, free: 23.56 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.169e-05/1.093, allocations: 6.969 kB / 1.014 GB, free: 23.56 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/1.093, allocations: 11.36 kB / 1.014 GB, free: 23.56 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007966/1.093, allocations: 211.3 kB / 1.014 GB, free: 23.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/1.094, allocations: 17.02 kB / 1.014 GB, free: 23.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001223/1.095, allocations: 53.84 kB / 1.014 GB, free: 23.55 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/1.095, allocations: 43.3 kB / 1.014 GB, free: 23.55 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008419/1.096, allocations: 0.6861 MB / 1.015 GB, free: 23.47 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005762/1.096, allocations: 0.6765 MB / 1.016 GB, free: 23.11 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009513/1.097, allocations: 0.9443 MB / 1.017 GB, free: 22.86 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.868e-06/1.097, allocations: 3.312 kB / 1.017 GB, free: 22.86 MB / 0.7169 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001384/1.099, allocations: 1.15 MB / 1.018 GB, free: 22.75 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/1.099, allocations: 9.812 kB / 1.018 GB, free: 22.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/1.099, allocations: 6.5 kB / 1.018 GB, free: 22.75 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/1.099, allocations: 17.25 kB / 1.018 GB, free: 22.75 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007607/1.099, allocations: 206.5 kB / 1.018 GB, free: 22.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.099, allocations: 20.34 kB / 1.018 GB, free: 22.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001211/1.101, allocations: 66.81 kB / 1.018 GB, free: 22.74 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.996e-05/1.101, allocations: 38.84 kB / 1.018 GB, free: 22.74 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.0002059/1.101, allocations: 249.7 kB / 1.018 GB, free: 22.55 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/1.101, allocations: 155.8 kB / 1.018 GB, free: 22.48 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001158/1.102, allocations: 0.8259 MB / 1.019 GB, free: 22.41 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.102, allocations: 5.75 kB / 1.019 GB, free: 22.41 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/1.102, allocations: 0.625 kB / 1.019 GB, free: 22.41 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007643/1.103, allocations: 0.7879 MB / 1.02 GB, free: 22.16 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002666/1.106, allocations: 2.303 MB / 1.022 GB, free: 21.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/1.106, allocations: 2.938 kB / 1.022 GB, free: 21.79 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007341/1.107, allocations: 167.3 kB / 1.022 GB, free: 21.79 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/1.107, allocations: 5.188 kB / 1.022 GB, free: 21.79 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.512e-05/1.107, allocations: 20.41 kB / 1.022 GB, free: 21.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/1.107, allocations: 3.469 kB / 1.022 GB, free: 21.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/1.107, allocations: 8.297 kB / 1.022 GB, free: 21.78 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/1.108, allocations: 1.257 MB / 1.024 GB, free: 21.5 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003955/1.108, allocations: 317.5 kB / 1.024 GB, free: 21.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001732/1.109, allocations: 17.47 kB / 1.024 GB, free: 21.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008176/1.109, allocations: 35.81 kB / 1.024 GB, free: 21.34 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.715e-05/1.109, allocations: 46.53 kB / 1.024 GB, free: 21.33 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.557e-05/1.11, allocations: 36.48 kB / 1.024 GB, free: 21.33 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009451/1.11, allocations: 0.909 MB / 1.025 GB, free: 21.22 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.7e-07/1.11, allocations: 0.7812 kB / 1.025 GB, free: 21.22 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001686/1.112, allocations: 0.8346 MB / 1.026 GB, free: 21.12 MB / 0.7169 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.0004938/1.113, allocations: 267.6 kB / 1.026 GB, free: 21.01 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002028/1.115, allocations: 1.444 MB / 1.028 GB, free: 20.99 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/1.115, allocations: 3.281 kB / 1.028 GB, free: 20.99 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003878/1.115, allocations: 347.3 kB / 1.028 GB, free: 20.99 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/1.118, allocations: 0.8442 MB / 1.029 GB, free: 20.88 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003548/1.122, allocations: 3.01 MB / 1.032 GB, free: 19.53 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006389/1.123, allocations: 1.346 MB / 1.033 GB, free: 18.8 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003078/1.123, allocations: 119.9 kB / 1.033 GB, free: 18.79 MB / 0.7169 GB Notification: Performance of SimCode: time 2.41e-07/1.123, allocations: 3.938 kB / 1.033 GB, free: 18.79 MB / 0.7169 GB Notification: Performance of Templates: time 0.02687/1.15, allocations: 25.07 MB / 1.058 GB, free: 13.73 MB / 0.7325 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)