Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001245/0.00125, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00133/0.001329, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.464/1.464, allocations: 222.9 MB / 239.9 MB, free: 4.492 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.831/2.831, allocations: 472.6 MB / 0.7448 GB, free: 4.871 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 66.28 kB / 0.9115 GB, free: 33.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3712, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.085/1.456, allocations: 324.7 MB / 1.385 GB, free: 10.95 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0402/1.496, allocations: 29.89 MB / 1.414 GB, free: 6.734 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005823/1.502, allocations: 89.5 kB / 1.414 GB, free: 6.699 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.007055/1.509, allocations: 1.857 MB / 1.416 GB, free: 5.25 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01539/1.525, allocations: 4.667 MB / 1.42 GB, free: 1.672 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0111/1.536, allocations: 3.379 MB / 1.424 GB, free: 15.22 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01172/1.547, allocations: 6.953 MB / 1.431 GB, free: 11.29 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004967/1.552, allocations: 2.805 MB / 1.433 GB, free: 9.453 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01425/1.567, allocations: 5.229 MB / 1.438 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005477/1.572, allocations: 2.552 MB / 1.441 GB, free: 4.742 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0009577/1.573, allocations: 297.3 kB / 1.441 GB, free: 4.664 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01075/1.584, allocations: 5.081 MB / 1.446 GB, free: 15.57 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002291/1.586, allocations: 1.075 MB / 1.447 GB, free: 14.49 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.003626/1.59, allocations: 1.746 MB / 1.449 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01436/1.604, allocations: 6.033 MB / 1.455 GB, free: 6.688 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/1.604, allocations: 0 / 1.455 GB, free: 6.688 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.623e-06/1.604, allocations: 0 / 1.455 GB, free: 6.688 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.991e-05/1.604, allocations: 0 / 1.455 GB, free: 6.688 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.008306/1.613, allocations: 3.708 MB / 1.458 GB, free: 2.891 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/1.613, allocations: 15.97 kB / 1.458 GB, free: 2.875 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/1.623, allocations: 1.468 MB / 1.46 GB, free: 1.402 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004069/1.627, allocations: 1.983 MB / 1.462 GB, free: 15.34 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001368/1.628, allocations: 392.2 kB / 1.462 GB, free: 14.95 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004566/1.629, allocations: 220 kB / 1.462 GB, free: 14.73 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006319/1.635, allocations: 3.074 MB / 1.465 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.151e-05/1.635, allocations: 0 / 1.465 GB, free: 11.52 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002691/1.635, allocations: 88 kB / 1.465 GB, free: 11.44 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.97e-05/1.636, allocations: 88 kB / 1.466 GB, free: 11.35 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007217/1.643, allocations: 3.142 MB / 1.469 GB, free: 8.188 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.02491/1.668, allocations: 14.09 MB / 1.482 GB, free: 8.996 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003926/1.672, allocations: 1.654 MB / 1.484 GB, free: 7.336 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001639/1.673, allocations: 0.7767 MB / 1.485 GB, free: 6.555 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006867/1.674, allocations: 324.2 kB / 1.485 GB, free: 6.184 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.414e-05/1.674, allocations: 51.56 kB / 1.485 GB, free: 6.125 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00138/1.675, allocations: 198.1 kB / 1.485 GB, free: 5.93 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 3.757e-06/1.675, allocations: 0 / 1.485 GB, free: 5.93 MB / 1.092 GB Notification: Performance of matching and sorting (n=110): time 0.005581/1.681, allocations: 2.356 MB / 1.488 GB, free: 3.566 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.7e-05/1.681, allocations: 64.41 kB / 1.488 GB, free: 3.492 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003796/1.685, allocations: 2.537 MB / 1.49 GB, free: 0.9375 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0002358/1.685, allocations: 57.7 kB / 1.49 GB, free: 0.875 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009673/1.686, allocations: 1.272 MB / 1.491 GB, free: 15.59 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003274/1.686, allocations: 390.5 kB / 1.492 GB, free: 15.2 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006736/1.687, allocations: 383 kB / 1.492 GB, free: 14.82 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.917e-05/1.687, allocations: 301.1 kB / 1.492 GB, free: 14.52 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002486/1.69, allocations: 0.9689 MB / 1.493 GB, free: 13.55 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002904/1.693, allocations: 1.585 MB / 1.495 GB, free: 11.7 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004497/1.697, allocations: 2.247 MB / 1.497 GB, free: 9.25 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.165e-05/1.697, allocations: 11.88 kB / 1.497 GB, free: 9.238 MB / 1.107 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00656/1.704, allocations: 2.781 MB / 1.5 GB, free: 6.434 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 6.692e-05/1.704, allocations: 73.27 kB / 1.5 GB, free: 6.352 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.097e-05/1.704, allocations: 16 kB / 1.5 GB, free: 6.336 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.821e-05/1.704, allocations: 20.75 kB / 1.5 GB, free: 6.316 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003016/1.707, allocations: 0.5578 MB / 1.501 GB, free: 5.758 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/1.708, allocations: 2.399 MB / 1.503 GB, free: 3.266 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00406/1.712, allocations: 403.4 kB / 1.503 GB, free: 2.871 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/1.713, allocations: 95.94 kB / 1.503 GB, free: 2.777 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003304/1.716, allocations: 1.399 MB / 1.505 GB, free: 1.375 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002982/1.719, allocations: 1.581 MB / 1.506 GB, free: 15.53 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00486/1.724, allocations: 2.244 MB / 1.508 GB, free: 13.09 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.059e-05/1.724, allocations: 4 kB / 1.508 GB, free: 13.09 MB / 1.123 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.006887/1.731, allocations: 2.774 MB / 1.511 GB, free: 10.29 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 8.705e-05/1.731, allocations: 75.48 kB / 1.511 GB, free: 10.21 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.157e-05/1.731, allocations: 16 kB / 1.511 GB, free: 10.19 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.327e-05/1.731, allocations: 24 kB / 1.511 GB, free: 10.17 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002499/1.733, allocations: 0.507 MB / 1.512 GB, free: 9.66 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.69e-05/1.733, allocations: 31.88 kB / 1.512 GB, free: 9.629 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003597/1.737, allocations: 396 kB / 1.512 GB, free: 9.238 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001939/1.737, allocations: 87.95 kB / 1.512 GB, free: 9.152 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.0005469/1.738, allocations: 300.2 kB / 1.513 GB, free: 8.852 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005215/1.738, allocations: 256.8 kB / 1.513 GB, free: 8.598 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/1.743, allocations: 1.847 MB / 1.515 GB, free: 6.734 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.199e-05/1.743, allocations: 15.88 kB / 1.515 GB, free: 6.719 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.133e-06/1.743, allocations: 4 kB / 1.515 GB, free: 6.715 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.194e-05/1.743, allocations: 11.97 kB / 1.515 GB, free: 6.703 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008728/1.752, allocations: 4.501 MB / 1.519 GB, free: 2.062 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/1.752, allocations: 4 kB / 1.519 GB, free: 2.059 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001705/1.753, allocations: 303.7 kB / 1.519 GB, free: 1.762 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.997e-05/1.753, allocations: 8 kB / 1.519 GB, free: 1.754 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/1.754, allocations: 35.97 kB / 1.519 GB, free: 1.719 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/1.755, allocations: 2.368 MB / 1.522 GB, free: 15.26 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.266e-06/1.755, allocations: 11.94 kB / 1.522 GB, free: 15.25 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004084/1.759, allocations: 1.967 MB / 1.524 GB, free: 13.18 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001118/1.76, allocations: 0.5289 MB / 1.524 GB, free: 12.63 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003773/1.76, allocations: 35.86 kB / 1.524 GB, free: 12.6 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002461/1.763, allocations: 259.6 kB / 1.524 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.763, allocations: 88.72 kB / 1.524 GB, free: 12.25 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001521/1.763, allocations: 59.95 kB / 1.525 GB, free: 12.2 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.00296/1.766, allocations: 1.759 MB / 1.526 GB, free: 10.43 MB / 1.139 GB Notification: Performance of sort global known variables: time 4.81e-07/1.766, allocations: 0 / 1.526 GB, free: 10.43 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.00363/1.77, allocations: 1.298 MB / 1.528 GB, free: 9.133 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.0007504/1.771, allocations: 375.1 kB / 1.528 GB, free: 8.773 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.01167/1.782, allocations: 3.753 MB / 1.532 GB, free: 4.98 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.8e-05/1.782, allocations: 4 kB / 1.532 GB, free: 4.977 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002786/1.785, allocations: 0.8073 MB / 1.532 GB, free: 4.172 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009008/1.794, allocations: 1.229 MB / 1.534 GB, free: 2.973 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/1.807, allocations: 5.201 MB / 1.539 GB, free: 13.66 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/1.809, allocations: 1.693 MB / 1.54 GB, free: 11.93 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.006622/1.816, allocations: 0.7818 MB / 1.541 GB, free: 11.14 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001175/1.817, allocations: 199.4 kB / 1.541 GB, free: 10.94 MB / 1.154 GB Notification: Performance of SimCode: time 1.042e-06/1.817, allocations: 0 / 1.541 GB, free: 10.94 MB / 1.154 GB Notification: Performance of Templates: time 0.09979/1.917, allocations: 47.74 MB / 1.588 GB, free: 11.75 MB / 1.201 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)