Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.814/1.814, allocations: 288.4 MB / 303.7 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001068, allocations: 182.1 kB / 372.3 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 0.631 GB, free: 9.84 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007229/0.000723, allocations: 94.28 kB / 0.7444 GB, free: 5.754 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003593/0.0003593, allocations: 13.22 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1838, allocations: 115.3 MB / 0.9801 GB, free: 27.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6276/0.8115, allocations: 250.8 MB / 1.225 GB, free: 14.05 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.02104/0.8325, allocations: 16.1 MB / 1.241 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002349/0.8349, allocations: 55.62 kB / 1.241 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002576/0.8375, allocations: 0.8818 MB / 1.242 GB, free: 14.65 MB / 0.7761 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.007015/0.8446, allocations: 2.661 MB / 1.244 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004812/0.8494, allocations: 1.71 MB / 1.246 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.006897/0.8563, allocations: 5.684 MB / 1.251 GB, free: 4.578 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00217/0.8585, allocations: 1.414 MB / 1.253 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005241/0.8637, allocations: 2.017 MB / 1.255 GB, free: 1.109 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002802/0.8665, allocations: 1.434 MB / 1.256 GB, free: 15.67 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 0.0002578/0.8668, allocations: 75.94 kB / 1.256 GB, free: 15.6 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00616/0.873, allocations: 3.362 MB / 1.26 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0006948/0.8737, allocations: 0.5919 MB / 1.26 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001294/0.875, allocations: 0.9545 MB / 1.261 GB, free: 10.67 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003589/0.8786, allocations: 2.806 MB / 1.264 GB, free: 7.855 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.8786, allocations: 0 / 1.264 GB, free: 7.855 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.144e-06/0.8786, allocations: 0 / 1.264 GB, free: 7.855 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.774e-05/0.8787, allocations: 0 / 1.264 GB, free: 7.855 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003331/0.882, allocations: 2.025 MB / 1.266 GB, free: 5.766 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.8821, allocations: 12.03 kB / 1.266 GB, free: 5.754 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003983/0.886, allocations: 0.6456 MB / 1.266 GB, free: 5.105 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001995/0.8881, allocations: 1.322 MB / 1.268 GB, free: 3.727 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.532e-05/0.8881, allocations: 98.55 kB / 1.268 GB, free: 3.629 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002094/0.8884, allocations: 147.9 kB / 1.268 GB, free: 3.484 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002412/0.8908, allocations: 1.557 MB / 1.269 GB, free: 1.859 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.71e-05/0.8908, allocations: 4 kB / 1.27 GB, free: 1.855 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.8909, allocations: 56 kB / 1.27 GB, free: 1.801 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.161e-05/0.891, allocations: 54.39 kB / 1.27 GB, free: 1.746 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/0.893, allocations: 1.251 MB / 1.271 GB, free: 500 kB / 0.7917 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.008204/0.9013, allocations: 7.222 MB / 1.278 GB, free: 8.699 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009804/0.9023, allocations: 0.6487 MB / 1.279 GB, free: 8.043 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005112/0.9028, allocations: 366.3 kB / 1.279 GB, free: 7.684 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000193/0.903, allocations: 109.6 kB / 1.279 GB, free: 7.559 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.326e-05/0.903, allocations: 47.11 kB / 1.279 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005976/0.9036, allocations: 147 kB / 1.279 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=67): time 2.635e-06/0.9036, allocations: 0 / 1.279 GB, free: 7.359 MB / 0.8073 GB Notification: Performance of matching and sorting (n=67): time 0.001744/0.9054, allocations: 1.001 MB / 1.28 GB, free: 6.348 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.686e-05/0.9054, allocations: 63.91 kB / 1.28 GB, free: 6.273 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.9071, allocations: 1.323 MB / 1.281 GB, free: 4.941 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/0.9071, allocations: 49.69 kB / 1.282 GB, free: 4.887 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005898/0.9077, allocations: 0.7735 MB / 1.282 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.9079, allocations: 244.6 kB / 1.283 GB, free: 3.863 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.324e-05/0.908, allocations: 16 kB / 1.283 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.9081, allocations: 346.2 kB / 1.283 GB, free: 3.504 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005265/0.9087, allocations: 345.8 kB / 1.283 GB, free: 3.164 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007825/0.9094, allocations: 0.6751 MB / 1.284 GB, free: 2.352 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/0.9107, allocations: 0.9371 MB / 1.285 GB, free: 1.328 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.041e-06/0.9107, allocations: 4 kB / 1.285 GB, free: 1.324 MB / 0.8073 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001696/0.9124, allocations: 1.14 MB / 1.286 GB, free: 176 kB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.000189/0.9126, allocations: 288.6 kB / 1.286 GB, free: 15.8 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.9126, allocations: 8 kB / 1.286 GB, free: 15.79 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.27e-05/0.9127, allocations: 12 kB / 1.286 GB, free: 15.78 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008694/0.9135, allocations: 211.7 kB / 1.286 GB, free: 15.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.091e-05/0.9136, allocations: 19.98 kB / 1.286 GB, free: 15.55 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.915, allocations: 137.7 kB / 1.287 GB, free: 15.42 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.981e-05/0.9151, allocations: 44 kB / 1.287 GB, free: 15.38 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 6.802e-06/0.9151, allocations: 4 kB / 1.287 GB, free: 15.38 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001459/0.9166, allocations: 0.9693 MB / 1.288 GB, free: 14.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.9166, allocations: 15.97 kB / 1.288 GB, free: 14.39 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.9166, allocations: 12 kB / 1.288 GB, free: 14.38 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007975/0.9174, allocations: 211.7 kB / 1.288 GB, free: 14.17 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.9175, allocations: 15.94 kB / 1.288 GB, free: 14.16 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001246/0.9187, allocations: 130 kB / 1.288 GB, free: 14.03 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-05/0.9188, allocations: 43.98 kB / 1.288 GB, free: 13.99 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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.0006915/0.9195, allocations: 0.489 MB / 1.288 GB, free: 13.49 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000181/0.9197, allocations: 146.2 kB / 1.289 GB, free: 13.34 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001311/0.921, allocations: 0.8162 MB / 1.289 GB, free: 12.51 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.907e-06/0.921, allocations: 8 kB / 1.289 GB, free: 12.5 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/0.921, allocations: 3.984 kB / 1.289 GB, free: 12.5 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001001/0.922, allocations: 0.7862 MB / 1.29 GB, free: 11.66 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003348/0.9254, allocations: 2.286 MB / 1.292 GB, free: 9.297 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.9254, allocations: 0 / 1.292 GB, free: 9.297 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008427/0.9263, allocations: 171.9 kB / 1.293 GB, free: 9.129 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.115e-06/0.9263, allocations: 8 kB / 1.293 GB, free: 9.121 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.168e-05/0.9263, allocations: 23.98 kB / 1.293 GB, free: 9.098 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.9264, allocations: 4 kB / 1.293 GB, free: 9.094 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.9264, allocations: 7.875 kB / 1.293 GB, free: 9.086 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.9281, allocations: 1.3 MB / 1.294 GB, free: 7.75 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005/0.9286, allocations: 315.2 kB / 1.294 GB, free: 7.422 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001627/0.9288, allocations: 23.98 kB / 1.294 GB, free: 7.398 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009523/0.9298, allocations: 91.7 kB / 1.294 GB, free: 7.309 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.834e-05/0.9299, allocations: 56.38 kB / 1.294 GB, free: 7.254 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-05/0.9299, allocations: 27.98 kB / 1.294 GB, free: 7.227 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001179/0.9311, allocations: 0.8886 MB / 1.295 GB, free: 6.34 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9311, allocations: 0 / 1.295 GB, free: 6.34 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001876/0.933, allocations: 0.8496 MB / 1.296 GB, free: 5.488 MB / 0.823 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.0005131/0.9335, allocations: 258.3 kB / 1.296 GB, free: 5.234 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002006/0.9356, allocations: 1.314 MB / 1.298 GB, free: 3.926 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.9356, allocations: 0 / 1.298 GB, free: 3.926 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004668/0.936, allocations: 348.5 kB / 1.298 GB, free: 3.59 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003913/0.94, allocations: 0.8382 MB / 1.299 GB, free: 2.762 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004177/0.9442, allocations: 3.473 MB / 1.302 GB, free: 15.23 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008432/0.945, allocations: 1.345 MB / 1.303 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001532/0.9466, allocations: 412.4 kB / 1.304 GB, free: 13.45 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002885/0.9469, allocations: 115.4 kB / 1.304 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.9469, allocations: 0 / 1.304 GB, free: 13.34 MB / 0.8386 GB Notification: Performance of Templates: time 0.04422/0.9911, allocations: 28.03 MB / 1.331 GB, free: 1.57 MB / 0.8542 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)