Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7659/0.7659, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001352/0.001352, allocations: 184.9 kB / 169.7 MB, free: 1.73 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.989/1.989, allocations: 205.1 MB / 404.5 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009703/0.0009704, allocations: 82.47 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.463e-05/3.485e-05, allocations: 4 kB / 0.5532 GB, free: 54.84 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1845/0.1845, allocations: 76.76 MB / 0.6282 GB, free: 10.03 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.514/5.698, allocations: 2.172 GB / 2.8 GB, free: 155.8 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/5.699, allocations: 99.38 kB / 2.8 GB, free: 155.7 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 11.33/17.03, allocations: 2.788 GB / 5.588 GB, free: 33.23 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.094e-06/17.03, allocations: 0 / 5.588 GB, free: 33.23 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002222/17.03, allocations: 74.17 kB / 5.588 GB, free: 33.22 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 570 * Number of variables: 570 Notification: Performance of Generate backend data structure: time 0.01166/17.04, allocations: 3.665 MB / 5.592 GB, free: 30.96 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/17.04, allocations: 10.28 kB / 5.592 GB, free: 30.96 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009624/17.05, allocations: 1.192 MB / 5.593 GB, free: 30.43 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006085/17.06, allocations: 2.291 MB / 5.595 GB, free: 28.4 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001252/17.06, allocations: 440.1 kB / 5.596 GB, free: 27.97 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008005/17.06, allocations: 235.9 kB / 5.596 GB, free: 27.74 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006334/17.07, allocations: 3.141 MB / 5.599 GB, free: 24.43 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.247e-05/17.07, allocations: 3.938 kB / 5.599 GB, free: 24.43 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002893/17.07, allocations: 103.2 kB / 5.599 GB, free: 24.33 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.067e-05/17.07, allocations: 96.22 kB / 5.599 GB, free: 24.23 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005227/17.07, allocations: 2.945 MB / 5.602 GB, free: 21.27 MB / 0.7605 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.02182/17.1, allocations: 14.53 MB / 5.616 GB, free: 5.641 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/17.1, allocations: 1.54 MB / 5.618 GB, free: 4.098 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000805/17.1, allocations: 0.6446 MB / 5.618 GB, free: 3.457 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002998/17.1, allocations: 150 kB / 5.618 GB, free: 3.293 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/17.1, allocations: 51.78 kB / 5.619 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001926/17.1, allocations: 230.1 kB / 5.619 GB, free: 3.008 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=108): time 3.757e-06/17.1, allocations: 0 / 5.619 GB, free: 3.008 MB / 0.7605 GB Notification: Performance of matching and sorting (n=108): time 0.004384/17.11, allocations: 1.748 MB / 5.62 GB, free: 1.246 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/17.11, allocations: 64.39 kB / 5.62 GB, free: 1.172 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003391/17.11, allocations: 2.186 MB / 5.623 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003958/17.11, allocations: 57.7 kB / 5.623 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/17.11, allocations: 1.33 MB / 5.624 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004023/17.11, allocations: 386.6 kB / 5.624 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001391/17.11, allocations: 40 kB / 5.624 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001828/17.11, allocations: 377.9 kB / 5.625 GB, free: 12.77 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/17.11, allocations: 0.7927 MB / 5.626 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001964/17.12, allocations: 1.397 MB / 5.627 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/17.12, allocations: 1.122 MB / 5.628 GB, free: 9.152 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.059e-05/17.12, allocations: 7.938 kB / 5.628 GB, free: 9.145 MB / 0.7761 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.005018/17.12, allocations: 2.671 MB / 5.631 GB, free: 6.43 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.6796/17.8, allocations: 6.615 MB / 5.637 GB, free: 60.54 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000108/17.8, allocations: 15.61 kB / 5.637 GB, free: 60.54 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001135/17.8, allocations: 28.88 kB / 5.637 GB, free: 60.54 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008351/17.81, allocations: 1.182 MB / 5.638 GB, free: 60.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003246/17.81, allocations: 2.719 MB / 5.641 GB, free: 58.21 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005566/17.82, allocations: 0.5027 MB / 5.641 GB, free: 58.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006739/17.82, allocations: 100.8 kB / 5.641 GB, free: 58.21 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/17.82, allocations: 5.031 kB / 5.642 GB, free: 58.21 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00439/17.82, allocations: 2.419 MB / 5.644 GB, free: 58.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.849e-05/17.82, allocations: 15.31 kB / 5.644 GB, free: 58.02 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.67e-05/17.82, allocations: 26.44 kB / 5.644 GB, free: 58.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/17.83, allocations: 0.5606 MB / 5.644 GB, free: 58.02 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.311e-05/17.83, allocations: 30.69 kB / 5.644 GB, free: 58.02 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003985/17.83, allocations: 408.8 kB / 5.645 GB, free: 58.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002428/17.83, allocations: 99.5 kB / 5.645 GB, free: 58.02 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * 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 (230): * Single equations (assignments): 220 * 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: 0 * 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: Performance of prepare postOptimizeDAE: time 0.0009264/17.83, allocations: 229.5 kB / 5.645 GB, free: 57.91 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008942/17.83, allocations: 266.1 kB / 5.645 GB, free: 57.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003979/17.84, allocations: 1.637 MB / 5.647 GB, free: 57.83 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.307e-05/17.84, allocations: 15.2 kB / 5.647 GB, free: 57.83 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/17.84, allocations: 1.562 kB / 5.647 GB, free: 57.83 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.491e-05/17.84, allocations: 4.484 kB / 5.647 GB, free: 57.83 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/17.85, allocations: 4.269 MB / 5.651 GB, free: 57.35 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/17.85, allocations: 8.359 kB / 5.651 GB, free: 57.35 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005906/17.85, allocations: 0.9639 MB / 5.652 GB, free: 57.35 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.177e-05/17.85, allocations: 10.89 kB / 5.652 GB, free: 57.35 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/17.85, allocations: 31.5 kB / 5.652 GB, free: 57.35 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01001/17.86, allocations: 6.331 MB / 5.658 GB, free: 52.1 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.808e-06/17.86, allocations: 13.97 kB / 5.658 GB, free: 52.1 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004092/17.87, allocations: 2.1 MB / 5.66 GB, free: 51.18 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/17.87, allocations: 0.5759 MB / 5.661 GB, free: 50.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/17.87, allocations: 25.11 kB / 5.661 GB, free: 50.95 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002915/17.87, allocations: 316.7 kB / 5.661 GB, free: 50.95 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002733/17.87, allocations: 85.98 kB / 5.661 GB, free: 50.94 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001946/17.87, allocations: 71.2 kB / 5.662 GB, free: 50.94 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003169/17.88, allocations: 1.661 MB / 5.663 GB, free: 50.78 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.5e-07/17.88, allocations: 0.8125 kB / 5.663 GB, free: 50.78 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.007355/17.88, allocations: 2.029 MB / 5.665 GB, free: 50.72 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (108): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * 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: Performance of Backend phase and start with SimCode phase: time 0.01119/17.9, allocations: 7.766 MB / 5.673 GB, free: 46.51 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01013/17.91, allocations: 4.239 MB / 5.677 GB, free: 45.73 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.374e-05/17.91, allocations: 4.625 kB / 5.677 GB, free: 45.73 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.004796/17.91, allocations: 1.295 MB / 5.678 GB, free: 45.72 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006995/17.92, allocations: 1.276 MB / 5.679 GB, free: 45.68 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006402/17.92, allocations: 3.24 MB / 5.683 GB, free: 44.71 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/17.93, allocations: 1.777 MB / 5.684 GB, free: 43.96 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.005417/17.93, allocations: 1.01 MB / 5.685 GB, free: 43.93 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005218/17.93, allocations: 155.2 kB / 5.685 GB, free: 43.93 MB / 0.7761 GB Notification: Performance of SimCode: time 1.122e-06/17.93, allocations: 3.5 kB / 5.685 GB, free: 43.93 MB / 0.7761 GB Notification: Performance of Templates: time 0.1888/18.12, allocations: 134.4 MB / 5.817 GB, free: 35.77 MB / 0.7761 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)