Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.0016/0.0016, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00166/0.00166, allocations: 194.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.809/2.809, allocations: 472.6 MB / 0.7451 GB, free: 4.676 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.69 kB / 0.912 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3351/0.3363, allocations: 159.9 MB / 1.068 GB, free: 10.49 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.8836/1.22, allocations: 328.4 MB / 1.389 GB, free: 8.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.05803/1.278, allocations: 30.08 MB / 1.418 GB, free: 3.281 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006139/1.284, allocations: 97.16 kB / 1.418 GB, free: 3.246 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01014/1.294, allocations: 2.091 MB / 1.42 GB, free: 1.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.02586/1.32, allocations: 4.985 MB / 1.425 GB, free: 13.61 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.01526/1.336, allocations: 3.62 MB / 1.429 GB, free: 10.9 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01108/1.347, allocations: 6.926 MB / 1.436 GB, free: 6.992 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005117/1.352, allocations: 2.858 MB / 1.438 GB, free: 5.148 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01323/1.365, allocations: 5.279 MB / 1.444 GB, free: 1.855 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006018/1.371, allocations: 2.422 MB / 1.446 GB, free: 15.93 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.001643/1.373, allocations: 300 kB / 1.446 GB, free: 15.63 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0125/1.385, allocations: 4.805 MB / 1.451 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002112/1.388, allocations: 1.071 MB / 1.452 GB, free: 9.742 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004165/1.392, allocations: 1.746 MB / 1.454 GB, free: 7.988 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01132/1.403, allocations: 5.695 MB / 1.459 GB, free: 2.277 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.403, allocations: 0 / 1.459 GB, free: 2.277 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.755e-06/1.403, allocations: 0 / 1.459 GB, free: 2.277 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001648/1.403, allocations: 0 / 1.459 GB, free: 2.277 MB / 1.061 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.009294/1.413, allocations: 3.712 MB / 1.463 GB, free: 14.48 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/1.413, allocations: 16.03 kB / 1.463 GB, free: 14.46 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/1.423, allocations: 1.46 MB / 1.464 GB, free: 13 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005404/1.429, allocations: 1.991 MB / 1.466 GB, free: 10.93 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001389/1.43, allocations: 392.2 kB / 1.467 GB, free: 10.54 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007928/1.431, allocations: 216 kB / 1.467 GB, free: 10.33 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007617/1.438, allocations: 3.078 MB / 1.47 GB, free: 7.113 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.055e-05/1.438, allocations: 0 / 1.47 GB, free: 7.113 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004588/1.439, allocations: 92 kB / 1.47 GB, free: 7.023 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001102/1.439, allocations: 84 kB / 1.47 GB, free: 6.938 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007935/1.447, allocations: 3.15 MB / 1.473 GB, free: 3.77 MB / 1.076 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.02702/1.474, allocations: 14.14 MB / 1.487 GB, free: 4.52 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004354/1.478, allocations: 1.658 MB / 1.488 GB, free: 2.859 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001855/1.48, allocations: 0.7791 MB / 1.489 GB, free: 2.078 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006881/1.481, allocations: 320.2 kB / 1.49 GB, free: 1.711 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.673e-05/1.481, allocations: 51.56 kB / 1.49 GB, free: 1.652 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001761/1.483, allocations: 194.1 kB / 1.49 GB, free: 1.461 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 5.961e-06/1.483, allocations: 0 / 1.49 GB, free: 1.461 MB / 1.092 GB Notification: Performance of matching and sorting (n=110): time 0.006613/1.49, allocations: 2.36 MB / 1.492 GB, free: 15.09 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/1.49, allocations: 64.34 kB / 1.492 GB, free: 15.01 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0055/1.495, allocations: 2.544 MB / 1.495 GB, free: 12.45 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.000247/1.495, allocations: 53.7 kB / 1.495 GB, free: 12.39 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001111/1.497, allocations: 1.265 MB / 1.496 GB, free: 11.11 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003896/1.497, allocations: 390.4 kB / 1.496 GB, free: 10.72 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009222/1.498, allocations: 387 kB / 1.497 GB, free: 10.34 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001414/1.498, allocations: 305.1 kB / 1.497 GB, free: 10.04 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002835/1.501, allocations: 0.9728 MB / 1.498 GB, free: 9.062 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003329/1.504, allocations: 1.585 MB / 1.499 GB, free: 7.207 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005105/1.509, allocations: 2.259 MB / 1.502 GB, free: 4.75 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.419e-05/1.509, allocations: 8 kB / 1.502 GB, free: 4.742 MB / 1.107 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.007378/1.517, allocations: 2.773 MB / 1.504 GB, free: 1.945 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 8.369e-05/1.517, allocations: 76.14 kB / 1.504 GB, free: 1.859 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.61e-05/1.517, allocations: 12 kB / 1.504 GB, free: 1.848 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.08e-05/1.517, allocations: 28 kB / 1.504 GB, free: 1.82 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003135/1.52, allocations: 0.5577 MB / 1.505 GB, free: 1.262 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/1.522, allocations: 2.387 MB / 1.507 GB, free: 14.78 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00429/1.526, allocations: 315.9 kB / 1.508 GB, free: 14.47 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000362/1.526, allocations: 91.95 kB / 1.508 GB, free: 14.38 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003926/1.53, allocations: 1.398 MB / 1.509 GB, free: 12.98 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003334/1.534, allocations: 1.581 MB / 1.511 GB, free: 11.14 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00512/1.539, allocations: 2.232 MB / 1.513 GB, free: 8.711 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.279e-05/1.539, allocations: 8 kB / 1.513 GB, free: 8.703 MB / 1.123 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.007305/1.546, allocations: 2.781 MB / 1.516 GB, free: 5.898 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.855e-05/1.546, allocations: 78.27 kB / 1.516 GB, free: 5.812 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/1.546, allocations: 20 kB / 1.516 GB, free: 5.793 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.336e-05/1.546, allocations: 27.94 kB / 1.516 GB, free: 5.766 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002486/1.549, allocations: 0.4993 MB / 1.516 GB, free: 5.266 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.788e-05/1.549, allocations: 35.92 kB / 1.516 GB, free: 5.23 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003506/1.552, allocations: 320.2 kB / 1.516 GB, free: 4.914 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/1.553, allocations: 87.95 kB / 1.517 GB, free: 4.828 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (208): * Single equations (assignments): 202 * 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.0005596/1.553, allocations: 295.7 kB / 1.517 GB, free: 4.531 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005504/1.554, allocations: 268.8 kB / 1.517 GB, free: 4.266 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004552/1.558, allocations: 1.839 MB / 1.519 GB, free: 2.414 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.558, allocations: 15.94 kB / 1.519 GB, free: 2.398 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/1.558, allocations: 0 / 1.519 GB, free: 2.398 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/1.558, allocations: 3.984 kB / 1.519 GB, free: 2.395 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008548/1.567, allocations: 4.509 MB / 1.523 GB, free: 13.74 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/1.567, allocations: 8 kB / 1.523 GB, free: 13.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001731/1.569, allocations: 311.5 kB / 1.524 GB, free: 13.43 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-05/1.569, allocations: 12 kB / 1.524 GB, free: 13.42 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.973e-05/1.569, allocations: 27.98 kB / 1.524 GB, free: 13.39 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001342/1.57, allocations: 2.372 MB / 1.526 GB, free: 10.93 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.845e-06/1.57, allocations: 11.94 kB / 1.526 GB, free: 10.91 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004359/1.574, allocations: 1.971 MB / 1.528 GB, free: 8.852 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001076/1.576, allocations: 0.5212 MB / 1.528 GB, free: 8.309 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003721/1.576, allocations: 23.94 kB / 1.528 GB, free: 8.285 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002299/1.578, allocations: 195 kB / 1.529 GB, free: 8.098 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/1.578, allocations: 80.78 kB / 1.529 GB, free: 8.016 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/1.579, allocations: 59.95 kB / 1.529 GB, free: 7.957 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003088/1.582, allocations: 1.759 MB / 1.53 GB, free: 6.195 MB / 1.139 GB Notification: Performance of sort global known variables: time 3.21e-07/1.582, allocations: 0 / 1.53 GB, free: 6.195 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.003296/1.585, allocations: 1.283 MB / 1.532 GB, free: 4.91 MB / 1.139 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.0007891/1.586, allocations: 381.5 kB / 1.532 GB, free: 4.547 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.0102/1.596, allocations: 3.76 MB / 1.536 GB, free: 0.7422 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/1.596, allocations: 4.5 kB / 1.536 GB, free: 0.7383 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002057/1.598, allocations: 0.811 MB / 1.537 GB, free: 15.93 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006055/1.604, allocations: 1.211 MB / 1.538 GB, free: 14.75 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007189/1.611, allocations: 4.305 MB / 1.542 GB, free: 10.33 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001197/1.613, allocations: 1.693 MB / 1.544 GB, free: 8.594 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.003489/1.616, allocations: 0.7777 MB / 1.544 GB, free: 7.812 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006114/1.617, allocations: 203.3 kB / 1.545 GB, free: 7.613 MB / 1.154 GB Notification: Performance of SimCode: time 5.21e-07/1.617, allocations: 3.938 kB / 1.545 GB, free: 7.609 MB / 1.154 GB Notification: Performance of Templates: time 0.07465/1.691, allocations: 47.93 MB / 1.591 GB, free: 8.234 MB / 1.201 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)