Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8705/0.8705, allocations: 143.4 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 184.5 kB / 191.5 MB, free: 5.746 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.777/1.777, allocations: 223.2 MB / 447.7 MB, free: 6.539 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009198/0.0009197, allocations: 92.28 kB / 0.5188 GB, free: 2.895 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001842/0.001842, allocations: 286.6 kB / 0.6005 GB, free: 48.94 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004837/0.0004843, allocations: 20 kB / 0.6929 GB, free: 2.281 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4661, allocations: 82.78 MB / 0.7737 GB, free: 26.18 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.596/5.063, allocations: 1.861 GB / 2.635 GB, free: 121.7 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/5.063, allocations: 107.5 kB / 2.635 GB, free: 121.6 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 10.13/15.19, allocations: 2.84 GB / 5.475 GB, free: 46.37 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.865e-06/15.19, allocations: 0 / 5.475 GB, free: 46.37 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0003215/15.19, allocations: 76.58 kB / 5.475 GB, free: 46.36 MB / 0.8073 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.01603/15.21, allocations: 3.91 MB / 5.479 GB, free: 44.4 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/15.21, allocations: 8.75 kB / 5.479 GB, free: 44.4 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01097/15.22, allocations: 1.201 MB / 5.48 GB, free: 44.24 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008903/15.23, allocations: 2.592 MB / 5.483 GB, free: 43.64 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001342/15.23, allocations: 431 kB / 5.483 GB, free: 43.64 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001009/15.23, allocations: 226.5 kB / 5.483 GB, free: 43.64 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006446/15.23, allocations: 3.125 MB / 5.486 GB, free: 43.21 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.517e-05/15.23, allocations: 5.969 kB / 5.486 GB, free: 43.21 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002857/15.24, allocations: 93.33 kB / 5.486 GB, free: 43.21 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/15.24, allocations: 88.98 kB / 5.487 GB, free: 43.2 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006819/15.24, allocations: 3.23 MB / 5.49 GB, free: 43.15 MB / 0.8073 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.02351/15.27, allocations: 14.07 MB / 5.503 GB, free: 35.53 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003761/15.27, allocations: 1.722 MB / 5.505 GB, free: 35.47 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005846/15.27, allocations: 323.4 kB / 5.505 GB, free: 35.19 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.651e-05/15.27, allocations: 51.28 kB / 5.505 GB, free: 35.15 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00226/15.27, allocations: 213 kB / 5.506 GB, free: 35.07 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=110): time 6.082e-06/15.27, allocations: 0 / 5.506 GB, free: 35.07 MB / 0.8073 GB Notification: Performance of matching and sorting (n=110): time 0.006019/15.28, allocations: 2.398 MB / 5.508 GB, free: 34.88 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/15.28, allocations: 70.53 kB / 5.508 GB, free: 34.81 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004306/15.28, allocations: 2.24 MB / 5.51 GB, free: 34.58 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0004278/15.28, allocations: 60.27 kB / 5.51 GB, free: 34.55 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/15.28, allocations: 1.271 MB / 5.512 GB, free: 34.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003672/15.28, allocations: 389.7 kB / 5.512 GB, free: 33.85 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000114/15.28, allocations: 34.59 kB / 5.512 GB, free: 33.85 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001431/15.28, allocations: 369.2 kB / 5.512 GB, free: 33.54 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002438/15.29, allocations: 0.9966 MB / 5.513 GB, free: 33.54 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00309/15.29, allocations: 1.669 MB / 5.515 GB, free: 32.76 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002607/15.29, allocations: 1.215 MB / 5.516 GB, free: 32.66 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/15.29, allocations: 6.75 kB / 5.516 GB, free: 32.66 MB / 0.8073 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006689/15.3, allocations: 2.88 MB / 5.519 GB, free: 32.32 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.001364/15.3, allocations: 5.781 MB / 5.525 GB, free: 26.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.629e-05/15.3, allocations: 13.47 kB / 5.525 GB, free: 26.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.555e-05/15.3, allocations: 26.66 kB / 5.525 GB, free: 26.2 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/15.3, allocations: 0.5642 MB / 5.525 GB, free: 26.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001107/15.31, allocations: 2.399 MB / 5.528 GB, free: 23.79 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004491/15.31, allocations: 462.7 kB / 5.528 GB, free: 23.73 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002585/15.31, allocations: 95.67 kB / 5.528 GB, free: 23.73 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/15.31, allocations: 15.3 kB / 5.528 GB, free: 23.72 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005777/15.32, allocations: 2.638 MB / 5.531 GB, free: 23.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.569e-05/15.32, allocations: 13.91 kB / 5.531 GB, free: 23.48 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.211e-05/15.32, allocations: 30.12 kB / 5.531 GB, free: 23.48 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002401/15.32, allocations: 0.5352 MB / 5.531 GB, free: 23.44 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.364e-05/15.32, allocations: 31.25 kB / 5.531 GB, free: 23.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004047/15.32, allocations: 402.1 kB / 5.532 GB, free: 23.38 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/15.32, allocations: 86.86 kB / 5.532 GB, free: 23.38 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 4 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (214): * Single equations (assignments): 208 * Array equations: 0 * Algorithm blocks: 2 * 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.001957/15.32, allocations: 0.6345 MB / 5.532 GB, free: 23.15 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000883/15.33, allocations: 260.7 kB / 5.533 GB, free: 23.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004536/15.33, allocations: 1.866 MB / 5.534 GB, free: 22.87 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/15.33, allocations: 10.19 kB / 5.534 GB, free: 22.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/15.33, allocations: 0 / 5.534 GB, free: 22.87 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/15.33, allocations: 11.41 kB / 5.534 GB, free: 22.87 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009362/15.34, allocations: 4.497 MB / 5.539 GB, free: 22.22 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/15.34, allocations: 7.75 kB / 5.539 GB, free: 22.22 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001653/15.34, allocations: 312 kB / 5.539 GB, free: 22.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.349e-05/15.34, allocations: 23.12 kB / 5.539 GB, free: 22.2 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.777e-05/15.34, allocations: 34.41 kB / 5.539 GB, free: 22.2 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008989/15.34, allocations: 2.363 MB / 5.541 GB, free: 19.84 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.063e-06/15.34, allocations: 11.53 kB / 5.541 GB, free: 19.84 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004415/15.35, allocations: 2.502 MB / 5.544 GB, free: 18.59 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002188/15.35, allocations: 0.5408 MB / 5.544 GB, free: 18.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006184/15.35, allocations: 25.62 kB / 5.544 GB, free: 18.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002889/15.35, allocations: 288.7 kB / 5.545 GB, free: 18.32 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000139/15.35, allocations: 83.69 kB / 5.545 GB, free: 18.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/15.35, allocations: 58.8 kB / 5.545 GB, free: 18.31 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.003251/15.36, allocations: 1.749 MB / 5.547 GB, free: 18.02 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.81e-07/15.36, allocations: 0 / 5.547 GB, free: 18.02 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.007995/15.36, allocations: 1.931 MB / 5.549 GB, free: 17.48 MB / 0.8073 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 (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.01236/15.38, allocations: 7.645 MB / 5.556 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.009543/15.39, allocations: 3.673 MB / 5.56 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.382e-05/15.39, allocations: 0.5625 kB / 5.56 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00185/15.39, allocations: 0.8167 MB / 5.56 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006622/15.39, allocations: 1.19 MB / 5.562 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0088/15.4, allocations: 4.998 MB / 5.566 GB, free: 6.004 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001087/15.4, allocations: 1.742 MB / 5.568 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.004288/15.41, allocations: 0.7938 MB / 5.569 GB, free: 4.023 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006095/15.41, allocations: 198 kB / 5.569 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of SimCode: time 1.142e-06/15.41, allocations: 0 / 5.569 GB, free: 3.848 MB / 0.8073 GB Notification: Performance of Templates: time 0.8245/16.23, allocations: 110.8 MB / 5.677 GB, free: 74.7 MB / 0.8386 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)