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.1849/0.1878, allocations: 80.84 MB / 0.6706 GB, free: 2.043 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.825/1.013, allocations: 274.3 MB / 0.9385 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02333/1.036, allocations: 17.01 MB / 0.9551 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002707/1.039, allocations: 63.69 kB / 0.9552 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003725/1.043, allocations: 1.216 MB / 0.9564 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.009712/1.053, allocations: 3.18 MB / 0.9595 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007427/1.06, allocations: 2.652 MB / 0.9621 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.008845/1.069, allocations: 5.304 MB / 0.9673 GB, free: 10.16 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004016/1.073, allocations: 1.893 MB / 0.9691 GB, free: 8.238 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006382/1.079, allocations: 2.511 MB / 0.9716 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004164/1.083, allocations: 1.637 MB / 0.9732 GB, free: 4.09 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0008653/1.084, allocations: 224 kB / 0.9734 GB, free: 3.871 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006526/1.091, allocations: 2.927 MB / 0.9762 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001535/1.092, allocations: 0.8181 MB / 0.977 GB, free: 120 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003135/1.096, allocations: 1.229 MB / 0.9782 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.008354/1.104, allocations: 4.12 MB / 0.9822 GB, free: 10.76 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 1.058e-05/1.104, allocations: 3.938 kB / 0.9823 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.425e-06/1.104, allocations: 0 / 0.9823 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001404/1.104, allocations: 4 kB / 0.9823 GB, free: 10.75 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.006663/1.111, allocations: 2.681 MB / 0.9849 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/1.111, allocations: 12.03 kB / 0.9849 GB, free: 7.965 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004727/1.116, allocations: 0.6454 MB / 0.9855 GB, free: 7.316 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004049/1.12, allocations: 1.452 MB / 0.9869 GB, free: 5.809 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003405/1.12, allocations: 200.1 kB / 0.9871 GB, free: 5.594 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005552/1.121, allocations: 152 kB / 0.9873 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005143/1.126, allocations: 1.866 MB / 0.9891 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.041e-05/1.126, allocations: 0 / 0.9891 GB, free: 3.512 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002204/1.126, allocations: 60 kB / 0.9891 GB, free: 3.453 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.787e-05/1.126, allocations: 62.56 kB / 0.9892 GB, free: 3.391 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003458/1.13, allocations: 1.501 MB / 0.9907 GB, free: 1.883 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.0119/1.142, allocations: 7.646 MB / 0.9981 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002168/1.144, allocations: 0.826 MB / 0.9989 GB, free: 8.809 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000561/1.144, allocations: 359.5 kB / 0.9993 GB, free: 8.457 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 5.512e-05/1.144, allocations: 16.53 kB / 0.9993 GB, free: 8.441 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.451e-05/1.144, allocations: 47.12 kB / 0.9994 GB, free: 8.387 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008271/1.145, allocations: 122.9 kB / 0.9995 GB, free: 8.266 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=63): time 3.677e-06/1.145, allocations: 0 / 0.9995 GB, free: 8.266 MB / 0.7637 GB Notification: Performance of matching and sorting (n=63): time 0.003882/1.149, allocations: 1.297 MB / 1.001 GB, free: 6.961 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.484e-05/1.149, allocations: 81.67 kB / 1.001 GB, free: 6.863 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001887/1.151, allocations: 1.461 MB / 1.002 GB, free: 5.395 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001406/1.151, allocations: 53.7 kB / 1.002 GB, free: 5.336 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006054/1.152, allocations: 0.8202 MB / 1.003 GB, free: 4.508 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002178/1.152, allocations: 236.7 kB / 1.003 GB, free: 4.273 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003976/1.153, allocations: 238.6 kB / 1.004 GB, free: 4.031 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001353/1.153, allocations: 345.9 kB / 1.004 GB, free: 3.688 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009572/1.154, allocations: 457.8 kB / 1.004 GB, free: 3.238 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001297/1.155, allocations: 0.8322 MB / 1.005 GB, free: 2.246 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00218/1.157, allocations: 1.25 MB / 1.006 GB, free: 0.8555 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.033e-05/1.157, allocations: 4 kB / 1.006 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003103/1.16, allocations: 1.514 MB / 1.008 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.644e-05/1.16, allocations: 126.8 kB / 1.008 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.714e-05/1.16, allocations: 12.03 kB / 1.008 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.693e-05/1.161, allocations: 15.94 kB / 1.008 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/1.162, allocations: 251.6 kB / 1.008 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.757e-05/1.162, allocations: 23.91 kB / 1.008 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001743/1.163, allocations: 99.77 kB / 1.008 GB, free: 14.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/1.164, allocations: 55.97 kB / 1.008 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001358/1.165, allocations: 0.7485 MB / 1.009 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009766/1.166, allocations: 0.7693 MB / 1.01 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001502/1.167, allocations: 1.153 MB / 1.011 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.211e-06/1.167, allocations: 4 kB / 1.011 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.002354/1.17, allocations: 1.416 MB / 1.012 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.658e-05/1.17, allocations: 122.8 kB / 1.013 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/1.17, allocations: 11.94 kB / 1.013 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.28e-05/1.17, allocations: 16 kB / 1.013 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008943/1.171, allocations: 223.6 kB / 1.013 GB, free: 9.898 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.28e-05/1.171, allocations: 27.86 kB / 1.013 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001631/1.173, allocations: 82.53 kB / 1.013 GB, free: 9.793 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-05/1.173, allocations: 47.98 kB / 1.013 GB, free: 9.746 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.0004434/1.173, allocations: 256.6 kB / 1.013 GB, free: 9.488 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/1.173, allocations: 158.1 kB / 1.013 GB, free: 9.332 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002129/1.176, allocations: 0.9161 MB / 1.014 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.305e-06/1.176, allocations: 11.94 kB / 1.014 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.176, allocations: 4 kB / 1.014 GB, free: 8.383 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001584/1.177, allocations: 0.8855 MB / 1.015 GB, free: 7.445 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003947/1.181, allocations: 2.289 MB / 1.017 GB, free: 5.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/1.181, allocations: 4 kB / 1.017 GB, free: 5.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.182, allocations: 187.8 kB / 1.017 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.377e-06/1.182, allocations: 4 kB / 1.017 GB, free: 4.898 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/1.182, allocations: 19.98 kB / 1.018 GB, free: 4.879 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/1.182, allocations: 8.094 kB / 1.018 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.182, allocations: 4 kB / 1.018 GB, free: 4.867 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002826/1.185, allocations: 1.458 MB / 1.019 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008434/1.186, allocations: 359.1 kB / 1.019 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001807/1.186, allocations: 16.12 kB / 1.019 GB, free: 2.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001271/1.187, allocations: 75.91 kB / 1.019 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.836e-05/1.188, allocations: 44.5 kB / 1.019 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.962e-05/1.188, allocations: 47.89 kB / 1.019 GB, free: 2.832 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001341/1.189, allocations: 0.9889 MB / 1.02 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.51e-07/1.189, allocations: 0 / 1.02 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002083/1.191, allocations: 0.8886 MB / 1.021 GB, free: 0.957 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.0005778/1.192, allocations: 263 kB / 1.022 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003488/1.195, allocations: 2.006 MB / 1.023 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.169e-05/1.195, allocations: 4.656 kB / 1.024 GB, free: 14.61 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0008838/1.196, allocations: 403.2 kB / 1.024 GB, free: 14.21 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004428/1.201, allocations: 0.9155 MB / 1.025 GB, free: 13.32 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/1.206, allocations: 3.016 MB / 1.028 GB, free: 10.26 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009598/1.207, allocations: 1.372 MB / 1.029 GB, free: 8.852 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001886/1.209, allocations: 444.9 kB / 1.029 GB, free: 8.41 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/1.209, allocations: 119.4 kB / 1.03 GB, free: 8.293 MB / 0.795 GB Notification: Performance of SimCode: time 6.01e-07/1.209, allocations: 0 / 1.03 GB, free: 8.293 MB / 0.795 GB Notification: Performance of Templates: time 0.05707/1.266, allocations: 35.42 MB / 1.064 GB, free: 5.176 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)