Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0009441/0.0009442, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.0009888/0.0009888, allocations: 177.3 kB / 15.95 MB, free: 216 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.563/1.563, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.722/1.722, allocations: 292.5 MB / 0.5497 GB, free: 14.63 MB / 462.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.0005131/0.0005131, allocations: 14.88 kB / 0.6735 GB, free: 26.46 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2569, allocations: 116.3 MB / 0.7871 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.7706/1.027, allocations: 223.7 MB / 1.006 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02258/1.05, allocations: 15.74 MB / 1.021 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003302/1.053, allocations: 53.22 kB / 1.021 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003537/1.057, allocations: 0.9977 MB / 1.022 GB, free: 0.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01104/1.068, allocations: 2.95 MB / 1.025 GB, free: 14.1 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.007611/1.076, allocations: 1.772 MB / 1.027 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.007085/1.083, allocations: 2.702 MB / 1.029 GB, free: 11.09 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002769/1.086, allocations: 1.326 MB / 1.031 GB, free: 10.29 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005792/1.091, allocations: 1.588 MB / 1.032 GB, free: 9.324 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002949/1.094, allocations: 0.9323 MB / 1.033 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.000529/1.095, allocations: 74.12 kB / 1.033 GB, free: 8.793 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004825/1.1, allocations: 1.325 MB / 1.034 GB, free: 8.223 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0008443/1.101, allocations: 0.5439 MB / 1.035 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0009584/1.102, allocations: 427.5 kB / 1.035 GB, free: 7.668 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003917/1.106, allocations: 2.45 MB / 1.038 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/1.106, allocations: 0 / 1.038 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.693e-06/1.106, allocations: 0 / 1.038 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.394e-05/1.106, allocations: 3.312 kB / 1.038 GB, free: 6.016 MB / 0.7481 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.004265/1.11, allocations: 1.987 MB / 1.04 GB, free: 4.535 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/1.11, allocations: 14.94 kB / 1.04 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004391/1.114, allocations: 0.649 MB / 1.04 GB, free: 4.273 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/1.117, allocations: 1.273 MB / 1.041 GB, free: 3.293 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.841e-05/1.117, allocations: 104.6 kB / 1.042 GB, free: 3.246 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002282/1.118, allocations: 137 kB / 1.042 GB, free: 3.203 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002743/1.12, allocations: 1.546 MB / 1.043 GB, free: 1.949 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/1.12, allocations: 11.92 kB / 1.043 GB, free: 1.938 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001318/1.121, allocations: 59.94 kB / 1.043 GB, free: 1.879 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.298e-05/1.121, allocations: 46.45 kB / 1.043 GB, free: 1.832 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002052/1.123, allocations: 1.255 MB / 1.045 GB, free: 0.5703 MB / 0.7481 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.009724/1.132, allocations: 7.214 MB / 1.052 GB, free: 8.789 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001013/1.133, allocations: 0.6411 MB / 1.052 GB, free: 8.141 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.983e-05/1.134, allocations: 24.53 kB / 1.052 GB, free: 8.117 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.929e-05/1.134, allocations: 47.08 kB / 1.052 GB, free: 8.062 MB / 0.7637 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008843/1.135, allocations: 147.1 kB / 1.052 GB, free: 7.918 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=67): time 3.356e-06/1.135, allocations: 336 / 1.052 GB, free: 7.918 MB / 0.7637 GB Notification: Performance of matching and sorting (n=67): time 0.001826/1.136, allocations: 1.009 MB / 1.053 GB, free: 6.902 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/1.136, allocations: 59.97 kB / 1.053 GB, free: 6.832 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/1.138, allocations: 1.331 MB / 1.055 GB, free: 5.492 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 9.254e-05/1.138, allocations: 45.7 kB / 1.055 GB, free: 5.441 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005985/1.139, allocations: 0.7697 MB / 1.056 GB, free: 4.664 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/1.139, allocations: 240.5 kB / 1.056 GB, free: 4.426 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/1.139, allocations: 23.98 kB / 1.056 GB, free: 4.402 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000148/1.139, allocations: 341.9 kB / 1.056 GB, free: 4.062 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005248/1.14, allocations: 345.8 kB / 1.057 GB, free: 3.727 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007794/1.141, allocations: 0.671 MB / 1.057 GB, free: 2.914 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000665/1.141, allocations: 454.8 kB / 1.058 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.001e-06/1.141, allocations: 4 kB / 1.058 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001642/1.143, allocations: 1.136 MB / 1.059 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 0.001163/1.144, allocations: 2.674 MB / 1.061 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.144, allocations: 8 kB / 1.061 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/1.144, allocations: 16 kB / 1.061 GB, free: 14.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008964/1.145, allocations: 215.6 kB / 1.062 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.913e-05/1.145, allocations: 12 kB / 1.062 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001633/1.147, allocations: 127.7 kB / 1.062 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.498e-05/1.147, allocations: 36 kB / 1.062 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/1.147, allocations: 7.938 kB / 1.062 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001492/1.148, allocations: 0.9725 MB / 1.063 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/1.148, allocations: 12.03 kB / 1.063 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/1.148, allocations: 12 kB / 1.063 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000779/1.149, allocations: 211.7 kB / 1.063 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.298e-05/1.149, allocations: 19.89 kB / 1.063 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001429/1.151, allocations: 131.5 kB / 1.063 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.827e-05/1.151, allocations: 43.98 kB / 1.063 GB, free: 12.7 MB / 0.7794 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.0008768/1.152, allocations: 496.8 kB / 1.064 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002722/1.152, allocations: 154.2 kB / 1.064 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001351/1.153, allocations: 0.8122 MB / 1.064 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/1.153, allocations: 8 kB / 1.065 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/1.153, allocations: 3.953 kB / 1.065 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009244/1.154, allocations: 0.7785 MB / 1.065 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003585/1.158, allocations: 2.29 MB / 1.068 GB, free: 8.012 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.144e-06/1.158, allocations: 4 kB / 1.068 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008186/1.159, allocations: 168 kB / 1.068 GB, free: 7.844 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/1.159, allocations: 11.97 kB / 1.068 GB, free: 7.832 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.061e-05/1.159, allocations: 20 kB / 1.068 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.283e-06/1.159, allocations: 4 kB / 1.068 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/1.159, allocations: 7.938 kB / 1.068 GB, free: 7.801 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/1.16, allocations: 1.382 MB / 1.069 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007056/1.161, allocations: 331.1 kB / 1.069 GB, free: 5.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001742/1.161, allocations: 20.12 kB / 1.069 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001003/1.162, allocations: 91.77 kB / 1.069 GB, free: 5.887 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.474e-05/1.162, allocations: 44.44 kB / 1.07 GB, free: 5.844 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.981e-05/1.163, allocations: 35.98 kB / 1.07 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001228/1.164, allocations: 0.8886 MB / 1.07 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.7e-07/1.164, allocations: 0 / 1.07 GB, free: 4.922 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002147/1.166, allocations: 0.8456 MB / 1.071 GB, free: 4.074 MB / 0.7794 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.0005913/1.167, allocations: 262.9 kB / 1.072 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002032/1.169, allocations: 1.311 MB / 1.073 GB, free: 2.504 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.703e-06/1.169, allocations: 4 kB / 1.073 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004501/1.169, allocations: 346.9 kB / 1.073 GB, free: 2.16 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003691/1.173, allocations: 0.8371 MB / 1.074 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004748/1.178, allocations: 3.46 MB / 1.077 GB, free: 13.82 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009592/1.179, allocations: 1.376 MB / 1.079 GB, free: 12.42 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001759/1.18, allocations: 412.4 kB / 1.079 GB, free: 12.01 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002859/1.181, allocations: 115.4 kB / 1.079 GB, free: 11.89 MB / 0.795 GB Notification: Performance of SimCode: time 6.01e-07/1.181, allocations: 0 / 1.079 GB, free: 11.89 MB / 0.795 GB Notification: Performance of Templates: time 0.04849/1.229, allocations: 27.32 MB / 1.106 GB, free: 0.9414 MB / 0.8106 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1) Environment - environmentSimulation: