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.1909/0.1929, allocations: 80.83 MB / 0.5897 GB, free: 7.137 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.8202/1.013, allocations: 272.2 MB / 0.8555 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02582/1.039, allocations: 17.12 MB / 0.8722 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004207/1.043, allocations: 63.62 kB / 0.8723 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.00394/1.047, allocations: 1.053 MB / 0.8733 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01058/1.058, allocations: 3.001 MB / 0.8763 GB, free: 8.348 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007493/1.065, allocations: 2.455 MB / 0.8787 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01013/1.076, allocations: 7.308 MB / 0.8858 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003839/1.079, allocations: 1.578 MB / 0.8873 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00763/1.087, allocations: 2.163 MB / 0.8894 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005099/1.092, allocations: 1.706 MB / 0.8911 GB, free: 9.113 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0006182/1.093, allocations: 104 kB / 0.8912 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008799/1.102, allocations: 3.265 MB / 0.8944 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001804/1.104, allocations: 0.7127 MB / 0.8951 GB, free: 5.023 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002942/1.107, allocations: 1.112 MB / 0.8962 GB, free: 3.906 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.009326/1.116, allocations: 4.182 MB / 0.9003 GB, free: 15.71 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/1.116, allocations: 0 / 0.9003 GB, free: 15.71 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.994e-06/1.116, allocations: 0 / 0.9003 GB, free: 15.71 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.239e-05/1.116, allocations: 0 / 0.9003 GB, free: 15.71 MB / 0.67 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.006073/1.122, allocations: 2.696 MB / 0.9029 GB, free: 12.93 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 8.018e-05/1.122, allocations: 12.03 kB / 0.9029 GB, free: 12.91 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00476/1.127, allocations: 0.6376 MB / 0.9035 GB, free: 12.27 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002502/1.13, allocations: 1.386 MB / 0.9049 GB, free: 10.83 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001857/1.13, allocations: 196.1 kB / 0.9051 GB, free: 10.62 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002065/1.13, allocations: 155.9 kB / 0.9052 GB, free: 10.47 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003903/1.134, allocations: 1.866 MB / 0.907 GB, free: 8.535 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.19e-05/1.134, allocations: 4 kB / 0.907 GB, free: 8.531 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/1.134, allocations: 60 kB / 0.9071 GB, free: 8.473 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.264e-05/1.134, allocations: 50.62 kB / 0.9072 GB, free: 8.422 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003338/1.137, allocations: 1.513 MB / 0.9086 GB, free: 6.902 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.01101/1.149, allocations: 7.662 MB / 0.9161 GB, free: 14.65 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/1.151, allocations: 0.8186 MB / 0.9169 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005281/1.151, allocations: 367.5 kB / 0.9173 GB, free: 13.46 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-05/1.151, allocations: 12.55 kB / 0.9173 GB, free: 13.45 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.067e-05/1.151, allocations: 47.12 kB / 0.9173 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001248/1.153, allocations: 162.9 kB / 0.9175 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=63): time 3.496e-06/1.153, allocations: 384 / 0.9175 GB, free: 13.24 MB / 0.6856 GB Notification: Performance of matching and sorting (n=63): time 0.003907/1.156, allocations: 1.293 MB / 0.9187 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.161e-05/1.157, allocations: 85.61 kB / 0.9188 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002121/1.159, allocations: 1.465 MB / 0.9202 GB, free: 10.37 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002167/1.159, allocations: 49.7 kB / 0.9203 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006593/1.16, allocations: 0.8203 MB / 0.9211 GB, free: 9.484 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002278/1.16, allocations: 232.7 kB / 0.9213 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003899/1.16, allocations: 242.6 kB / 0.9215 GB, free: 9.012 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001461/1.16, allocations: 345.9 kB / 0.9219 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009736/1.161, allocations: 461.8 kB / 0.9223 GB, free: 8.215 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001196/1.163, allocations: 0.8282 MB / 0.9231 GB, free: 7.219 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002147/1.165, allocations: 1.25 MB / 0.9243 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.788e-06/1.165, allocations: 4 kB / 0.9244 GB, free: 5.828 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003473/1.168, allocations: 1.518 MB / 0.9258 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001156/1.168, allocations: 128.5 kB / 0.926 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/1.168, allocations: 16.06 kB / 0.926 GB, free: 4.109 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.707e-05/1.168, allocations: 12 kB / 0.926 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.17, allocations: 255.5 kB / 0.9262 GB, free: 3.848 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-05/1.17, allocations: 21.41 kB / 0.9262 GB, free: 3.828 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/1.172, allocations: 175.6 kB / 0.9264 GB, free: 3.656 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.172, allocations: 55.98 kB / 0.9265 GB, free: 3.602 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001454/1.174, allocations: 0.7493 MB / 0.9272 GB, free: 2.852 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001022/1.175, allocations: 0.7697 MB / 0.928 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001909/1.177, allocations: 1.153 MB / 0.9291 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.095e-06/1.177, allocations: 0 / 0.9291 GB, free: 0.6367 MB / 0.6856 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.003478/1.18, allocations: 1.42 MB / 0.9305 GB, free: 15.18 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001009/1.18, allocations: 118.8 kB / 0.9306 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.266e-05/1.18, allocations: 12 kB / 0.9306 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/1.18, allocations: 12 kB / 0.9306 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009437/1.181, allocations: 227.6 kB / 0.9308 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.388e-05/1.181, allocations: 23.86 kB / 0.9308 GB, free: 14.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002205/1.183, allocations: 164.1 kB / 0.931 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/1.184, allocations: 44 kB / 0.931 GB, free: 14.57 MB / 0.7012 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.0004857/1.184, allocations: 255.9 kB / 0.9313 GB, free: 14.31 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003324/1.184, allocations: 158 kB / 0.9314 GB, free: 14.16 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002089/1.187, allocations: 0.9201 MB / 0.9323 GB, free: 13.22 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.01e-05/1.187, allocations: 11.94 kB / 0.9323 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/1.187, allocations: 0 / 0.9323 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001552/1.188, allocations: 0.8894 MB / 0.9332 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004354/1.192, allocations: 2.289 MB / 0.9354 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/1.192, allocations: 0 / 0.9354 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/1.194, allocations: 191.8 kB / 0.9356 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/1.194, allocations: 8.094 kB / 0.9356 GB, free: 9.723 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.825e-05/1.194, allocations: 16 kB / 0.9357 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.117e-05/1.194, allocations: 8 kB / 0.9357 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.194, allocations: 0 / 0.9357 GB, free: 9.699 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003014/1.197, allocations: 1.466 MB / 0.9371 GB, free: 8.203 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008644/1.198, allocations: 355 kB / 0.9374 GB, free: 7.836 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002113/1.198, allocations: 20 kB / 0.9375 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/1.199, allocations: 131.8 kB / 0.9376 GB, free: 7.688 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/1.199, allocations: 40.52 kB / 0.9376 GB, free: 7.648 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/1.199, allocations: 43.94 kB / 0.9377 GB, free: 7.605 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001545/1.201, allocations: 0.985 MB / 0.9386 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/1.201, allocations: 0 / 0.9386 GB, free: 6.625 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.002459/1.203, allocations: 0.9081 MB / 0.9395 GB, free: 5.715 MB / 0.7012 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.0006606/1.204, allocations: 264.4 kB / 0.9398 GB, free: 5.469 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003472/1.208, allocations: 2.002 MB / 0.9417 GB, free: 3.367 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 7.134e-06/1.208, allocations: 4.656 kB / 0.9417 GB, free: 3.363 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0007695/1.208, allocations: 387 kB / 0.9421 GB, free: 2.988 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004276/1.213, allocations: 0.9117 MB / 0.943 GB, free: 2.102 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005648/1.218, allocations: 3.68 MB / 0.9466 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/1.219, allocations: 1.376 MB / 0.9479 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002126/1.222, allocations: 445.1 kB / 0.9483 GB, free: 12.53 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/1.222, allocations: 119.4 kB / 0.9485 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of SimCode: time 8.12e-07/1.222, allocations: 0 / 0.9485 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of Templates: time 0.3822/1.604, allocations: 33.5 MB / 0.9812 GB, free: 276.4 MB / 0.7169 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)