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.1803/0.1827, allocations: 80.84 MB / 0.6706 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7699/0.9526, allocations: 274.3 MB / 0.9385 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.02432/0.977, allocations: 17.01 MB / 0.9551 GB, free: 14.67 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00322/0.9803, allocations: 67.62 kB / 0.9552 GB, free: 14.61 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.003543/0.9839, allocations: 1.22 MB / 0.9564 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.009684/0.9936, allocations: 3.174 MB / 0.9595 GB, free: 10.19 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.008099/1.002, allocations: 2.643 MB / 0.9621 GB, free: 7.578 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.00954/1.011, allocations: 5.309 MB / 0.9673 GB, free: 2.254 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003604/1.015, allocations: 1.894 MB / 0.9691 GB, free: 340 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00713/1.022, allocations: 2.472 MB / 0.9715 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004763/1.027, allocations: 1.641 MB / 0.9731 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0008918/1.028, allocations: 224 kB / 0.9733 GB, free: 12 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008349/1.036, allocations: 2.935 MB / 0.9762 GB, free: 9.055 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.00173/1.038, allocations: 0.8142 MB / 0.977 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.002767/1.041, allocations: 1.229 MB / 0.9782 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.01043/1.051, allocations: 4.13 MB / 0.9822 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/1.051, allocations: 0 / 0.9822 GB, free: 2.867 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.184e-06/1.051, allocations: 7.938 kB / 0.9822 GB, free: 2.859 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 9.091e-05/1.051, allocations: 0 / 0.9822 GB, free: 2.859 MB / 0.7794 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.006061/1.057, allocations: 2.759 MB / 0.9849 GB, free: 4 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 0.4151/1.473, allocations: 5.578 kB / 0.9849 GB, free: 273.7 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005673/1.478, allocations: 0.6488 MB / 0.9856 GB, free: 273.7 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003603/1.482, allocations: 1.46 MB / 0.987 GB, free: 273.3 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/1.482, allocations: 197.6 kB / 0.9872 GB, free: 273.2 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002718/1.482, allocations: 153.7 kB / 0.9873 GB, free: 273.2 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003672/1.486, allocations: 1.866 MB / 0.9892 GB, free: 273 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.199e-05/1.486, allocations: 4.406 kB / 0.9892 GB, free: 273 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001521/1.486, allocations: 60.84 kB / 0.9892 GB, free: 273 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-05/1.486, allocations: 49.36 kB / 0.9893 GB, free: 273 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00299/1.489, allocations: 1.503 MB / 0.9907 GB, free: 273 MB / 0.7794 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.01022/1.5, allocations: 7.675 MB / 0.9982 GB, free: 268.9 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002053/1.502, allocations: 0.8256 MB / 0.999 GB, free: 268.6 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005869/1.502, allocations: 359.3 kB / 0.9994 GB, free: 268.4 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 6.438e-05/1.502, allocations: 12.89 kB / 0.9994 GB, free: 268.4 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.644e-05/1.502, allocations: 48.97 kB / 0.9994 GB, free: 268.4 MB / 0.7794 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008906/1.503, allocations: 124 kB / 0.9996 GB, free: 268.3 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=63): time 3.326e-06/1.503, allocations: 0 / 0.9996 GB, free: 268.3 MB / 0.7794 GB Notification: Performance of matching and sorting (n=63): time 0.00405/1.507, allocations: 1.302 MB / 1.001 GB, free: 267.9 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.969e-05/1.507, allocations: 83.42 kB / 1.001 GB, free: 267.8 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002637/1.51, allocations: 1.459 MB / 1.002 GB, free: 267.3 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.000207/1.51, allocations: 52.02 kB / 1.002 GB, free: 267.2 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007155/1.511, allocations: 0.8362 MB / 1.003 GB, free: 266.6 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002742/1.511, allocations: 239.6 kB / 1.003 GB, free: 266.5 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005152/1.512, allocations: 249.6 kB / 1.004 GB, free: 266.4 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001189/1.512, allocations: 349.6 kB / 1.004 GB, free: 266.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001088/1.513, allocations: 454.7 kB / 1.004 GB, free: 265.9 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001353/1.514, allocations: 0.8223 MB / 1.005 GB, free: 265.3 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002328/1.517, allocations: 1.26 MB / 1.006 GB, free: 264.5 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.097e-06/1.517, allocations: 2.812 kB / 1.006 GB, free: 264.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004007/1.521, allocations: 1.532 MB / 1.008 GB, free: 263.8 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 8.641e-05/1.521, allocations: 122.8 kB / 1.008 GB, free: 263.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.383e-05/1.521, allocations: 8.25 kB / 1.008 GB, free: 263.7 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.435e-05/1.521, allocations: 15.59 kB / 1.008 GB, free: 263.7 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/1.522, allocations: 250.8 kB / 1.008 GB, free: 263.7 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.238e-05/1.522, allocations: 21.33 kB / 1.008 GB, free: 263.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/1.524, allocations: 90.44 kB / 1.008 GB, free: 263.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/1.524, allocations: 54.16 kB / 1.009 GB, free: 263.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001544/1.526, allocations: 0.7484 MB / 1.009 GB, free: 263.3 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001002/1.527, allocations: 0.7724 MB / 1.01 GB, free: 262.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001586/1.529, allocations: 1.153 MB / 1.011 GB, free: 261.9 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.292e-06/1.529, allocations: 2.875 kB / 1.011 GB, free: 261.9 MB / 0.7794 GB Notification: Performance of matching and sorting (n=135) (initialization_lambda0): time 0.002877/1.531, allocations: 1.433 MB / 1.013 GB, free: 261.2 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.336e-05/1.532, allocations: 122.3 kB / 1.013 GB, free: 261.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/1.532, allocations: 8.125 kB / 1.013 GB, free: 261.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.313e-05/1.532, allocations: 14.56 kB / 1.013 GB, free: 261.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009801/1.533, allocations: 225.2 kB / 1.013 GB, free: 261.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.56e-05/1.533, allocations: 20.59 kB / 1.013 GB, free: 261.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/1.535, allocations: 83.5 kB / 1.013 GB, free: 261.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.745e-05/1.535, allocations: 48.14 kB / 1.013 GB, free: 261 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.0004861/1.535, allocations: 257.1 kB / 1.013 GB, free: 260.8 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004458/1.536, allocations: 172.2 kB / 1.013 GB, free: 260.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002466/1.538, allocations: 0.9189 MB / 1.014 GB, free: 260.4 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.988e-06/1.538, allocations: 6.156 kB / 1.014 GB, free: 260.4 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/1.538, allocations: 0 / 1.014 GB, free: 260.4 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001589/1.54, allocations: 0.8918 MB / 1.015 GB, free: 259.9 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004647/1.544, allocations: 2.294 MB / 1.017 GB, free: 258.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/1.544, allocations: 6.094 kB / 1.017 GB, free: 258.8 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009889/1.545, allocations: 184.6 kB / 1.018 GB, free: 258.8 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/1.545, allocations: 2.75 kB / 1.018 GB, free: 258.8 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.607e-05/1.545, allocations: 21.72 kB / 1.018 GB, free: 258.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/1.545, allocations: 6.656 kB / 1.018 GB, free: 258.8 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.545, allocations: 5.094 kB / 1.018 GB, free: 258.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003176/1.549, allocations: 1.456 MB / 1.019 GB, free: 258.1 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/1.55, allocations: 367.7 kB / 1.019 GB, free: 257.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002253/1.55, allocations: 18.38 kB / 1.019 GB, free: 257.9 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001295/1.551, allocations: 79.91 kB / 1.02 GB, free: 257.9 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/1.551, allocations: 46.03 kB / 1.02 GB, free: 257.9 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001138/1.552, allocations: 45.61 kB / 1.02 GB, free: 257.8 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001665/1.553, allocations: 0.9876 MB / 1.021 GB, free: 257.5 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/1.553, allocations: 0 / 1.021 GB, free: 257.5 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002911/1.556, allocations: 0.8976 MB / 1.021 GB, free: 257.3 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.0007015/1.557, allocations: 258.6 kB / 1.022 GB, free: 257.2 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004496/1.561, allocations: 2.01 MB / 1.024 GB, free: 256.2 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/1.561, allocations: 2.031 kB / 1.024 GB, free: 256.2 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0009601/1.562, allocations: 399.5 kB / 1.024 GB, free: 256.1 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005024/1.567, allocations: 0.9066 MB / 1.025 GB, free: 255.7 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006509/1.574, allocations: 3.087 MB / 1.028 GB, free: 253.8 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001118/1.575, allocations: 1.372 MB / 1.029 GB, free: 252.8 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.002677/1.578, allocations: 443.8 kB / 1.03 GB, free: 252.6 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/1.578, allocations: 123.7 kB / 1.03 GB, free: 252.6 MB / 0.7794 GB Notification: Performance of SimCode: time 1.543e-06/1.578, allocations: 0 / 1.03 GB, free: 252.6 MB / 0.7794 GB Notification: Performance of Templates: time 0.05902/1.637, allocations: 34.88 MB / 1.064 GB, free: 222.9 MB / 0.7794 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)