Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.00678/0.00678, allocations: 106.3 kB / 15.74 MB, free: 6.008 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.001333/0.001333, allocations: 199.2 kB / 16.68 MB, free: 5.93 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.373/1.373, allocations: 205.1 MB / 222.5 MB, free: 12.2 MB / 190.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.413/1.413, allocations: 251.7 MB / 0.5094 GB, free: 408 kB / 430.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.001449/0.001449, allocations: 63.91 kB / 0.7258 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5715/0.573, allocations: 104.7 MB / 0.8281 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.8138/1.387, allocations: 329 MB / 1.149 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.03148/1.418, allocations: 30.03 MB / 1.179 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00378/1.422, allocations: 98.28 kB / 1.179 GB, free: 1.66 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.005605/1.428, allocations: 2.2 MB / 1.181 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01284/1.441, allocations: 5.58 MB / 1.186 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008664/1.449, allocations: 3.689 MB / 1.19 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.011/1.46, allocations: 7.159 MB / 1.197 GB, free: 1.148 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004527/1.465, allocations: 2.892 MB / 1.2 GB, free: 16.76 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01266/1.478, allocations: 5.201 MB / 1.205 GB, free: 16.46 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005402/1.483, allocations: 2.527 MB / 1.207 GB, free: 16.08 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.001044/1.484, allocations: 301.9 kB / 1.208 GB, free: 16.08 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009682/1.494, allocations: 4.829 MB / 1.212 GB, free: 16.03 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.001683/1.496, allocations: 1.08 MB / 1.213 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.003578/1.499, allocations: 1.738 MB / 1.215 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01171/1.511, allocations: 5.753 MB / 1.221 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/1.511, allocations: 0 / 1.221 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.523e-06/1.511, allocations: 0 / 1.221 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001388/1.511, allocations: 0 / 1.221 GB, free: 13.54 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 544 * Number of variables: 544 Notification: Performance of Generate backend data structure: time 0.009531/1.521, allocations: 3.678 MB / 1.224 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/1.521, allocations: 8.188 kB / 1.224 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009207/1.53, allocations: 1.468 MB / 1.226 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0045/1.534, allocations: 2.056 MB / 1.228 GB, free: 9.035 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/1.535, allocations: 172.7 kB / 1.228 GB, free: 8.957 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005304/1.535, allocations: 215.9 kB / 1.228 GB, free: 8.891 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007034/1.542, allocations: 3.07 MB / 1.231 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.477e-05/1.542, allocations: 3 kB / 1.231 GB, free: 6.605 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004215/1.543, allocations: 92 kB / 1.231 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001729/1.543, allocations: 92.06 kB / 1.231 GB, free: 6.422 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008733/1.552, allocations: 3.11 MB / 1.234 GB, free: 3.316 MB / 0.9044 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.02569/1.577, allocations: 14.03 MB / 1.248 GB, free: 4.426 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004059/1.581, allocations: 1.642 MB / 1.25 GB, free: 2.781 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001699/1.583, allocations: 0.7754 MB / 1.25 GB, free: 2.008 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006208/1.584, allocations: 329.7 kB / 1.251 GB, free: 1.633 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/1.584, allocations: 54.75 kB / 1.251 GB, free: 1.574 MB / 0.92 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00126/1.585, allocations: 197.3 kB / 1.251 GB, free: 1.383 MB / 0.92 GB Notification: Performance of pre-optimization done (n=110): time 6.212e-06/1.585, allocations: 4 kB / 1.251 GB, free: 1.379 MB / 0.92 GB Notification: Performance of matching and sorting (n=110): time 0.00588/1.591, allocations: 2.344 MB / 1.253 GB, free: 15.03 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.153e-05/1.591, allocations: 64.41 kB / 1.253 GB, free: 14.95 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004131/1.595, allocations: 2.499 MB / 1.256 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001959/1.595, allocations: 53.7 kB / 1.256 GB, free: 12.37 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009837/1.596, allocations: 1.236 MB / 1.257 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.000329/1.597, allocations: 396.5 kB / 1.257 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007073/1.597, allocations: 391 kB / 1.258 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001055/1.598, allocations: 301.1 kB / 1.258 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00237/1.6, allocations: 0.9525 MB / 1.259 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002807/1.603, allocations: 1.526 MB / 1.26 GB, free: 7.328 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004452/1.607, allocations: 2.272 MB / 1.263 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-05/1.607, allocations: 4 kB / 1.263 GB, free: 4.895 MB / 0.9356 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006542/1.614, allocations: 2.775 MB / 1.265 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 9.021e-05/1.614, allocations: 78.77 kB / 1.265 GB, free: 2.094 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.299e-05/1.614, allocations: 15.98 kB / 1.265 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.545e-05/1.614, allocations: 24 kB / 1.265 GB, free: 2.055 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/1.617, allocations: 0.5545 MB / 1.266 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/1.619, allocations: 2.396 MB / 1.268 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/1.622, allocations: 281.6 kB / 1.269 GB, free: 14.78 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002278/1.622, allocations: 91.95 kB / 1.269 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003259/1.625, allocations: 1.386 MB / 1.27 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002797/1.628, allocations: 1.515 MB / 1.272 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004477/1.632, allocations: 2.271 MB / 1.274 GB, free: 9.117 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.237e-05/1.632, allocations: 4 kB / 1.274 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006465/1.639, allocations: 2.764 MB / 1.276 GB, free: 6.41 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/1.639, allocations: 76.14 kB / 1.277 GB, free: 6.324 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/1.639, allocations: 19.66 kB / 1.277 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/1.639, allocations: 28 kB / 1.277 GB, free: 6.281 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/1.642, allocations: 0.5006 MB / 1.277 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.044e-05/1.642, allocations: 33.22 kB / 1.277 GB, free: 5.777 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003436/1.645, allocations: 295.7 kB / 1.277 GB, free: 5.488 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002393/1.645, allocations: 91.95 kB / 1.277 GB, free: 5.398 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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.0005693/1.646, allocations: 302.8 kB / 1.278 GB, free: 5.121 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006839/1.647, allocations: 256.8 kB / 1.278 GB, free: 4.867 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004607/1.651, allocations: 1.834 MB / 1.28 GB, free: 3.023 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/1.651, allocations: 12 kB / 1.28 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.651, allocations: 0 / 1.28 GB, free: 3.012 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/1.651, allocations: 3.984 kB / 1.28 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009149/1.661, allocations: 4.513 MB / 1.284 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.228e-05/1.661, allocations: 8 kB / 1.284 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001745/1.662, allocations: 306.3 kB / 1.285 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.895e-05/1.662, allocations: 12 kB / 1.285 GB, free: 14.12 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001022/1.662, allocations: 27.98 kB / 1.285 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001174/1.664, allocations: 2.368 MB / 1.287 GB, free: 11.64 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.257e-06/1.664, allocations: 11 kB / 1.287 GB, free: 11.63 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004265/1.668, allocations: 1.969 MB / 1.289 GB, free: 9.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001362/1.669, allocations: 0.5406 MB / 1.289 GB, free: 9.008 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005914/1.67, allocations: 31.89 kB / 1.289 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002454/1.672, allocations: 183.7 kB / 1.29 GB, free: 8.801 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/1.673, allocations: 87.97 kB / 1.29 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001815/1.673, allocations: 63.94 kB / 1.29 GB, free: 8.656 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.003144/1.676, allocations: 1.711 MB / 1.291 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/1.676, allocations: 4 kB / 1.291 GB, free: 6.938 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00366/1.68, allocations: 1.294 MB / 1.293 GB, free: 5.641 MB / 0.9669 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.0007827/1.68, allocations: 376.4 kB / 1.293 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.008492/1.689, allocations: 3.583 MB / 1.296 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/1.689, allocations: 4 kB / 1.296 GB, free: 1.797 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001973/1.691, allocations: 0.8078 MB / 1.297 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005801/1.697, allocations: 1.202 MB / 1.298 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007983/1.705, allocations: 4.2 MB / 1.303 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001652/1.706, allocations: 1.678 MB / 1.304 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0033/1.71, allocations: 0.7777 MB / 1.305 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007099/1.71, allocations: 195.3 kB / 1.305 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of SimCode: time 1.022e-06/1.71, allocations: 0 / 1.305 GB, free: 8.855 MB / 0.9825 GB Notification: Performance of Templates: time 0.07386/1.784, allocations: 45.8 MB / 1.35 GB, free: 11.87 MB / 1.029 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)