Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json 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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007934/0.0007935, allocations: 91.61 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.543/1.543, allocations: 205.4 MB / 222.1 MB, free: 5.883 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.554/1.554, allocations: 252 MB / 0.5102 GB, free: 4.805 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005604/0.0005605, allocations: 16 kB / 0.6243 GB, free: 1.145 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5358/0.5364, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7533/1.29, allocations: 251.3 MB / 0.9735 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01789/1.308, allocations: 16.25 MB / 0.9894 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003034/1.311, allocations: 54.62 kB / 0.9894 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003085/1.314, allocations: 0.7661 MB / 0.9902 GB, free: 4.812 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006997/1.321, allocations: 2.356 MB / 0.9925 GB, free: 4.695 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004774/1.326, allocations: 1.567 MB / 0.994 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008637/1.334, allocations: 5.883 MB / 0.9998 GB, free: 4.629 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002611/1.337, allocations: 1.334 MB / 1.001 GB, free: 4.453 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005097/1.342, allocations: 1.988 MB / 1.003 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002746/1.345, allocations: 1.463 MB / 1.004 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000375/1.345, allocations: 75.03 kB / 1.005 GB, free: 4.094 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004677/1.35, allocations: 1.62 MB / 1.006 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007911/1.351, allocations: 0.6185 MB / 1.007 GB, free: 3.547 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00102/1.352, allocations: 437.5 kB / 1.007 GB, free: 19.52 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004221/1.356, allocations: 2.697 MB / 1.01 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.736e-06/1.356, allocations: 0 / 1.01 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.016e-06/1.356, allocations: 0 / 1.01 GB, free: 18.16 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001095/1.356, allocations: 0 / 1.01 GB, free: 18.16 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.004692/1.361, allocations: 2.057 MB / 1.012 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/1.361, allocations: 6.312 kB / 1.012 GB, free: 16.81 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004304/1.365, allocations: 0.6579 MB / 1.012 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002848/1.368, allocations: 1.265 MB / 1.014 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.446e-05/1.368, allocations: 109.2 kB / 1.014 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002266/1.369, allocations: 137.9 kB / 1.014 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/1.371, allocations: 1.597 MB / 1.015 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.038e-05/1.371, allocations: 0 / 1.015 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/1.371, allocations: 54.94 kB / 1.015 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.307e-05/1.371, allocations: 50.61 kB / 1.016 GB, free: 15.47 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001937/1.373, allocations: 1.268 MB / 1.017 GB, free: 15.26 MB / 0.7325 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.008897/1.382, allocations: 7.233 MB / 1.024 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008623/1.383, allocations: 0.6185 MB / 1.024 GB, free: 10.28 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004676/1.384, allocations: 361 kB / 1.025 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002113/1.384, allocations: 105.8 kB / 1.025 GB, free: 10.13 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.135e-05/1.384, allocations: 43.06 kB / 1.025 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008824/1.385, allocations: 156.2 kB / 1.025 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=67): time 3.126e-06/1.385, allocations: 0 / 1.025 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=67): time 0.001683/1.387, allocations: 0.9967 MB / 1.026 GB, free: 9.805 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/1.387, allocations: 58.62 kB / 1.026 GB, free: 9.738 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001514/1.388, allocations: 1.321 MB / 1.027 GB, free: 9.359 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.555e-05/1.388, allocations: 46.11 kB / 1.027 GB, free: 9.328 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006282/1.389, allocations: 0.7673 MB / 1.028 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002084/1.389, allocations: 249.7 kB / 1.028 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.64e-05/1.389, allocations: 22.81 kB / 1.028 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.389, allocations: 346.4 kB / 1.029 GB, free: 8.449 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004718/1.39, allocations: 337.9 kB / 1.029 GB, free: 8.402 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006733/1.39, allocations: 0.6339 MB / 1.03 GB, free: 7.996 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005898/1.391, allocations: 445.2 kB / 1.03 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/1.391, allocations: 0 / 1.03 GB, free: 7.949 MB / 0.7325 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001579/1.393, allocations: 1.131 MB / 1.031 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002165/1.393, allocations: 309.3 kB / 1.032 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.346e-05/1.393, allocations: 9.594 kB / 1.032 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/1.393, allocations: 12.81 kB / 1.032 GB, free: 7.359 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008538/1.394, allocations: 208.5 kB / 1.032 GB, free: 7.336 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.93e-05/1.394, allocations: 16.86 kB / 1.032 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/1.395, allocations: 133.7 kB / 1.032 GB, free: 7.285 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-05/1.395, allocations: 47.27 kB / 1.032 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.754e-06/1.395, allocations: 3.281 kB / 1.032 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001437/1.397, allocations: 0.9705 MB / 1.033 GB, free: 6.824 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/1.397, allocations: 4 kB / 1.033 GB, free: 6.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/1.397, allocations: 16 kB / 1.033 GB, free: 6.805 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008365/1.398, allocations: 204.1 kB / 1.033 GB, free: 6.625 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.773e-05/1.398, allocations: 19.27 kB / 1.033 GB, free: 6.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/1.399, allocations: 131.2 kB / 1.033 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-05/1.399, allocations: 45.92 kB / 1.033 GB, free: 6.465 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 119 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008797/1.4, allocations: 0.4902 MB / 1.034 GB, free: 6.121 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/1.4, allocations: 154 kB / 1.034 GB, free: 5.973 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001425/1.402, allocations: 0.8113 MB / 1.035 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.544e-06/1.402, allocations: 4 kB / 1.035 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/1.402, allocations: 7.953 kB / 1.035 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009266/1.403, allocations: 0.7761 MB / 1.035 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003576/1.406, allocations: 2.3 MB / 1.038 GB, free: 3.215 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/1.406, allocations: 3.984 kB / 1.038 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008836/1.407, allocations: 169.7 kB / 1.038 GB, free: 3.055 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.144e-05/1.407, allocations: 4 kB / 1.038 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.292e-05/1.407, allocations: 21.5 kB / 1.038 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/1.407, allocations: 11.19 kB / 1.038 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/1.407, allocations: 0 / 1.038 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001927/1.409, allocations: 1.295 MB / 1.039 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007711/1.41, allocations: 335.8 kB / 1.04 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001806/1.41, allocations: 18.98 kB / 1.04 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/1.411, allocations: 109.3 kB / 1.04 GB, free: 1.711 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/1.411, allocations: 43.94 kB / 1.04 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.793e-05/1.412, allocations: 34.92 kB / 1.04 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001315/1.413, allocations: 0.8956 MB / 1.041 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/1.413, allocations: 0 / 1.041 GB, free: 0.9961 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002243/1.415, allocations: 0.853 MB / 1.041 GB, free: 188 kB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (71): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006802/1.416, allocations: 260.3 kB / 1.042 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002417/1.418, allocations: 1.298 MB / 1.043 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/1.418, allocations: 4 kB / 1.043 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0005001/1.419, allocations: 340.7 kB / 1.043 GB, free: 14.88 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004198/1.423, allocations: 0.863 MB / 1.044 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005298/1.428, allocations: 3.489 MB / 1.048 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001021/1.429, allocations: 1.35 MB / 1.049 GB, free: 9.602 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002037/1.431, allocations: 416.2 kB / 1.049 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003256/1.432, allocations: 112.4 kB / 1.049 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of SimCode: time 8.72e-07/1.432, allocations: 0 / 1.049 GB, free: 9.086 MB / 0.7481 GB Notification: Performance of Templates: time 0.04692/1.479, allocations: 27.54 MB / 1.076 GB, free: 14.02 MB / 0.7794 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) Environment - environmentSimulation: