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.006216/0.006216, allocations: 100.2 kB / 15.73 MB, free: 6.004 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.001335/0.001335, allocations: 195.9 kB / 16.68 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.51/1.51, allocations: 251.7 MB / 0.5094 GB, free: 2.988 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.002392/0.002392, allocations: 72.36 kB / 0.7258 GB, free: 8.945 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2641, allocations: 104.7 MB / 0.8281 GB, free: 128 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.799/1.063, allocations: 275.1 MB / 1.097 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.02543/1.089, allocations: 17.42 MB / 1.114 GB, free: 7.785 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00337/1.092, allocations: 63.62 kB / 1.114 GB, free: 7.723 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003528/1.096, allocations: 1.231 MB / 1.115 GB, free: 6.484 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.009404/1.105, allocations: 3.282 MB / 1.118 GB, free: 3.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.006197/1.111, allocations: 2.292 MB / 1.12 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.007323/1.119, allocations: 5.066 MB / 1.125 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003039/1.122, allocations: 1.803 MB / 1.127 GB, free: 10 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006797/1.128, allocations: 2.549 MB / 1.13 GB, free: 7.453 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003625/1.132, allocations: 1.583 MB / 1.131 GB, free: 5.879 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0005325/1.133, allocations: 196 kB / 1.131 GB, free: 5.688 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006821/1.139, allocations: 3.032 MB / 1.134 GB, free: 2.648 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0009692/1.14, allocations: 0.748 MB / 1.135 GB, free: 1.898 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001829/1.142, allocations: 1.128 MB / 1.136 GB, free: 0.7656 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.006929/1.149, allocations: 3.898 MB / 1.14 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/1.149, allocations: 4 kB / 1.14 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.192e-06/1.149, allocations: 4 kB / 1.14 GB, free: 12.86 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.308e-05/1.149, allocations: 0 / 1.14 GB, free: 12.86 MB / 0.8887 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.004298/1.154, allocations: 2.435 MB / 1.142 GB, free: 10.35 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/1.154, allocations: 12.03 kB / 1.142 GB, free: 10.34 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00446/1.158, allocations: 0.6338 MB / 1.143 GB, free: 9.703 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002403/1.161, allocations: 1.385 MB / 1.144 GB, free: 8.262 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.043e-05/1.161, allocations: 106.6 kB / 1.144 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002194/1.161, allocations: 143.9 kB / 1.145 GB, free: 8.016 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002625/1.164, allocations: 1.597 MB / 1.146 GB, free: 6.352 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/1.164, allocations: 15.88 kB / 1.146 GB, free: 6.336 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000136/1.164, allocations: 52 kB / 1.146 GB, free: 6.285 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.928e-05/1.164, allocations: 50.45 kB / 1.146 GB, free: 6.234 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00206/1.166, allocations: 1.275 MB / 1.147 GB, free: 4.953 MB / 0.8887 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.008844/1.175, allocations: 7.226 MB / 1.155 GB, free: 13.18 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00096/1.176, allocations: 0.6172 MB / 1.155 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004984/1.176, allocations: 366.3 kB / 1.155 GB, free: 12.2 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001973/1.176, allocations: 117.6 kB / 1.156 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.048e-05/1.176, allocations: 39.12 kB / 1.156 GB, free: 12.01 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0005226/1.177, allocations: 103.1 kB / 1.156 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=67): time 3.096e-06/1.177, allocations: 0 / 1.156 GB, free: 11.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67): time 0.001883/1.179, allocations: 0.9971 MB / 1.157 GB, free: 10.91 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.417e-05/1.179, allocations: 59.97 kB / 1.157 GB, free: 10.84 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001631/1.181, allocations: 1.338 MB / 1.158 GB, free: 9.492 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 7.523e-05/1.181, allocations: 49.64 kB / 1.158 GB, free: 9.438 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005607/1.181, allocations: 0.7656 MB / 1.159 GB, free: 8.664 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002088/1.181, allocations: 244.5 kB / 1.159 GB, free: 8.422 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003024/1.182, allocations: 202.5 kB / 1.159 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.182, allocations: 345.9 kB / 1.16 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005482/1.182, allocations: 344.7 kB / 1.16 GB, free: 7.531 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007778/1.183, allocations: 0.6433 MB / 1.161 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001262/1.184, allocations: 0.9583 MB / 1.162 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/1.185, allocations: 4 kB / 1.162 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001772/1.186, allocations: 1.128 MB / 1.163 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/1.186, allocations: 8.969 kB / 1.163 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/1.186, allocations: 8 kB / 1.163 GB, free: 4.551 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/1.186, allocations: 19.98 kB / 1.163 GB, free: 4.531 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008988/1.187, allocations: 211.7 kB / 1.163 GB, free: 4.324 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.971e-05/1.187, allocations: 15.94 kB / 1.163 GB, free: 4.309 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/1.188, allocations: 43.97 kB / 1.163 GB, free: 4.266 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-05/1.189, allocations: 43.98 kB / 1.163 GB, free: 4.223 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001006/1.19, allocations: 0.6815 MB / 1.164 GB, free: 3.539 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007586/1.19, allocations: 0.647 MB / 1.164 GB, free: 2.762 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001228/1.192, allocations: 0.9427 MB / 1.165 GB, free: 1.719 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.929e-06/1.192, allocations: 4 kB / 1.165 GB, free: 1.715 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001725/1.193, allocations: 1.144 MB / 1.166 GB, free: 0.5625 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.193, allocations: 8 kB / 1.166 GB, free: 0.5547 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.336e-06/1.193, allocations: 4 kB / 1.166 GB, free: 0.5508 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/1.193, allocations: 16 kB / 1.166 GB, free: 0.5352 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008531/1.194, allocations: 203.7 kB / 1.167 GB, free: 344 kB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.696e-05/1.194, allocations: 19.92 kB / 1.167 GB, free: 324 kB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/1.196, allocations: 56.34 kB / 1.167 GB, free: 268 kB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.282e-05/1.196, allocations: 43.98 kB / 1.167 GB, free: 224 kB / 0.9044 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002986/1.196, allocations: 247.9 kB / 1.167 GB, free: 15.96 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002242/1.196, allocations: 154.2 kB / 1.167 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/1.198, allocations: 0.8045 MB / 1.168 GB, free: 14.99 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/1.198, allocations: 8 kB / 1.168 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/1.198, allocations: 0 / 1.168 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009397/1.199, allocations: 0.7823 MB / 1.169 GB, free: 14.15 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003369/1.202, allocations: 2.302 MB / 1.171 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/1.202, allocations: 0 / 1.171 GB, free: 11.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008363/1.203, allocations: 175.8 kB / 1.171 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.509e-05/1.203, allocations: 4 kB / 1.171 GB, free: 11.6 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.157e-05/1.203, allocations: 16 kB / 1.171 GB, free: 11.58 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.545e-06/1.203, allocations: 7.938 kB / 1.171 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/1.203, allocations: 192 / 1.171 GB, free: 11.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001747/1.205, allocations: 1.3 MB / 1.172 GB, free: 10.24 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005213/1.205, allocations: 347.1 kB / 1.173 GB, free: 9.883 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/1.205, allocations: 15.94 kB / 1.173 GB, free: 9.867 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009263/1.206, allocations: 50.91 kB / 1.173 GB, free: 9.824 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.829e-05/1.206, allocations: 40.5 kB / 1.173 GB, free: 9.781 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.412e-05/1.206, allocations: 31.98 kB / 1.173 GB, free: 9.75 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001199/1.208, allocations: 0.9118 MB / 1.174 GB, free: 8.84 MB / 0.92 GB Notification: Performance of sort global known variables: time 2e-07/1.208, allocations: 4 kB / 1.174 GB, free: 8.836 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001861/1.21, allocations: 0.8456 MB / 1.174 GB, free: 7.988 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005423/1.21, allocations: 260.1 kB / 1.175 GB, free: 7.734 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002008/1.212, allocations: 1.316 MB / 1.176 GB, free: 6.426 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/1.212, allocations: 0 / 1.176 GB, free: 6.426 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004721/1.213, allocations: 343.6 kB / 1.176 GB, free: 6.094 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003219/1.216, allocations: 0.8706 MB / 1.177 GB, free: 5.238 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/1.22, allocations: 2.869 MB / 1.18 GB, free: 2.312 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009385/1.221, allocations: 1.356 MB / 1.181 GB, free: 0.9297 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.001364/1.223, allocations: 412.2 kB / 1.182 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002823/1.223, allocations: 111.4 kB / 1.182 GB, free: 424 kB / 0.92 GB Notification: Performance of SimCode: time 6.92e-07/1.223, allocations: 0 / 1.182 GB, free: 424 kB / 0.92 GB Notification: Performance of Templates: time 0.05407/1.277, allocations: 29.78 MB / 1.211 GB, free: 3.066 MB / 0.9512 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (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)