Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 100.3 kB / 19.72 MB, free: 424 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002003/0.002003, allocations: 220.7 kB / 23.02 MB, free: 2.965 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.679/1.679, allocations: 230.6 MB / 256.8 MB, free: 9.625 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.392/3.392, allocations: 0.5045 GB / 0.8104 GB, free: 2.766 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003559/0.003559, allocations: 71.83 kB / 1.177 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9374/0.941, allocations: 180 MB / 1.353 GB, free: 1.594 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.4014/1.342, allocations: 293.3 MB / 1.639 GB, free: 11.29 MB / 1.323 GB Notification: Performance of NFInst.instExpressions: time 0.04632/1.389, allocations: 27.75 MB / 1.666 GB, free: 15.47 MB / 1.354 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004358/1.393, allocations: 146.8 kB / 1.667 GB, free: 15.32 MB / 1.354 GB Notification: Performance of NFTyping.typeComponents: time 0.00646/1.4, allocations: 2.008 MB / 1.668 GB, free: 13.3 MB / 1.354 GB Notification: Performance of NFTyping.typeBindings: time 0.01581/1.415, allocations: 5.206 MB / 1.674 GB, free: 8.078 MB / 1.354 GB Notification: Performance of NFTyping.typeClassSections: time 0.01049/1.426, allocations: 3.688 MB / 1.677 GB, free: 4.402 MB / 1.354 GB Notification: Performance of NFFlatten.flatten: time 0.01193/1.438, allocations: 6.945 MB / 1.684 GB, free: 13.43 MB / 1.37 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005044/1.443, allocations: 2.282 MB / 1.686 GB, free: 11.09 MB / 1.37 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01726/1.46, allocations: 5.7 MB / 1.692 GB, free: 5.398 MB / 1.37 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006073/1.466, allocations: 2.409 MB / 1.694 GB, free: 2.996 MB / 1.37 GB Notification: Performance of NFPackage.collectConstants: time 0.0009633/1.467, allocations: 296 kB / 1.694 GB, free: 2.707 MB / 1.37 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009365/1.476, allocations: 3.974 MB / 1.698 GB, free: 14.72 MB / 1.385 GB Notification: Performance of NFScalarize.scalarize: time 0.001851/1.478, allocations: 1.094 MB / 1.699 GB, free: 13.62 MB / 1.385 GB Notification: Performance of NFVerifyModel.verify: time 0.003181/1.482, allocations: 1.435 MB / 1.701 GB, free: 12.18 MB / 1.385 GB Notification: Performance of NFConvertDAE.convert: time 0.01171/1.493, allocations: 5.723 MB / 1.706 GB, free: 6.441 MB / 1.385 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.493, allocations: 4 kB / 1.706 GB, free: 6.438 MB / 1.385 GB Notification: Performance of FrontEnd: time 1.503e-06/1.493, allocations: 0 / 1.706 GB, free: 6.438 MB / 1.385 GB Notification: Performance of Transformations before backend: time 0.0001279/1.493, allocations: 0 / 1.706 GB, free: 6.438 MB / 1.385 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.009454/1.503, allocations: 3.725 MB / 1.71 GB, free: 2.637 MB / 1.385 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/1.503, allocations: 8.922 kB / 1.71 GB, free: 2.629 MB / 1.385 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009439/1.512, allocations: 1.204 MB / 1.711 GB, free: 1.422 MB / 1.385 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.7457/2.258, allocations: 2.049 MB / 1.713 GB, free: 359 MB / 1.385 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002593/2.258, allocations: 167.9 kB / 1.713 GB, free: 359 MB / 1.385 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008266/2.259, allocations: 221.6 kB / 1.714 GB, free: 358.9 MB / 1.385 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008341/2.267, allocations: 3.6 MB / 1.717 GB, free: 357 MB / 1.385 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.875e-05/2.267, allocations: 1.109 kB / 1.717 GB, free: 357 MB / 1.385 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003349/2.268, allocations: 92.64 kB / 1.717 GB, free: 356.9 MB / 1.385 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001866/2.268, allocations: 93.25 kB / 1.717 GB, free: 356.9 MB / 1.385 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008993/2.277, allocations: 3.09 MB / 1.72 GB, free: 355.9 MB / 1.385 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.02355/2.301, allocations: 8.357 MB / 1.728 GB, free: 352.2 MB / 1.385 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004095/2.305, allocations: 1.616 MB / 1.73 GB, free: 351.7 MB / 1.385 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001784/2.306, allocations: 0.7938 MB / 1.731 GB, free: 351.5 MB / 1.385 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005293/2.307, allocations: 91.38 kB / 1.731 GB, free: 351.5 MB / 1.385 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/2.307, allocations: 52.78 kB / 1.731 GB, free: 351.4 MB / 1.385 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002133/2.309, allocations: 375.7 kB / 1.731 GB, free: 351.3 MB / 1.385 GB Notification: Performance of pre-optimization done (n=110): time 3.987e-06/2.309, allocations: 0 / 1.731 GB, free: 351.3 MB / 1.385 GB Notification: Performance of matching and sorting (n=110): time 0.005633/2.315, allocations: 2.53 MB / 1.734 GB, free: 350.5 MB / 1.385 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/2.315, allocations: 61.44 kB / 1.734 GB, free: 350.4 MB / 1.385 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002901/2.318, allocations: 2.092 MB / 1.736 GB, free: 349.6 MB / 1.385 GB Notification: Performance of collectPreVariables (initialization): time 0.000252/2.318, allocations: 54.27 kB / 1.736 GB, free: 349.6 MB / 1.385 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006964/2.319, allocations: 1.335 MB / 1.737 GB, free: 348.6 MB / 1.385 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002382/2.319, allocations: 407.6 kB / 1.738 GB, free: 348.2 MB / 1.385 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006082/2.319, allocations: 413.9 kB / 1.738 GB, free: 348.1 MB / 1.385 GB Notification: Performance of setup shared object (initialization): time 4.15e-05/2.32, allocations: 309.1 kB / 1.738 GB, free: 347.8 MB / 1.385 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002096/2.322, allocations: 1.059 MB / 1.739 GB, free: 346.9 MB / 1.385 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002417/2.324, allocations: 2.491 MB / 1.742 GB, free: 343.9 MB / 1.385 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003818/2.328, allocations: 2.35 MB / 1.744 GB, free: 341.5 MB / 1.385 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/2.328, allocations: 4 kB / 1.744 GB, free: 341.5 MB / 1.385 GB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005664/2.334, allocations: 2.927 MB / 1.747 GB, free: 338.5 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 4.985e-05/2.334, allocations: 71.39 kB / 1.747 GB, free: 338.5 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/2.334, allocations: 12 kB / 1.747 GB, free: 338.4 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.238e-05/2.334, allocations: 20 kB / 1.747 GB, free: 338.4 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002792/2.336, allocations: 0.5718 MB / 1.748 GB, free: 337.9 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007699/2.337, allocations: 2.387 MB / 1.75 GB, free: 335.4 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/2.34, allocations: 268.1 kB / 1.75 GB, free: 335.1 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002073/2.34, allocations: 103.8 kB / 1.75 GB, free: 335 MB / 1.385 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002773/2.343, allocations: 1.495 MB / 1.752 GB, free: 333.5 MB / 1.385 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002423/2.346, allocations: 2.497 MB / 1.754 GB, free: 330.5 MB / 1.385 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003763/2.349, allocations: 2.326 MB / 1.756 GB, free: 328 MB / 1.385 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.304e-05/2.349, allocations: 4 kB / 1.756 GB, free: 328 MB / 1.385 GB Notification: Performance of matching and sorting (n=210) (initialization_lambda0): time 0.00569/2.355, allocations: 2.926 MB / 1.759 GB, free: 325.1 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/2.355, allocations: 71.39 kB / 1.759 GB, free: 325 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/2.355, allocations: 12 kB / 1.759 GB, free: 325 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/2.355, allocations: 23.94 kB / 1.759 GB, free: 324.9 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002361/2.357, allocations: 0.5229 MB / 1.76 GB, free: 324.4 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.273e-05/2.358, allocations: 35.86 kB / 1.76 GB, free: 324.4 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003073/2.361, allocations: 277.7 kB / 1.76 GB, free: 324.1 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001941/2.361, allocations: 103.9 kB / 1.76 GB, free: 324 MB / 1.385 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.0005857/2.361, allocations: 296 kB / 1.761 GB, free: 323.7 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006537/2.362, allocations: 234.5 kB / 1.761 GB, free: 323.5 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004237/2.366, allocations: 1.975 MB / 1.763 GB, free: 321.5 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/2.366, allocations: 12 kB / 1.763 GB, free: 321.5 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/2.366, allocations: 0 / 1.763 GB, free: 321.5 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/2.366, allocations: 3.984 kB / 1.763 GB, free: 321.5 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007803/2.374, allocations: 4.072 MB / 1.767 GB, free: 317.3 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.34e-05/2.374, allocations: 8 kB / 1.767 GB, free: 317.3 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/2.376, allocations: 305.1 kB / 1.767 GB, free: 317 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.881e-05/2.376, allocations: 8 kB / 1.767 GB, free: 317 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.663e-05/2.376, allocations: 35.97 kB / 1.767 GB, free: 317 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000674/2.377, allocations: 2.36 MB / 1.769 GB, free: 314.5 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.683e-06/2.377, allocations: 16.25 kB / 1.769 GB, free: 314.5 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003749/2.38, allocations: 2.013 MB / 1.771 GB, free: 312.4 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001272/2.382, allocations: 436.2 kB / 1.772 GB, free: 312 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006011/2.382, allocations: 24.98 kB / 1.772 GB, free: 312 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002419/2.385, allocations: 155.8 kB / 1.772 GB, free: 311.8 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001598/2.385, allocations: 88.69 kB / 1.772 GB, free: 311.7 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002004/2.385, allocations: 59.95 kB / 1.772 GB, free: 311.7 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.002525/2.388, allocations: 1.416 MB / 1.773 GB, free: 310.2 MB / 1.385 GB Notification: Performance of sort global known variables: time 1.01e-07/2.388, allocations: 0 / 1.773 GB, free: 310.2 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.004885/2.392, allocations: 1.384 MB / 1.775 GB, free: 308.8 MB / 1.385 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.0009143/2.393, allocations: 366.1 kB / 1.775 GB, free: 308.5 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.008418/2.402, allocations: 3.697 MB / 1.779 GB, free: 304.8 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/2.402, allocations: 4 kB / 1.779 GB, free: 304.8 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.001796/2.404, allocations: 0.8072 MB / 1.78 GB, free: 304 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004404/2.408, allocations: 0.7954 MB / 1.78 GB, free: 303.2 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007451/2.415, allocations: 4.354 MB / 1.785 GB, free: 298.7 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001247/2.417, allocations: 1.148 MB / 1.786 GB, free: 297.5 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.003332/2.42, allocations: 0.7507 MB / 1.786 GB, free: 296.8 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007311/2.421, allocations: 187.3 kB / 1.787 GB, free: 296.6 MB / 1.385 GB Notification: Performance of SimCode: time 1.012e-06/2.421, allocations: 0 / 1.787 GB, free: 296.6 MB / 1.385 GB Notification: Performance of Templates: time 0.05843/2.479, allocations: 46.31 MB / 1.832 GB, free: 251.2 MB / 1.385 GB " [Timeout remaining time 298] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.41025700327009]