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.001496/0.001496, allocations: 107.2 kB / 16.35 MB, free: 5.879 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.001654/0.001655, allocations: 191 kB / 17.29 MB, free: 5.516 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.325/1.325, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.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.789/1.789, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001407/0.001407, allocations: 75.91 kB / 0.6729 GB, free: 5.863 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2061/0.2075, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier): time 0.5851/0.7927, allocations: 274.6 MB / 1.053 GB, free: 7.188 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0235/0.8163, allocations: 17.25 MB / 1.07 GB, free: 5.895 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002228/0.8185, allocations: 71.56 kB / 1.07 GB, free: 5.824 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.8217, allocations: 1.169 MB / 1.071 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.008042/0.8297, allocations: 3.084 MB / 1.074 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005556/0.8353, allocations: 2.211 MB / 1.076 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006263/0.8416, allocations: 4.825 MB / 1.081 GB, free: 10.51 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002256/0.8439, allocations: 1.745 MB / 1.083 GB, free: 8.746 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005206/0.8491, allocations: 2.411 MB / 1.085 GB, free: 6.344 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003671/0.8528, allocations: 1.537 MB / 1.086 GB, free: 4.816 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0006098/0.8534, allocations: 192 kB / 1.087 GB, free: 4.629 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005927/0.8593, allocations: 3.009 MB / 1.09 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0007652/0.8601, allocations: 0.7207 MB / 1.09 GB, free: 0.8906 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.001463/0.8616, allocations: 1.124 MB / 1.091 GB, free: 15.76 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005435/0.867, allocations: 3.845 MB / 1.095 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.8671, allocations: 0 / 1.095 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of FrontEnd: time 9.81e-07/0.8671, allocations: 0 / 1.095 GB, free: 11.91 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 2.974e-05/0.8671, allocations: 0 / 1.095 GB, free: 11.91 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.004094/0.8712, allocations: 2.422 MB / 1.097 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.8712, allocations: 8.031 kB / 1.097 GB, free: 9.41 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004511/0.8758, allocations: 0.6376 MB / 1.098 GB, free: 8.77 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00224/0.878, allocations: 1.326 MB / 1.099 GB, free: 7.387 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.976e-05/0.8781, allocations: 98.55 kB / 1.099 GB, free: 7.289 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002244/0.8783, allocations: 136 kB / 1.1 GB, free: 7.156 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002471/0.8808, allocations: 1.577 MB / 1.101 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.307e-05/0.8809, allocations: 0 / 1.101 GB, free: 5.512 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001301/0.881, allocations: 55.94 kB / 1.101 GB, free: 5.457 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.021e-05/0.8811, allocations: 50.45 kB / 1.101 GB, free: 5.406 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.8831, allocations: 1.266 MB / 1.102 GB, free: 4.133 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.008913/0.8921, allocations: 7.202 MB / 1.11 GB, free: 12.36 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.8931, allocations: 0.6465 MB / 1.11 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005344/0.8937, allocations: 370.3 kB / 1.111 GB, free: 11.35 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001904/0.8939, allocations: 109.6 kB / 1.111 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/0.8939, allocations: 43.12 kB / 1.111 GB, free: 11.17 MB / 0.9044 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000566/0.8945, allocations: 111 kB / 1.111 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=67): time 2.424e-06/0.8945, allocations: 0 / 1.111 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=67): time 0.001966/0.8965, allocations: 1.005 MB / 1.112 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.8966, allocations: 59.97 kB / 1.112 GB, free: 9.977 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001663/0.8982, allocations: 1.338 MB / 1.113 GB, free: 8.629 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 9.636e-05/0.8983, allocations: 49.7 kB / 1.113 GB, free: 8.574 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006001/0.8989, allocations: 0.762 MB / 1.114 GB, free: 7.805 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002265/0.8992, allocations: 248.5 kB / 1.114 GB, free: 7.559 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003043/0.8995, allocations: 210.3 kB / 1.114 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.8996, allocations: 349.9 kB / 1.115 GB, free: 7 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000581/0.9002, allocations: 358.8 kB / 1.115 GB, free: 6.648 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00084/0.9011, allocations: 0.679 MB / 1.116 GB, free: 5.832 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.9024, allocations: 0.9449 MB / 1.117 GB, free: 4.793 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.748e-06/0.9024, allocations: 3.938 kB / 1.117 GB, free: 4.789 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001848/0.9042, allocations: 1.152 MB / 1.118 GB, free: 3.629 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.9043, allocations: 8 kB / 1.118 GB, free: 3.621 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.9043, allocations: 8 kB / 1.118 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.482e-05/0.9043, allocations: 12 kB / 1.118 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009407/0.9053, allocations: 211.7 kB / 1.118 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.954e-05/0.9053, allocations: 19.92 kB / 1.118 GB, free: 3.375 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/0.9066, allocations: 54.08 kB / 1.118 GB, free: 3.324 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.537e-05/0.9066, allocations: 43.98 kB / 1.118 GB, free: 3.281 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001072/0.9077, allocations: 0.6776 MB / 1.119 GB, free: 2.598 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008068/0.9085, allocations: 0.6788 MB / 1.119 GB, free: 1.781 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001279/0.9098, allocations: 0.9526 MB / 1.12 GB, free: 0.7383 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.209e-06/0.9098, allocations: 4 kB / 1.12 GB, free: 0.7344 MB / 0.9044 GB Notification: Performance of matching and sorting (n=123) (initialization_lambda0): time 0.001767/0.9116, allocations: 1.136 MB / 1.121 GB, free: 15.59 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.9116, allocations: 8 kB / 1.121 GB, free: 15.58 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.9117, allocations: 8 kB / 1.121 GB, free: 15.57 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.9117, allocations: 16.77 kB / 1.121 GB, free: 15.56 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000865/0.9125, allocations: 213.8 kB / 1.122 GB, free: 15.35 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.505e-05/0.9126, allocations: 16.72 kB / 1.122 GB, free: 15.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001273/0.9138, allocations: 63.94 kB / 1.122 GB, free: 15.27 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.76e-05/0.9139, allocations: 36 kB / 1.122 GB, free: 15.24 MB / 0.92 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002572/0.9142, allocations: 252.9 kB / 1.122 GB, free: 14.98 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.9144, allocations: 150.2 kB / 1.122 GB, free: 14.84 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001437/0.9159, allocations: 0.8215 MB / 1.123 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.9159, allocations: 4 kB / 1.123 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.9159, allocations: 0 / 1.123 GB, free: 14 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001012/0.9169, allocations: 0.7901 MB / 1.124 GB, free: 13.16 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003431/0.9204, allocations: 2.294 MB / 1.126 GB, free: 10.78 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.9204, allocations: 7.984 kB / 1.126 GB, free: 10.77 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008708/0.9213, allocations: 163.8 kB / 1.126 GB, free: 10.61 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.676e-06/0.9213, allocations: 12.19 kB / 1.126 GB, free: 10.6 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.1e-05/0.9213, allocations: 23.92 kB / 1.126 GB, free: 10.58 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.005e-06/0.9213, allocations: 7.938 kB / 1.126 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.9214, allocations: 4 kB / 1.126 GB, free: 10.57 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001808/0.9232, allocations: 1.31 MB / 1.127 GB, free: 9.223 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005835/0.9238, allocations: 315.2 kB / 1.128 GB, free: 8.895 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.9239, allocations: 23.94 kB / 1.128 GB, free: 8.871 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000905/0.9248, allocations: 37.56 kB / 1.128 GB, free: 8.84 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.47e-05/0.925, allocations: 44.5 kB / 1.128 GB, free: 8.797 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.312e-05/0.925, allocations: 35.98 kB / 1.128 GB, free: 8.762 MB / 0.92 GB Notification: Performance of sorting global known variables: time 0.001209/0.9262, allocations: 0.8964 MB / 1.129 GB, free: 7.867 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9263, allocations: 4 kB / 1.129 GB, free: 7.863 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.001888/0.9281, allocations: 0.834 MB / 1.13 GB, free: 7.027 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.0005212/0.9287, allocations: 259.8 kB / 1.13 GB, free: 6.777 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.002149/0.9308, allocations: 1.327 MB / 1.131 GB, free: 5.453 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.9309, allocations: 0 / 1.131 GB, free: 5.453 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0004845/0.9313, allocations: 355.1 kB / 1.131 GB, free: 5.105 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003439/0.9348, allocations: 0.8514 MB / 1.132 GB, free: 4.332 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004368/0.9392, allocations: 2.846 MB / 1.135 GB, free: 1.445 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009819/0.9402, allocations: 1.348 MB / 1.136 GB, free: 68 kB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.3081/1.248, allocations: 408.7 kB / 1.137 GB, free: 306.5 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003017/1.249, allocations: 117.9 kB / 1.137 GB, free: 306.5 MB / 0.92 GB Notification: Performance of SimCode: time 6.71e-07/1.249, allocations: 0 / 1.137 GB, free: 306.5 MB / 0.92 GB Notification: Performance of Templates: time 0.05023/1.299, allocations: 29.33 MB / 1.166 GB, free: 302.5 MB / 0.92 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.makefile (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 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowHumidifier.pipe 2>&1)