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.725/1.725, allocations: 288.4 MB / 303.4 MB, free: 8.223 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.001137/0.001137, allocations: 186.8 kB / 372 MB, free: 10.26 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.46/1.46, allocations: 205.4 MB / 0.6307 GB, free: 9.898 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.0007566/0.0007567, allocations: 98.22 kB / 0.7441 GB, free: 5.816 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005071, allocations: 16.8 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.231, allocations: 115.3 MB / 0.9796 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.6531/0.8842, allocations: 250.8 MB / 1.224 GB, free: 14.36 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.02002/0.9043, allocations: 16.1 MB / 1.24 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001786/0.9061, allocations: 55.62 kB / 1.24 GB, free: 15.89 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.002155/0.9083, allocations: 0.7493 MB / 1.241 GB, free: 15.14 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.005735/0.914, allocations: 2.3 MB / 1.243 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.004468/0.9185, allocations: 1.521 MB / 1.245 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.006441/0.925, allocations: 5.654 MB / 1.25 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001857/0.9268, allocations: 1.313 MB / 1.252 GB, free: 4.312 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004131/0.931, allocations: 1.91 MB / 1.253 GB, free: 2.395 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002741/0.9337, allocations: 1.448 MB / 1.255 GB, free: 0.9414 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0002798/0.934, allocations: 76 kB / 1.255 GB, free: 0.8672 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004402/0.9384, allocations: 1.621 MB / 1.256 GB, free: 15.24 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 0.0006957/0.9392, allocations: 0.5996 MB / 1.257 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 0.0008019/0.94, allocations: 428.8 kB / 1.257 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.003745/0.9437, allocations: 2.634 MB / 1.26 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.9437, allocations: 0 / 1.26 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.214e-06/0.9438, allocations: 0 / 1.26 GB, free: 11.57 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.218e-05/0.9438, allocations: 0 / 1.26 GB, free: 11.57 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.004395/0.9482, allocations: 2.051 MB / 1.262 GB, free: 9.457 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.9483, allocations: 8.031 kB / 1.262 GB, free: 9.449 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004239/0.9525, allocations: 0.6417 MB / 1.263 GB, free: 8.805 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00218/0.9547, allocations: 1.28 MB / 1.264 GB, free: 7.469 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.288e-05/0.9548, allocations: 110.5 kB / 1.264 GB, free: 7.359 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002028/0.955, allocations: 136 kB / 1.264 GB, free: 7.227 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002633/0.9577, allocations: 1.557 MB / 1.266 GB, free: 5.602 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.9577, allocations: 3.938 kB / 1.266 GB, free: 5.598 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/0.9579, allocations: 59.98 kB / 1.266 GB, free: 5.539 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.222e-05/0.9579, allocations: 46.45 kB / 1.266 GB, free: 5.492 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002125/0.9601, allocations: 1.251 MB / 1.267 GB, free: 4.234 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.008355/0.9684, allocations: 7.214 MB / 1.274 GB, free: 12.45 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009801/0.9694, allocations: 0.6564 MB / 1.275 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005074/0.9699, allocations: 366.3 kB / 1.275 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001916/0.9701, allocations: 109.6 kB / 1.275 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.385e-05/0.9702, allocations: 55.11 kB / 1.275 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006666/0.9709, allocations: 147 kB / 1.275 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=67): time 2.675e-06/0.9709, allocations: 0 / 1.275 GB, free: 11.09 MB / 0.8073 GB Notification: Performance of matching and sorting (n=67): time 0.001773/0.9727, allocations: 1.009 MB / 1.276 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.9727, allocations: 55.97 kB / 1.276 GB, free: 10.01 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.9743, allocations: 1.319 MB / 1.278 GB, free: 8.684 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 7.828e-05/0.9744, allocations: 49.69 kB / 1.278 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005773/0.975, allocations: 0.7736 MB / 1.278 GB, free: 7.848 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002119/0.9752, allocations: 244.5 kB / 1.279 GB, free: 7.605 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.256e-05/0.9753, allocations: 16 kB / 1.279 GB, free: 7.59 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.9754, allocations: 345.9 kB / 1.279 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005365/0.976, allocations: 341.8 kB / 1.279 GB, free: 6.914 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007894/0.9768, allocations: 0.6788 MB / 1.28 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006811/0.9774, allocations: 454.8 kB / 1.28 GB, free: 5.652 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.9775, allocations: 3.953 kB / 1.28 GB, free: 5.648 MB / 0.8073 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001697/0.9792, allocations: 1.136 MB / 1.282 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002064/0.9794, allocations: 292.4 kB / 1.282 GB, free: 4.125 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/0.9794, allocations: 8.328 kB / 1.282 GB, free: 4.117 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.318e-05/0.9794, allocations: 12 kB / 1.282 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009072/0.9804, allocations: 215.6 kB / 1.282 GB, free: 3.895 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-05/0.9804, allocations: 15.88 kB / 1.282 GB, free: 3.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001531/0.9819, allocations: 133.5 kB / 1.282 GB, free: 3.75 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.17e-05/0.982, allocations: 47.97 kB / 1.282 GB, free: 3.703 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.326e-06/0.982, allocations: 4 kB / 1.282 GB, free: 3.699 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001525/0.9836, allocations: 0.9723 MB / 1.283 GB, free: 2.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.9836, allocations: 11.95 kB / 1.283 GB, free: 2.719 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.9836, allocations: 12 kB / 1.283 GB, free: 2.707 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008342/0.9844, allocations: 207.7 kB / 1.283 GB, free: 2.504 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.531e-05/0.9845, allocations: 15.94 kB / 1.283 GB, free: 2.488 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/0.9858, allocations: 128.8 kB / 1.284 GB, free: 2.363 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.067e-05/0.9859, allocations: 43.98 kB / 1.284 GB, free: 2.32 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.0007406/0.9867, allocations: 0.489 MB / 1.284 GB, free: 1.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.9869, allocations: 146.2 kB / 1.284 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001337/0.9882, allocations: 0.8239 MB / 1.285 GB, free: 0.832 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.9882, allocations: 12 kB / 1.285 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.9883, allocations: 0 / 1.285 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00099/0.9893, allocations: 0.7746 MB / 1.286 GB, free: 15.99 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003426/0.9927, allocations: 2.29 MB / 1.288 GB, free: 13.62 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.9927, allocations: 4.031 kB / 1.288 GB, free: 13.62 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008474/0.9936, allocations: 171.8 kB / 1.288 GB, free: 13.45 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.023e-05/0.9936, allocations: 7.984 kB / 1.288 GB, free: 13.44 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.026e-05/0.9936, allocations: 20 kB / 1.288 GB, free: 13.42 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.931e-06/0.9937, allocations: 4 kB / 1.288 GB, free: 13.42 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.9937, allocations: 3.938 kB / 1.288 GB, free: 13.41 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/0.9955, allocations: 1.304 MB / 1.29 GB, free: 12.08 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005103/0.996, allocations: 315.2 kB / 1.29 GB, free: 11.75 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00016/0.9961, allocations: 23.94 kB / 1.29 GB, free: 11.73 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.9972, allocations: 91.89 kB / 1.29 GB, free: 11.64 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.051e-05/0.9973, allocations: 52.44 kB / 1.29 GB, free: 11.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.094e-05/0.9974, allocations: 35.98 kB / 1.29 GB, free: 11.55 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001171/0.9985, allocations: 0.8886 MB / 1.291 GB, free: 10.66 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.9985, allocations: 0 / 1.291 GB, free: 10.66 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001894/1, allocations: 0.8456 MB / 1.292 GB, free: 9.816 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.0005116/1.001, allocations: 261 kB / 1.292 GB, free: 9.562 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.001994/1.003, allocations: 1.308 MB / 1.293 GB, free: 8.258 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.003, allocations: 0 / 1.293 GB, free: 8.258 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005055/1.003, allocations: 355 kB / 1.294 GB, free: 7.91 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003834/1.007, allocations: 0.8499 MB / 1.294 GB, free: 7.074 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004921/1.012, allocations: 3.452 MB / 1.298 GB, free: 3.574 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009219/1.013, allocations: 1.345 MB / 1.299 GB, free: 2.199 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.001702/1.015, allocations: 412.4 kB / 1.299 GB, free: 1.789 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002965/1.015, allocations: 115.4 kB / 1.3 GB, free: 1.676 MB / 0.823 GB Notification: Performance of SimCode: time 9.71e-07/1.015, allocations: 0 / 1.3 GB, free: 1.676 MB / 0.823 GB Notification: Performance of Templates: time 0.04433/1.06, allocations: 27.35 MB / 1.326 GB, free: 6.598 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)