Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1743/0.1751, allocations: 82.22 MB / 0.5934 GB, free: 5.977 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.682/0.8572, allocations: 223.5 MB / 0.8117 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02154/0.8788, allocations: 15.48 MB / 0.8268 GB, free: 0.6602 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003029/0.8819, allocations: 51.62 kB / 0.8268 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004573/0.8865, allocations: 0.9994 MB / 0.8278 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01174/0.8983, allocations: 2.894 MB / 0.8306 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00758/0.9059, allocations: 1.994 MB / 0.8326 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.008661/0.9145, allocations: 3 MB / 0.8355 GB, free: 7.754 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002818/0.9174, allocations: 1.433 MB / 0.8369 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004861/0.9223, allocations: 1.659 MB / 0.8385 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002486/0.9248, allocations: 1.012 MB / 0.8395 GB, free: 3.613 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003839/0.9252, allocations: 84 kB / 0.8396 GB, free: 3.531 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004553/0.9298, allocations: 1.307 MB / 0.8409 GB, free: 2.223 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000804/0.9306, allocations: 0.6194 MB / 0.8415 GB, free: 1.602 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008953/0.9315, allocations: 456.7 kB / 0.8419 GB, free: 1.148 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003893/0.9354, allocations: 2.696 MB / 0.8445 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.147e-06/0.9354, allocations: 0 / 0.8445 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.856e-06/0.9354, allocations: 4 kB / 0.8446 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.214e-05/0.9355, allocations: 0 / 0.8446 GB, free: 14.44 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004265/0.9397, allocations: 2.216 MB / 0.8467 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.9398, allocations: 8.031 kB / 0.8467 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004145/0.9439, allocations: 0.6494 MB / 0.8474 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002609/0.9466, allocations: 1.332 MB / 0.8487 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002104/0.9468, allocations: 204.1 kB / 0.8489 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000241/0.947, allocations: 151.9 kB / 0.849 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003779/0.9508, allocations: 1.877 MB / 0.8508 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.9509, allocations: 0 / 0.8508 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001571/0.951, allocations: 64 kB / 0.8509 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.351e-05/0.9511, allocations: 50.64 kB / 0.8509 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003117/0.9542, allocations: 1.521 MB / 0.8524 GB, free: 6.133 MB / 0.6075 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.01023/0.9645, allocations: 7.682 MB / 0.8599 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002002/0.9665, allocations: 0.8456 MB / 0.8608 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 5.009e-05/0.9666, allocations: 12.55 kB / 0.8608 GB, free: 13 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.9666, allocations: 51.12 kB / 0.8608 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000964/0.9676, allocations: 166.8 kB / 0.861 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=63): time 3.787e-06/0.9676, allocations: 0 / 0.861 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of matching and sorting (n=63): time 0.003516/0.9711, allocations: 1.344 MB / 0.8623 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.406e-05/0.9712, allocations: 85.67 kB / 0.8624 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001819/0.973, allocations: 1.441 MB / 0.8638 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001162/0.9731, allocations: 49.7 kB / 0.8638 GB, free: 9.82 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006747/0.9738, allocations: 0.8241 MB / 0.8646 GB, free: 8.988 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002146/0.974, allocations: 228.8 kB / 0.8648 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.974e-05/0.9741, allocations: 24 kB / 0.8649 GB, free: 8.738 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.9743, allocations: 349.9 kB / 0.8652 GB, free: 8.391 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008954/0.9752, allocations: 450.3 kB / 0.8656 GB, free: 7.949 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001244/0.9764, allocations: 0.8205 MB / 0.8664 GB, free: 6.965 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001098/0.9775, allocations: 0.6694 MB / 0.8671 GB, free: 6.273 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.9775, allocations: 4 kB / 0.8671 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002672/0.9802, allocations: 1.533 MB / 0.8686 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.001649/0.9819, allocations: 3.414 MB / 0.8719 GB, free: 1.082 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.9819, allocations: 8 kB / 0.8719 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.279e-05/0.982, allocations: 16 kB / 0.8719 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.9831, allocations: 259.6 kB / 0.8722 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.092e-05/0.9831, allocations: 15.94 kB / 0.8722 GB, free: 0.7891 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001998/0.9851, allocations: 187.6 kB / 0.8724 GB, free: 0.6055 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.945e-05/0.9852, allocations: 51.94 kB / 0.8724 GB, free: 0.5547 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.9852, allocations: 4 kB / 0.8724 GB, free: 0.5508 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001929/0.9872, allocations: 1.264 MB / 0.8737 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.9872, allocations: 8 kB / 0.8737 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.151e-05/0.9872, allocations: 19.98 kB / 0.8737 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008422/0.9881, allocations: 219.7 kB / 0.8739 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.178e-05/0.9881, allocations: 23.92 kB / 0.8739 GB, free: 15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.9898, allocations: 155.8 kB / 0.8741 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.719e-05/0.9899, allocations: 44 kB / 0.8741 GB, free: 14.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 4 (humBac.vol.i_w,humFor.vol.i_w,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 127 * Array equations: 2 * Algorithm blocks: 4 * 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.001204/0.9911, allocations: 0.5163 MB / 0.8746 GB, free: 14.28 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.9914, allocations: 162.1 kB / 0.8748 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001942/0.9933, allocations: 0.9395 MB / 0.8757 GB, free: 13.16 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/0.9934, allocations: 11.94 kB / 0.8757 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.295e-06/0.9934, allocations: 4 kB / 0.8757 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001542/0.9949, allocations: 0.8972 MB / 0.8766 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003901/0.9989, allocations: 2.301 MB / 0.8788 GB, free: 9.828 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.9989, allocations: 7.984 kB / 0.8788 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009738/0.9999, allocations: 195.8 kB / 0.879 GB, free: 9.629 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.9999, allocations: 4 kB / 0.879 GB, free: 9.625 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.366e-05/0.9999, allocations: 12 kB / 0.879 GB, free: 9.613 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.282e-06/0.9999, allocations: 4 kB / 0.8791 GB, free: 9.609 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/1, allocations: 4 kB / 0.8791 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002675/1.003, allocations: 1.532 MB / 0.8806 GB, free: 8.027 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008667/1.004, allocations: 359 kB / 0.8809 GB, free: 7.656 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001904/1.004, allocations: 20 kB / 0.8809 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/1.005, allocations: 139.9 kB / 0.881 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.785e-05/1.005, allocations: 44.45 kB / 0.8811 GB, free: 7.453 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.95e-05/1.005, allocations: 43.95 kB / 0.8811 GB, free: 7.41 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001412/1.007, allocations: 0.9694 MB / 0.8821 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/1.007, allocations: 0 / 0.8821 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002532/1.009, allocations: 0.8964 MB / 0.883 GB, free: 5.547 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 (humBac.vol.dynBal.U,humBac.vol.dynBal.m,humBac.vol.dynBal.mXi[1],humFor.vol.dynBal.U,humFor.vol.dynBal.m,humFor.vol.dynBal.mXi[1]) * 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 (67): * Single equations (assignments): 67 * 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.0006373/1.01, allocations: 266.6 kB / 0.8832 GB, free: 5.301 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003275/1.013, allocations: 2.014 MB / 0.8852 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.012e-06/1.013, allocations: 1.156 kB / 0.8852 GB, free: 3.195 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000769/1.014, allocations: 410.9 kB / 0.8856 GB, free: 2.793 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/1.018, allocations: 0.8938 MB / 0.8864 GB, free: 1.922 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005445/1.023, allocations: 3.643 MB / 0.89 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001146/1.025, allocations: 1.407 MB / 0.8914 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002076/1.027, allocations: 445.1 kB / 0.8918 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003072/1.027, allocations: 119.4 kB / 0.8919 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/1.027, allocations: 0 / 0.8919 GB, free: 12.24 MB / 0.6544 GB Notification: Performance of Templates: time 0.05614/1.083, allocations: 32.27 MB / 0.9234 GB, free: 12.34 MB / 0.6856 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) Environment - environmentSimulation: