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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.6199/0.6199, allocations: 94.78 MB / 102.2 MB, free: 10.16 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001145/0.001145, allocations: 184.3 kB / 125.6 MB, free: 11.9 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.791/1.791, allocations: 170.6 MB / 319.4 MB, free: 9.316 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001764/0.001764, allocations: 116.3 kB / 381.3 MB, free: 18.33 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.898e-05, allocations: 4 kB / 449.1 MB, free: 1.766 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2484, allocations: 61.52 MB / 0.4987 GB, free: 4.148 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.35/13.6, allocations: 4.5 GB / 4.998 GB, free: 40.58 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/13.6, allocations: 88.39 kB / 4.998 GB, free: 40.54 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 12.23/25.83, allocations: 2.679 GB / 7.677 GB, free: 28.32 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.755e-06/25.83, allocations: 0 / 7.677 GB, free: 28.32 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0005903/25.83, allocations: 78.2 kB / 7.677 GB, free: 28.31 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.03248/25.87, allocations: 6.099 MB / 7.683 GB, free: 24.92 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.909e-05/25.87, allocations: 9.797 kB / 7.683 GB, free: 24.92 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004325/25.87, allocations: 369.6 kB / 7.683 GB, free: 24.75 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01313/25.88, allocations: 2.935 MB / 7.686 GB, free: 24.13 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00055/25.89, allocations: 271 kB / 7.687 GB, free: 23.94 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001592/25.89, allocations: 142.2 kB / 7.687 GB, free: 23.94 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008086/25.9, allocations: 2.814 MB / 7.689 GB, free: 23.92 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008696/25.9, allocations: 2.562 MB / 7.692 GB, free: 23.55 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.309e-05/25.9, allocations: 3.781 kB / 7.692 GB, free: 23.55 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008517/25.9, allocations: 3.812 kB / 7.692 GB, free: 23.55 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001445/25.91, allocations: 103.4 kB / 7.692 GB, free: 23.54 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or 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.02712/25.93, allocations: 11.63 MB / 7.703 GB, free: 17.02 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003339/25.94, allocations: 1.697 MB / 7.705 GB, free: 16.36 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/25.94, allocations: 0.739 MB / 7.706 GB, free: 16.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004329/25.94, allocations: 4.363 MB / 7.71 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.034e-05/25.94, allocations: 55.84 kB / 7.71 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002408/25.94, allocations: 335.3 kB / 7.71 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=148): time 1.056e-05/25.94, allocations: 0 / 7.71 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of matching and sorting (n=148): time 0.006821/25.95, allocations: 2.018 MB / 7.712 GB, free: 10.66 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/25.95, allocations: 117.8 kB / 7.712 GB, free: 10.53 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003552/25.95, allocations: 1.515 MB / 7.714 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003767/25.95, allocations: 34.05 kB / 7.714 GB, free: 9.852 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.001207/25.96, allocations: 1.348 MB / 7.715 GB, free: 8.789 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004321/25.96, allocations: 0.4956 MB / 7.716 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002162/25.96, allocations: 3.906 kB / 7.716 GB, free: 8.398 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001642/25.96, allocations: 398.9 kB / 7.716 GB, free: 8.055 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001214/25.96, allocations: 0.7416 MB / 7.717 GB, free: 7.773 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00177/25.96, allocations: 1.598 MB / 7.718 GB, free: 6.352 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004007/25.96, allocations: 1.45 MB / 7.72 GB, free: 5.621 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.222e-05/25.96, allocations: 12 kB / 7.72 GB, free: 5.609 MB / 0.6511 GB Notification: Performance of matching and sorting (n=298) (initialization): time 0.00695/25.97, allocations: 3.01 MB / 7.723 GB, free: 3.012 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.004981/25.98, allocations: 10.43 MB / 7.733 GB, free: 7.754 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.887e-05/25.98, allocations: 24 kB / 7.733 GB, free: 7.73 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002438/25.98, allocations: 305.9 kB / 7.733 GB, free: 7.492 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00374/25.98, allocations: 0.6377 MB / 7.734 GB, free: 6.977 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003223/25.99, allocations: 3.251 MB / 7.737 GB, free: 3.711 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003895/25.99, allocations: 157.4 kB / 7.737 GB, free: 3.59 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008477/25.99, allocations: 147 kB / 7.737 GB, free: 3.461 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/25.99, allocations: 4 kB / 7.737 GB, free: 3.457 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008387/26, allocations: 2.693 MB / 7.74 GB, free: 1.156 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.364e-05/26, allocations: 26.41 kB / 7.74 GB, free: 1.133 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002332/26, allocations: 302.3 kB / 7.74 GB, free: 0.8984 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/26, allocations: 0.5312 MB / 7.741 GB, free: 456 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.811/26.81, allocations: 0.8167 MB / 7.742 GB, free: 52.18 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004022/26.82, allocations: 147.2 kB / 7.742 GB, free: 52.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007683/26.82, allocations: 140.6 kB / 7.742 GB, free: 52.18 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 113 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (289): * Single equations (assignments): 278 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0009658/26.82, allocations: 193.6 kB / 7.742 GB, free: 52.07 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009919/26.82, allocations: 233 kB / 7.742 GB, free: 52.07 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007846/26.83, allocations: 2.693 MB / 7.745 GB, free: 51.96 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-05/26.83, allocations: 19 kB / 7.745 GB, free: 51.96 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.381e-05/26.83, allocations: 1.062 kB / 7.745 GB, free: 51.96 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-05/26.83, allocations: 16.5 kB / 7.745 GB, free: 51.96 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01261/26.84, allocations: 4.364 MB / 7.749 GB, free: 51.57 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-05/26.84, allocations: 2.094 kB / 7.749 GB, free: 51.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002117/26.84, allocations: 408.1 kB / 7.75 GB, free: 51.57 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002233/26.85, allocations: 271.2 kB / 7.75 GB, free: 51.56 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001492/26.85, allocations: 27.86 kB / 7.75 GB, free: 51.56 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002308/26.85, allocations: 3.177 MB / 7.753 GB, free: 48.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.181e-05/26.85, allocations: 2.781 kB / 7.753 GB, free: 48.71 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006889/26.86, allocations: 2.539 MB / 7.756 GB, free: 48.18 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001859/26.86, allocations: 0.5278 MB / 7.756 GB, free: 47.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004636/26.86, allocations: 4 kB / 7.756 GB, free: 47.96 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001917/26.86, allocations: 151.5 kB / 7.756 GB, free: 47.96 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002259/26.86, allocations: 112.1 kB / 7.756 GB, free: 47.95 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002283/26.86, allocations: 98.19 kB / 7.756 GB, free: 47.95 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.002215/26.86, allocations: 1.094 MB / 7.757 GB, free: 47.81 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.91e-07/26.86, allocations: 0 / 7.757 GB, free: 47.81 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.01463/26.88, allocations: 2.669 MB / 7.76 GB, free: 47.73 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (165): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01861/26.9, allocations: 5.701 MB / 7.766 GB, free: 46.52 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.009699/26.91, allocations: 4.085 MB / 7.77 GB, free: 45.72 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.971e-05/26.91, allocations: 8 kB / 7.77 GB, free: 45.72 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.002732/26.91, allocations: 1.001 MB / 7.771 GB, free: 45.71 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006174/26.91, allocations: 0.873 MB / 7.771 GB, free: 45.68 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/26.93, allocations: 3.457 MB / 7.775 GB, free: 44.77 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002655/26.93, allocations: 1.837 MB / 7.777 GB, free: 44.02 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.006686/26.94, allocations: 0.9109 MB / 7.778 GB, free: 43.97 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006145/26.94, allocations: 187 kB / 7.778 GB, free: 43.97 MB / 0.6667 GB Notification: Performance of SimCode: time 1.993e-06/26.94, allocations: 0.8125 kB / 7.778 GB, free: 43.97 MB / 0.6667 GB Notification: Performance of Templates: time 0.1697/27.11, allocations: 78.33 MB / 7.854 GB, free: 39.09 MB / 0.6667 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)