Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.833/1.833, allocations: 287.5 MB / 302.6 MB, free: 8.371 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.001207/0.001207, allocations: 183.2 kB / 371.2 MB, free: 10.82 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.495/1.495, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0007979/0.0007979, allocations: 88.41 kB / 0.7432 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003766/0.0003767, allocations: 12.73 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1894/0.1898, allocations: 115.3 MB / 0.9787 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6404/0.8302, allocations: 250.8 MB / 1.224 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.02074/0.851, allocations: 16.1 MB / 1.239 GB, free: 0.957 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002416/0.8534, allocations: 59.62 kB / 1.239 GB, free: 0.8984 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.002602/0.8561, allocations: 0.7531 MB / 1.24 GB, free: 144 kB / 0.7605 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.007261/0.8634, allocations: 2.295 MB / 1.242 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.005074/0.8684, allocations: 1.516 MB / 1.244 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.007577/0.876, allocations: 5.689 MB / 1.249 GB, free: 6.621 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002693/0.8788, allocations: 1.413 MB / 1.251 GB, free: 5.18 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004952/0.8837, allocations: 1.922 MB / 1.253 GB, free: 3.25 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002714/0.8865, allocations: 1.436 MB / 1.254 GB, free: 1.809 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0005191/0.887, allocations: 76 kB / 1.254 GB, free: 1.734 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004777/0.8918, allocations: 1.625 MB / 1.256 GB, free: 108 kB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.001144/0.893, allocations: 0.5918 MB / 1.256 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.001057/0.8941, allocations: 428.8 kB / 1.257 GB, free: 15.09 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.00433/0.8984, allocations: 2.63 MB / 1.259 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.8984, allocations: 4 kB / 1.259 GB, free: 12.45 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.375e-06/0.8984, allocations: 4 kB / 1.259 GB, free: 12.44 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.121e-05/0.8985, allocations: 0 / 1.259 GB, free: 12.44 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.003924/0.9025, allocations: 2.027 MB / 1.261 GB, free: 10.35 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.9025, allocations: 15.97 kB / 1.261 GB, free: 10.33 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004061/0.9066, allocations: 0.6494 MB / 1.262 GB, free: 9.68 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.909, allocations: 1.322 MB / 1.263 GB, free: 8.301 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.846e-05/0.9091, allocations: 102.5 kB / 1.263 GB, free: 8.199 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/0.9094, allocations: 140 kB / 1.263 GB, free: 8.062 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002624/0.912, allocations: 1.557 MB / 1.265 GB, free: 6.438 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.313e-05/0.912, allocations: 3.938 kB / 1.265 GB, free: 6.434 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.9122, allocations: 60 kB / 1.265 GB, free: 6.375 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.073e-05/0.9123, allocations: 50.38 kB / 1.265 GB, free: 6.324 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002137/0.9144, allocations: 1.251 MB / 1.266 GB, free: 5.066 MB / 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.008506/0.9229, allocations: 7.226 MB / 1.273 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.9239, allocations: 0.645 MB / 1.274 GB, free: 12.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005304/0.9245, allocations: 368.2 kB / 1.274 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001993/0.9247, allocations: 105.7 kB / 1.274 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.9247, allocations: 43.45 kB / 1.274 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007736/0.9255, allocations: 155 kB / 1.275 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=67): time 4.037e-06/0.9255, allocations: 0 / 1.275 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=67): time 0.001787/0.9273, allocations: 1.013 MB / 1.276 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.9274, allocations: 59.97 kB / 1.276 GB, free: 10.85 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001667/0.9291, allocations: 1.315 MB / 1.277 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.541e-05/0.9291, allocations: 45.7 kB / 1.277 GB, free: 9.473 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006308/0.9298, allocations: 0.7735 MB / 1.278 GB, free: 8.691 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002312/0.93, allocations: 244.6 kB / 1.278 GB, free: 8.449 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.9301, allocations: 20 kB / 1.278 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.9303, allocations: 345.9 kB / 1.278 GB, free: 8.086 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/0.9308, allocations: 341.8 kB / 1.279 GB, free: 7.75 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000819/0.9316, allocations: 0.6712 MB / 1.279 GB, free: 6.938 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001336/0.933, allocations: 0.9449 MB / 1.28 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.933, allocations: 0 / 1.28 GB, free: 5.902 MB / 0.8073 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001785/0.9348, allocations: 1.14 MB / 1.281 GB, free: 4.754 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.935, allocations: 290.5 kB / 1.282 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.324e-05/0.9351, allocations: 4 kB / 1.282 GB, free: 4.375 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.9351, allocations: 16 kB / 1.282 GB, free: 4.359 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009269/0.936, allocations: 211.7 kB / 1.282 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.019e-05/0.936, allocations: 15.94 kB / 1.282 GB, free: 4.137 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001523/0.9376, allocations: 140.8 kB / 1.282 GB, free: 4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.957e-05/0.9377, allocations: 51.91 kB / 1.282 GB, free: 3.949 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.634e-06/0.9377, allocations: 4 kB / 1.282 GB, free: 3.945 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001472/0.9392, allocations: 0.9725 MB / 1.283 GB, free: 2.973 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.9392, allocations: 8.031 kB / 1.283 GB, free: 2.965 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.9392, allocations: 12 kB / 1.283 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008165/0.94, allocations: 207.7 kB / 1.283 GB, free: 2.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.818e-05/0.9401, allocations: 19.92 kB / 1.283 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001454/0.9415, allocations: 124.9 kB / 1.283 GB, free: 2.609 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.14e-05/0.9416, allocations: 43.98 kB / 1.283 GB, free: 2.566 MB / 0.8073 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.0008302/0.9424, allocations: 0.4889 MB / 1.284 GB, free: 2.066 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.9427, allocations: 154.2 kB / 1.284 GB, free: 1.914 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001399/0.9441, allocations: 0.8085 MB / 1.285 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.302e-05/0.9441, allocations: 8 kB / 1.285 GB, free: 1.086 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.9441, allocations: 0 / 1.285 GB, free: 1.086 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000974/0.9451, allocations: 0.7901 MB / 1.286 GB, free: 256 kB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003518/0.9486, allocations: 2.286 MB / 1.288 GB, free: 13.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.542e-06/0.9487, allocations: 4 kB / 1.288 GB, free: 13.88 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008757/0.9495, allocations: 168 kB / 1.288 GB, free: 13.71 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.009e-05/0.9496, allocations: 4 kB / 1.288 GB, free: 13.71 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.881e-05/0.9497, allocations: 23.94 kB / 1.288 GB, free: 13.69 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/0.9497, allocations: 4 kB / 1.288 GB, free: 13.68 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/0.9497, allocations: 15.91 kB / 1.288 GB, free: 13.67 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.9517, allocations: 1.296 MB / 1.289 GB, free: 12.34 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006255/0.9523, allocations: 323.2 kB / 1.29 GB, free: 12 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002339/0.9526, allocations: 16 kB / 1.29 GB, free: 11.98 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.9537, allocations: 96.7 kB / 1.29 GB, free: 11.89 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.599e-05/0.9538, allocations: 44.44 kB / 1.29 GB, free: 11.85 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.935e-05/0.9539, allocations: 31.98 kB / 1.29 GB, free: 11.82 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001322/0.9552, allocations: 0.8964 MB / 1.291 GB, free: 10.92 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9552, allocations: 0 / 1.291 GB, free: 10.92 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002407/0.9577, allocations: 0.8379 MB / 1.291 GB, free: 10.08 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.000609/0.9583, allocations: 260.4 kB / 1.292 GB, free: 9.82 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.002203/0.9605, allocations: 1.311 MB / 1.293 GB, free: 8.508 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.9605, allocations: 4 kB / 1.293 GB, free: 8.504 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005015/0.961, allocations: 339.5 kB / 1.293 GB, free: 8.172 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004235/0.9653, allocations: 0.8464 MB / 1.294 GB, free: 7.336 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005219/0.9705, allocations: 3.479 MB / 1.298 GB, free: 3.805 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/0.9715, allocations: 1.345 MB / 1.299 GB, free: 2.434 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001951/0.9735, allocations: 420.4 kB / 1.299 GB, free: 2.016 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000376/0.9739, allocations: 111.4 kB / 1.299 GB, free: 1.906 MB / 0.823 GB Notification: Performance of SimCode: time 6.61e-07/0.9739, allocations: 0 / 1.299 GB, free: 1.906 MB / 0.823 GB Notification: Performance of Templates: time 0.04747/1.021, allocations: 27.57 MB / 1.326 GB, free: 6.59 MB / 0.8542 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)