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.001253/0.001253, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001315/0.001314, allocations: 190.2 kB / 16.25 MB, free: 6.621 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.475/1.475, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.987/2.987, allocations: 472.6 MB / 0.7448 GB, free: 4.949 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00128/0.00128, allocations: 68.45 kB / 0.9115 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.385/0.3863, allocations: 159.9 MB / 1.068 GB, free: 10.86 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 1.01/1.396, allocations: 324.7 MB / 1.385 GB, free: 11.03 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.04436/1.441, allocations: 29.88 MB / 1.414 GB, free: 6.828 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00479/1.446, allocations: 91.5 kB / 1.414 GB, free: 6.793 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.005816/1.452, allocations: 1.855 MB / 1.416 GB, free: 5.344 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.01385/1.465, allocations: 4.671 MB / 1.42 GB, free: 1.758 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0108/1.476, allocations: 3.382 MB / 1.424 GB, free: 15.3 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01111/1.487, allocations: 6.955 MB / 1.431 GB, free: 11.37 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0054/1.493, allocations: 2.795 MB / 1.433 GB, free: 9.547 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01805/1.511, allocations: 5.237 MB / 1.438 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005746/1.517, allocations: 2.563 MB / 1.441 GB, free: 4.82 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001356/1.518, allocations: 296.4 kB / 1.441 GB, free: 4.738 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/1.529, allocations: 5.077 MB / 1.446 GB, free: 15.65 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001967/1.531, allocations: 1.067 MB / 1.447 GB, free: 14.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.004202/1.535, allocations: 1.746 MB / 1.449 GB, free: 12.82 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01223/1.547, allocations: 6.033 MB / 1.455 GB, free: 6.773 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.633e-06/1.547, allocations: 0 / 1.455 GB, free: 6.773 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/1.547, allocations: 0 / 1.455 GB, free: 6.773 MB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0001471/1.547, allocations: 0 / 1.455 GB, free: 6.773 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.009923/1.557, allocations: 3.708 MB / 1.458 GB, free: 2.977 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.557, allocations: 12.03 kB / 1.458 GB, free: 2.965 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01061/1.568, allocations: 1.468 MB / 1.46 GB, free: 1.492 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006735/1.575, allocations: 1.983 MB / 1.462 GB, free: 15.43 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001376/1.576, allocations: 392.1 kB / 1.462 GB, free: 15.04 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009641/1.577, allocations: 220 kB / 1.462 GB, free: 14.83 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009819/1.587, allocations: 3.066 MB / 1.465 GB, free: 11.62 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.36e-05/1.587, allocations: 4 kB / 1.465 GB, free: 11.62 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005141/1.588, allocations: 88 kB / 1.465 GB, free: 11.54 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/1.588, allocations: 92 kB / 1.466 GB, free: 11.44 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007834/1.596, allocations: 3.15 MB / 1.469 GB, free: 8.273 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.0257/1.621, allocations: 14.09 MB / 1.482 GB, free: 9.078 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004205/1.626, allocations: 1.657 MB / 1.484 GB, free: 7.414 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001808/1.627, allocations: 0.767 MB / 1.485 GB, free: 6.645 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00069/1.628, allocations: 329.1 kB / 1.485 GB, free: 6.27 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/1.628, allocations: 47.55 kB / 1.485 GB, free: 6.215 MB / 1.092 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001872/1.63, allocations: 202.1 kB / 1.485 GB, free: 6.016 MB / 1.092 GB Notification: Performance of pre-optimization done (n=110): time 9.107e-06/1.63, allocations: 0 / 1.485 GB, free: 6.016 MB / 1.092 GB Notification: Performance of matching and sorting (n=110): time 0.00658/1.637, allocations: 2.356 MB / 1.488 GB, free: 3.652 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.914e-05/1.637, allocations: 64.41 kB / 1.488 GB, free: 3.578 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006036/1.643, allocations: 2.544 MB / 1.49 GB, free: 1.016 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0004014/1.643, allocations: 57.7 kB / 1.49 GB, free: 0.9531 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001344/1.645, allocations: 1.264 MB / 1.491 GB, free: 15.67 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004582/1.645, allocations: 386.5 kB / 1.492 GB, free: 15.29 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009426/1.646, allocations: 387 kB / 1.492 GB, free: 14.91 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001249/1.646, allocations: 305.1 kB / 1.492 GB, free: 14.61 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002656/1.649, allocations: 0.9689 MB / 1.493 GB, free: 13.63 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003017/1.652, allocations: 1.585 MB / 1.495 GB, free: 11.78 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004737/1.657, allocations: 2.251 MB / 1.497 GB, free: 9.328 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.439e-05/1.657, allocations: 7.938 kB / 1.497 GB, free: 9.32 MB / 1.107 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.007072/1.664, allocations: 2.781 MB / 1.5 GB, free: 6.516 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 7.843e-05/1.664, allocations: 75.39 kB / 1.5 GB, free: 6.43 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.45e-05/1.664, allocations: 15.98 kB / 1.5 GB, free: 6.414 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.463e-05/1.664, allocations: 28.72 kB / 1.5 GB, free: 6.387 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/1.667, allocations: 0.5538 MB / 1.501 GB, free: 5.832 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001396/1.668, allocations: 2.391 MB / 1.503 GB, free: 3.348 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003759/1.672, allocations: 399.4 kB / 1.503 GB, free: 2.957 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000238/1.672, allocations: 91.95 kB / 1.503 GB, free: 2.867 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003406/1.676, allocations: 1.402 MB / 1.505 GB, free: 1.461 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003066/1.679, allocations: 1.577 MB / 1.506 GB, free: 15.62 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004589/1.684, allocations: 2.244 MB / 1.508 GB, free: 13.18 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.358e-05/1.684, allocations: 4 kB / 1.508 GB, free: 13.18 MB / 1.123 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.006894/1.691, allocations: 2.778 MB / 1.511 GB, free: 10.38 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 8.831e-05/1.691, allocations: 75.39 kB / 1.511 GB, free: 10.29 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/1.691, allocations: 20 kB / 1.511 GB, free: 10.27 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.021e-05/1.691, allocations: 27.94 kB / 1.511 GB, free: 10.25 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002526/1.693, allocations: 0.5032 MB / 1.512 GB, free: 9.742 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.29e-05/1.693, allocations: 31.86 kB / 1.512 GB, free: 9.711 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003835/1.697, allocations: 396 kB / 1.512 GB, free: 9.32 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003093/1.697, allocations: 87.95 kB / 1.512 GB, free: 9.234 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.0007155/1.698, allocations: 300.2 kB / 1.513 GB, free: 8.934 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008391/1.699, allocations: 260.8 kB / 1.513 GB, free: 8.676 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004881/1.704, allocations: 1.847 MB / 1.515 GB, free: 6.812 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/1.704, allocations: 11.94 kB / 1.515 GB, free: 6.801 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/1.704, allocations: 0 / 1.515 GB, free: 6.801 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.393e-05/1.704, allocations: 7.984 kB / 1.515 GB, free: 6.793 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01095/1.715, allocations: 4.505 MB / 1.519 GB, free: 2.148 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.637e-05/1.715, allocations: 8 kB / 1.519 GB, free: 2.141 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001748/1.717, allocations: 307.6 kB / 1.519 GB, free: 1.84 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.928e-05/1.717, allocations: 8 kB / 1.519 GB, free: 1.832 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001109/1.717, allocations: 31.98 kB / 1.519 GB, free: 1.801 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00134/1.718, allocations: 2.371 MB / 1.522 GB, free: 15.34 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-05/1.718, allocations: 11.94 kB / 1.522 GB, free: 15.32 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/1.723, allocations: 1.971 MB / 1.524 GB, free: 13.26 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00146/1.724, allocations: 0.5289 MB / 1.524 GB, free: 12.71 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007139/1.725, allocations: 31.94 kB / 1.524 GB, free: 12.68 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002963/1.728, allocations: 259.6 kB / 1.524 GB, free: 12.42 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001649/1.728, allocations: 84.72 kB / 1.524 GB, free: 12.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002268/1.728, allocations: 63.95 kB / 1.525 GB, free: 12.27 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.003552/1.732, allocations: 1.755 MB / 1.526 GB, free: 10.52 MB / 1.139 GB Notification: Performance of sort global known variables: time 2.6e-07/1.732, allocations: 3.938 kB / 1.526 GB, free: 10.51 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.004299/1.736, allocations: 1.302 MB / 1.528 GB, free: 9.207 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.0008857/1.737, allocations: 370.2 kB / 1.528 GB, free: 8.855 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.009959/1.747, allocations: 3.761 MB / 1.532 GB, free: 5.055 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.472e-05/1.747, allocations: 4 kB / 1.532 GB, free: 5.051 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.002121/1.749, allocations: 0.8071 MB / 1.532 GB, free: 4.246 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007/1.756, allocations: 1.216 MB / 1.534 GB, free: 3.059 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009089/1.765, allocations: 5.204 MB / 1.539 GB, free: 13.75 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/1.767, allocations: 1.697 MB / 1.54 GB, free: 12.01 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.004527/1.772, allocations: 0.7896 MB / 1.541 GB, free: 11.21 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009386/1.773, allocations: 195.4 kB / 1.541 GB, free: 11.02 MB / 1.154 GB Notification: Performance of SimCode: time 2.164e-06/1.773, allocations: 0 / 1.541 GB, free: 11.02 MB / 1.154 GB Notification: Performance of Templates: time 0.08118/1.854, allocations: 47.72 MB / 1.588 GB, free: 11.85 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)