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.1597/0.1604, allocations: 82.22 MB / 0.5941 GB, free: 5.586 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6094/0.7698, allocations: 268.6 MB / 0.8564 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.02412/0.794, allocations: 16.92 MB / 0.8729 GB, free: 4.512 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003242/0.7973, allocations: 63.62 kB / 0.873 GB, free: 4.449 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.003623/0.801, allocations: 1.046 MB / 0.874 GB, free: 3.398 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.01034/0.8114, allocations: 2.993 MB / 0.8769 GB, free: 404 kB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008135/0.8195, allocations: 2.458 MB / 0.8793 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01052/0.8301, allocations: 7.309 MB / 0.8864 GB, free: 6.652 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002837/0.8329, allocations: 1.544 MB / 0.8879 GB, free: 5.066 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006058/0.839, allocations: 2.109 MB / 0.89 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00454/0.8436, allocations: 1.626 MB / 0.8916 GB, free: 1.324 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0005417/0.8441, allocations: 84 kB / 0.8917 GB, free: 1.242 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008317/0.8525, allocations: 3.238 MB / 0.8948 GB, free: 14 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001379/0.8539, allocations: 0.6736 MB / 0.8955 GB, free: 13.32 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002192/0.8561, allocations: 1.094 MB / 0.8966 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.007591/0.8637, allocations: 4.108 MB / 0.9006 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8637, allocations: 0 / 0.9006 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8637, allocations: 0 / 0.9006 GB, free: 8.094 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.292e-05/0.8638, allocations: 0 / 0.9006 GB, free: 8.094 MB / 0.6544 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.005151/0.869, allocations: 2.237 MB / 0.9028 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.869, allocations: 12.03 kB / 0.9028 GB, free: 5.754 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004566/0.8736, allocations: 0.6532 MB / 0.9034 GB, free: 5.098 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002783/0.8764, allocations: 1.385 MB / 0.9048 GB, free: 3.656 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002119/0.8767, allocations: 200.1 kB / 0.905 GB, free: 3.441 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/0.8769, allocations: 152 kB / 0.9051 GB, free: 3.293 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004293/0.8812, allocations: 1.901 MB / 0.907 GB, free: 1.324 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.794e-05/0.8813, allocations: 3.938 kB / 0.907 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001772/0.8815, allocations: 63.98 kB / 0.907 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.305e-05/0.8815, allocations: 54.62 kB / 0.9071 GB, free: 1.203 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003401/0.8849, allocations: 1.525 MB / 0.9086 GB, free: 15.67 MB / 0.67 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.0118/0.8967, allocations: 7.681 MB / 0.9161 GB, free: 7.402 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002153/0.8989, allocations: 0.8538 MB / 0.9169 GB, free: 6.539 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005548/0.8995, allocations: 354.4 kB / 0.9172 GB, free: 6.191 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 5.337e-05/0.8996, allocations: 16.48 kB / 0.9172 GB, free: 6.176 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.8996, allocations: 55.42 kB / 0.9173 GB, free: 6.113 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001119/0.9008, allocations: 158.9 kB / 0.9175 GB, free: 5.957 MB / 0.67 GB Notification: Performance of pre-optimization done (n=63): time 3.406e-06/0.9008, allocations: 0 / 0.9175 GB, free: 5.957 MB / 0.67 GB Notification: Performance of matching and sorting (n=63): time 0.003927/0.9047, allocations: 1.344 MB / 0.9188 GB, free: 4.609 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.9048, allocations: 89.61 kB / 0.9188 GB, free: 4.504 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002094/0.9069, allocations: 1.457 MB / 0.9203 GB, free: 3.039 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0002378/0.9071, allocations: 49.7 kB / 0.9203 GB, free: 2.984 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007213/0.9079, allocations: 0.8164 MB / 0.9211 GB, free: 2.16 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002668/0.9081, allocations: 236.7 kB / 0.9213 GB, free: 1.926 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.9083, allocations: 97.67 kB / 0.9214 GB, free: 1.824 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.9085, allocations: 345.9 kB / 0.9218 GB, free: 1.48 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.9095, allocations: 454.4 kB / 0.9222 GB, free: 1.035 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001397/0.9109, allocations: 0.8399 MB / 0.923 GB, free: 36 kB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002135/0.9131, allocations: 1.278 MB / 0.9243 GB, free: 14.62 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.096e-06/0.9131, allocations: 7.938 kB / 0.9243 GB, free: 14.61 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003207/0.9163, allocations: 1.533 MB / 0.9258 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004269/0.9167, allocations: 460.8 kB / 0.9262 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.181e-05/0.9168, allocations: 8 kB / 0.9262 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.673e-05/0.9168, allocations: 12 kB / 0.9262 GB, free: 12.44 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001106/0.9179, allocations: 255.6 kB / 0.9265 GB, free: 12.19 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.55e-05/0.918, allocations: 19.92 kB / 0.9265 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/0.9203, allocations: 186.1 kB / 0.9267 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.9204, allocations: 47.98 kB / 0.9267 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.9204, allocations: 4.625 kB / 0.9267 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00195/0.9224, allocations: 1.272 MB / 0.928 GB, free: 10.64 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.9224, allocations: 12.12 kB / 0.928 GB, free: 10.63 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.9224, allocations: 16 kB / 0.928 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008372/0.9233, allocations: 227.6 kB / 0.9282 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.666e-05/0.9233, allocations: 19.94 kB / 0.9282 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001811/0.9251, allocations: 147.6 kB / 0.9284 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.692e-05/0.9252, allocations: 51.92 kB / 0.9284 GB, free: 10.18 MB / 0.6856 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.001215/0.9264, allocations: 0.5133 MB / 0.9289 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003036/0.9267, allocations: 158.1 kB / 0.9291 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002057/0.9288, allocations: 0.9396 MB / 0.93 GB, free: 8.547 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.143e-05/0.9288, allocations: 7.984 kB / 0.93 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.9288, allocations: 0 / 0.93 GB, free: 8.539 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001609/0.9305, allocations: 0.9089 MB / 0.9309 GB, free: 7.578 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003935/0.9344, allocations: 2.305 MB / 0.9331 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.9344, allocations: 0 / 0.9331 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009836/0.9354, allocations: 195.8 kB / 0.9333 GB, free: 5.016 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.9354, allocations: 3.938 kB / 0.9333 GB, free: 5.012 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.434e-05/0.9355, allocations: 24.08 kB / 0.9333 GB, free: 4.988 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.9355, allocations: 4 kB / 0.9333 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9355, allocations: 0 / 0.9333 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00274/0.9383, allocations: 1.489 MB / 0.9348 GB, free: 3.465 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007243/0.939, allocations: 363.1 kB / 0.9351 GB, free: 3.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001802/0.9392, allocations: 16.12 kB / 0.9352 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00147/0.9407, allocations: 147.8 kB / 0.9353 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-05/0.9408, allocations: 36.52 kB / 0.9353 GB, free: 2.895 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/0.9409, allocations: 51.89 kB / 0.9354 GB, free: 2.844 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001397/0.9423, allocations: 0.9811 MB / 0.9363 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9423, allocations: 0 / 0.9363 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002528/0.9448, allocations: 0.9119 MB / 0.9372 GB, free: 0.9531 MB / 0.6856 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.0006492/0.9455, allocations: 272.1 kB / 0.9375 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003519/0.949, allocations: 2.017 MB / 0.9395 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.936e-06/0.949, allocations: 4.656 kB / 0.9395 GB, free: 14.58 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0008217/0.9499, allocations: 408.4 kB / 0.9399 GB, free: 14.18 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004766/0.9546, allocations: 0.9136 MB / 0.9408 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005777/0.9604, allocations: 3.815 MB / 0.9445 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/0.9615, allocations: 1.376 MB / 0.9458 GB, free: 8.027 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.002146/0.9636, allocations: 441.1 kB / 0.9462 GB, free: 7.59 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003551/0.964, allocations: 119.4 kB / 0.9464 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of SimCode: time 1.593e-06/0.964, allocations: 0 / 0.9464 GB, free: 7.473 MB / 0.7012 GB Notification: Performance of Templates: time 0.3845/1.348, allocations: 33.42 MB / 0.979 GB, free: 271.5 MB / 0.7169 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: