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.1964/0.1984, allocations: 80.83 MB / 0.6706 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8186/1.017, allocations: 274.3 MB / 0.9385 GB, free: 7.469 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02723/1.044, allocations: 17 MB / 0.9551 GB, free: 6.414 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003522/1.048, allocations: 71.62 kB / 0.9552 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004536/1.053, allocations: 1.22 MB / 0.9564 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0119/1.065, allocations: 3.169 MB / 0.9595 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.009236/1.074, allocations: 2.652 MB / 0.9621 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.01078/1.085, allocations: 5.31 MB / 0.9673 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004194/1.089, allocations: 1.894 MB / 0.9691 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007306/1.096, allocations: 2.48 MB / 0.9715 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005022/1.101, allocations: 1.636 MB / 0.9731 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001263/1.103, allocations: 224 kB / 0.9733 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008113/1.111, allocations: 2.919 MB / 0.9762 GB, free: 0.793 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001907/1.113, allocations: 0.8259 MB / 0.977 GB, free: 15.96 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003736/1.116, allocations: 1.229 MB / 0.9782 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01111/1.127, allocations: 4.128 MB / 0.9822 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.128, allocations: 0 / 0.9822 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.255e-06/1.128, allocations: 0 / 0.9822 GB, free: 10.6 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001435/1.128, allocations: 0 / 0.9822 GB, free: 10.6 MB / 0.7481 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.008427/1.136, allocations: 2.681 MB / 0.9848 GB, free: 7.824 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/1.136, allocations: 8.031 kB / 0.9849 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004693/1.141, allocations: 0.6494 MB / 0.9855 GB, free: 7.164 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003404/1.144, allocations: 1.448 MB / 0.9869 GB, free: 5.66 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002539/1.145, allocations: 200.1 kB / 0.9871 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004098/1.145, allocations: 155.9 kB / 0.9872 GB, free: 5.293 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004493/1.15, allocations: 1.858 MB / 0.9891 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/1.15, allocations: 0 / 0.9891 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001749/1.15, allocations: 67.98 kB / 0.9891 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.165e-05/1.15, allocations: 54.56 kB / 0.9892 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003207/1.153, allocations: 1.501 MB / 0.9906 GB, free: 1.738 MB / 0.7481 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.01131/1.164, allocations: 7.646 MB / 0.9981 GB, free: 9.504 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002046/1.167, allocations: 0.8374 MB / 0.9989 GB, free: 8.652 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005243/1.167, allocations: 359.5 kB / 0.9993 GB, free: 8.301 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/1.167, allocations: 16.53 kB / 0.9993 GB, free: 8.285 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/1.167, allocations: 43.12 kB / 0.9993 GB, free: 8.234 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008344/1.168, allocations: 111.3 kB / 0.9994 GB, free: 8.125 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=63): time 2.805e-06/1.168, allocations: 7.938 kB / 0.9994 GB, free: 8.117 MB / 0.7637 GB Notification: Performance of matching and sorting (n=63): time 0.003824/1.172, allocations: 1.293 MB / 1.001 GB, free: 6.816 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/1.172, allocations: 93.66 kB / 1.001 GB, free: 6.707 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001913/1.174, allocations: 1.457 MB / 1.002 GB, free: 5.242 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001673/1.174, allocations: 45.7 kB / 1.002 GB, free: 5.191 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.000646/1.175, allocations: 0.8281 MB / 1.003 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.000218/1.175, allocations: 224.8 kB / 1.003 GB, free: 4.133 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003712/1.175, allocations: 246.6 kB / 1.004 GB, free: 3.883 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.175, allocations: 345.9 kB / 1.004 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009188/1.176, allocations: 457.8 kB / 1.004 GB, free: 3.09 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00123/1.178, allocations: 0.8243 MB / 1.005 GB, free: 2.105 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/1.18, allocations: 1.258 MB / 1.006 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.226e-06/1.18, allocations: 4 kB / 1.006 GB, free: 0.7031 MB / 0.7637 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002772/1.182, allocations: 1.514 MB / 1.008 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.887e-05/1.183, allocations: 122.8 kB / 1.008 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/1.183, allocations: 8 kB / 1.008 GB, free: 15 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.172e-05/1.183, allocations: 19.94 kB / 1.008 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/1.184, allocations: 252 kB / 1.008 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.556e-05/1.184, allocations: 27.91 kB / 1.008 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001797/1.186, allocations: 95.75 kB / 1.008 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.621e-05/1.186, allocations: 47.98 kB / 1.008 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001417/1.187, allocations: 0.7524 MB / 1.009 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00096/1.188, allocations: 0.7697 MB / 1.01 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00148/1.19, allocations: 1.161 MB / 1.011 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.522e-06/1.19, allocations: 4 kB / 1.011 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.002467/1.192, allocations: 1.408 MB / 1.012 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.233e-05/1.192, allocations: 125.5 kB / 1.012 GB, free: 10 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/1.192, allocations: 8.906 kB / 1.012 GB, free: 9.992 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/1.192, allocations: 12 kB / 1.012 GB, free: 9.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009223/1.193, allocations: 231.6 kB / 1.013 GB, free: 9.754 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.343e-05/1.193, allocations: 27.86 kB / 1.013 GB, free: 9.727 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001907/1.195, allocations: 83.83 kB / 1.013 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.773e-05/1.195, allocations: 44 kB / 1.013 GB, free: 9.602 MB / 0.7794 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,senMas2.i_x,senMas1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004887/1.196, allocations: 256.6 kB / 1.013 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003193/1.196, allocations: 154.1 kB / 1.013 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/1.198, allocations: 0.9162 MB / 1.014 GB, free: 8.258 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.589e-05/1.198, allocations: 15.92 kB / 1.014 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/1.198, allocations: 0 / 1.014 GB, free: 8.242 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001513/1.2, allocations: 0.8855 MB / 1.015 GB, free: 7.305 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004212/1.204, allocations: 2.289 MB / 1.017 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.204, allocations: 7.984 kB / 1.017 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001049/1.205, allocations: 191.9 kB / 1.017 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-05/1.205, allocations: 11.92 kB / 1.017 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/1.205, allocations: 12 kB / 1.017 GB, free: 4.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.386e-06/1.205, allocations: 4 kB / 1.017 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.205, allocations: 0 / 1.017 GB, free: 4.727 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003161/1.208, allocations: 1.466 MB / 1.019 GB, free: 3.234 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009171/1.209, allocations: 359.1 kB / 1.019 GB, free: 2.863 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/1.209, allocations: 16 kB / 1.019 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/1.211, allocations: 83.89 kB / 1.019 GB, free: 2.766 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/1.211, allocations: 40.5 kB / 1.019 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/1.211, allocations: 43.95 kB / 1.019 GB, free: 2.684 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001686/1.213, allocations: 0.9811 MB / 1.02 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/1.213, allocations: 0 / 1.02 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.00274/1.215, allocations: 0.8964 MB / 1.021 GB, free: 0.8086 MB / 0.7794 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 (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.0007202/1.216, allocations: 263.3 kB / 1.022 GB, free: 0.5586 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003968/1.22, allocations: 2.006 MB / 1.023 GB, free: 14.46 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.166e-05/1.22, allocations: 4.656 kB / 1.023 GB, free: 14.46 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008936/1.221, allocations: 395 kB / 1.024 GB, free: 14.08 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004611/1.226, allocations: 0.9194 MB / 1.025 GB, free: 13.17 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005659/1.231, allocations: 3.012 MB / 1.028 GB, free: 10.12 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/1.232, allocations: 1.376 MB / 1.029 GB, free: 8.707 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001972/1.234, allocations: 444.9 kB / 1.029 GB, free: 8.266 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003448/1.235, allocations: 123.3 kB / 1.03 GB, free: 8.145 MB / 0.795 GB Notification: Performance of SimCode: time 1.022e-06/1.235, allocations: 0 / 1.03 GB, free: 8.145 MB / 0.795 GB Notification: Performance of Templates: time 0.05936/1.294, allocations: 34.88 MB / 1.064 GB, free: 5.57 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (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)