Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.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.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001479/0.001479, allocations: 106.9 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.001706/0.001706, 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.322/1.322, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.764/1.764, allocations: 292.3 MB / 0.5496 GB, free: 17.57 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.001453/0.001453, allocations: 67.91 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2019, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6237/0.8256, allocations: 328.4 MB / 1.105 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0347/0.8604, allocations: 29.85 MB / 1.135 GB, free: 3.164 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002964/0.8634, allocations: 95.44 kB / 1.135 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00446/0.8679, allocations: 2.093 MB / 1.137 GB, free: 0.9648 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.4434/1.311, allocations: 4.943 MB / 1.142 GB, free: 3.559 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.008113/1.319, allocations: 3.658 MB / 1.145 GB, free: 3.543 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.01042/1.33, allocations: 6.912 MB / 1.152 GB, free: 3.531 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0051/1.335, allocations: 2.872 MB / 1.155 GB, free: 19.24 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01259/1.348, allocations: 5.28 MB / 1.16 GB, free: 19.17 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005211/1.353, allocations: 2.406 MB / 1.162 GB, free: 19.17 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.001016/1.354, allocations: 298.7 kB / 1.163 GB, free: 19.17 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.011/1.365, allocations: 4.81 MB / 1.167 GB, free: 19.12 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.001975/1.367, allocations: 1.068 MB / 1.168 GB, free: 19.12 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.003675/1.371, allocations: 1.74 MB / 1.17 GB, free: 19.12 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.009537/1.38, allocations: 5.759 MB / 1.176 GB, free: 18.7 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/1.38, allocations: 1.75 kB / 1.176 GB, free: 18.7 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.753e-06/1.38, allocations: 0 / 1.176 GB, free: 18.7 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.167e-05/1.38, allocations: 0.75 kB / 1.176 GB, free: 18.7 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 536 * Number of variables: 536 Notification: Performance of Generate backend data structure: time 0.008146/1.388, allocations: 3.706 MB / 1.179 GB, free: 17.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/1.388, allocations: 9.5 kB / 1.179 GB, free: 17.02 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01031/1.399, allocations: 1.469 MB / 1.181 GB, free: 16.85 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00463/1.403, allocations: 1.977 MB / 1.183 GB, free: 16.29 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001209/1.405, allocations: 395.8 kB / 1.183 GB, free: 16.28 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005008/1.405, allocations: 224.5 kB / 1.183 GB, free: 16.28 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00562/1.411, allocations: 3.067 MB / 1.186 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.299e-05/1.411, allocations: 3.094 kB / 1.186 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002676/1.411, allocations: 89.88 kB / 1.186 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.393e-05/1.411, allocations: 88.95 kB / 1.186 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00648/1.418, allocations: 3.144 MB / 1.189 GB, free: 15.89 MB / 0.9356 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.02208/1.44, allocations: 14.08 MB / 1.203 GB, free: 8.352 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003679/1.444, allocations: 1.659 MB / 1.205 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/1.445, allocations: 0.7732 MB / 1.206 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006255/1.446, allocations: 322.4 kB / 1.206 GB, free: 7.988 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.074e-05/1.446, allocations: 51.53 kB / 1.206 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001371/1.447, allocations: 202 kB / 1.206 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=110): time 3.667e-06/1.447, allocations: 4 kB / 1.206 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of matching and sorting (n=110): time 0.005229/1.452, allocations: 2.353 MB / 1.208 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.863e-05/1.452, allocations: 63.67 kB / 1.208 GB, free: 7.582 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00357/1.456, allocations: 2.54 MB / 1.211 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0002058/1.456, allocations: 58.3 kB / 1.211 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009133/1.457, allocations: 1.268 MB / 1.212 GB, free: 6.828 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003158/1.458, allocations: 392.5 kB / 1.213 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00065/1.458, allocations: 390.3 kB / 1.213 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000114/1.458, allocations: 309.1 kB / 1.213 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002327/1.461, allocations: 0.9761 MB / 1.214 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002833/1.463, allocations: 1.614 MB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004376/1.468, allocations: 2.278 MB / 1.218 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/1.468, allocations: 2.812 kB / 1.218 GB, free: 4.82 MB / 0.9356 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006288/1.474, allocations: 2.818 MB / 1.221 GB, free: 4.52 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.486e-05/1.474, allocations: 72.91 kB / 1.221 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/1.474, allocations: 13.66 kB / 1.221 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.092e-05/1.474, allocations: 21.66 kB / 1.221 GB, free: 4.457 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002956/1.477, allocations: 0.5679 MB / 1.221 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001349/1.479, allocations: 2.389 MB / 1.224 GB, free: 2.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003563/1.482, allocations: 313.6 kB / 1.224 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001826/1.482, allocations: 91.89 kB / 1.224 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003159/1.486, allocations: 1.415 MB / 1.226 GB, free: 1.973 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002774/1.488, allocations: 1.605 MB / 1.227 GB, free: 1.223 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004183/1.493, allocations: 2.269 MB / 1.229 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.516e-06/1.493, allocations: 2.875 kB / 1.229 GB, free: 0.5977 MB / 0.9356 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006196/1.499, allocations: 2.821 MB / 1.232 GB, free: 296 kB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 5.942e-05/1.499, allocations: 79.78 kB / 1.232 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.604e-05/1.499, allocations: 15.73 kB / 1.232 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.855e-05/1.499, allocations: 23.22 kB / 1.232 GB, free: 228 kB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002535/1.501, allocations: 0.5201 MB / 1.233 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.455e-05/1.501, allocations: 29.45 kB / 1.233 GB, free: 216 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/1.505, allocations: 330.9 kB / 1.233 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001672/1.505, allocations: 92.84 kB / 1.233 GB, free: 192 kB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005565/1.506, allocations: 293.8 kB / 1.233 GB, free: 0 / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004757/1.506, allocations: 263.8 kB / 1.234 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003997/1.51, allocations: 1.835 MB / 1.235 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.947e-06/1.51, allocations: 10.72 kB / 1.235 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.51, allocations: 0 / 1.235 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/1.51, allocations: 13.09 kB / 1.235 GB, free: 15.75 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007979/1.518, allocations: 4.497 MB / 1.24 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/1.518, allocations: 5.781 kB / 1.24 GB, free: 14.37 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00168/1.52, allocations: 303 kB / 1.24 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-05/1.52, allocations: 10.44 kB / 1.24 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.742e-05/1.52, allocations: 31.02 kB / 1.24 GB, free: 14.3 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001137/1.521, allocations: 2.372 MB / 1.243 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/1.521, allocations: 8.969 kB / 1.243 GB, free: 11.94 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003838/1.525, allocations: 1.974 MB / 1.244 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001258/1.526, allocations: 0.526 MB / 1.245 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003483/1.527, allocations: 31.41 kB / 1.245 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002238/1.529, allocations: 191.6 kB / 1.245 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001496/1.529, allocations: 81.19 kB / 1.245 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001328/1.529, allocations: 63.14 kB / 1.245 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.002727/1.532, allocations: 1.747 MB / 1.247 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.1e-07/1.532, allocations: 0 / 1.247 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003432/1.535, allocations: 1.284 MB / 1.248 GB, free: 10.22 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * 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 simulation (110): * Single equations (assignments): 106 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007267/1.536, allocations: 376.5 kB / 1.249 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.008961/1.545, allocations: 3.635 MB / 1.252 GB, free: 7.59 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/1.545, allocations: 4.125 kB / 1.252 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001976/1.547, allocations: 0.8054 MB / 1.253 GB, free: 7 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006112/1.553, allocations: 1.197 MB / 1.254 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007209/1.561, allocations: 4.245 MB / 1.258 GB, free: 2.188 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001324/1.562, allocations: 1.695 MB / 1.26 GB, free: 0.5039 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.003142/1.565, allocations: 0.7778 MB / 1.261 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006197/1.566, allocations: 198.4 kB / 1.261 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of SimCode: time 6.21e-07/1.566, allocations: 4 kB / 1.261 GB, free: 15.54 MB / 0.9669 GB Notification: Performance of Templates: time 0.07596/1.642, allocations: 45.47 MB / 1.305 GB, free: 3.055 MB / 0.9981 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)