Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json 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/IDEAS 3.0.0-master/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00741/0.007411, allocations: 171.8 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7625/0.7625, allocations: 135.2 MB / 151.1 MB, free: 13.82 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.2 MB / 406.9 MB, free: 3.219 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.0009644/0.0009645, allocations: 105.2 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000368/0.000368, allocations: 11.98 kB / 0.5691 GB, free: 14.18 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5284/0.5287, allocations: 82.31 MB / 0.6495 GB, free: 36.15 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.888/5.417, allocations: 1.864 GB / 2.514 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003395/5.417, allocations: 99.94 kB / 2.514 GB, free: 111.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.82/15.24, allocations: 2.84 GB / 5.353 GB, free: 40.4 MB / 0.7917 GB Notification: Performance of FrontEnd: time 2.434e-06/15.24, allocations: 0 / 5.353 GB, free: 40.4 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 0.0002231/15.24, allocations: 65.58 kB / 5.353 GB, free: 40.39 MB / 0.7917 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.01343/15.25, allocations: 3.91 MB / 5.357 GB, free: 37.22 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/15.25, allocations: 12.03 kB / 5.357 GB, free: 37.21 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01012/15.26, allocations: 1.194 MB / 5.358 GB, free: 36.01 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008224/15.27, allocations: 2.6 MB / 5.361 GB, free: 33.34 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001275/15.27, allocations: 436.2 kB / 5.361 GB, free: 32.91 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009778/15.27, allocations: 220 kB / 5.361 GB, free: 32.69 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006076/15.28, allocations: 3.13 MB / 5.364 GB, free: 29.4 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.362e-05/15.28, allocations: 3.938 kB / 5.364 GB, free: 29.39 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/15.28, allocations: 91.98 kB / 5.365 GB, free: 29.3 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.363e-05/15.28, allocations: 92 kB / 5.365 GB, free: 29.21 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006251/15.28, allocations: 3.228 MB / 5.368 GB, free: 25.96 MB / 0.7917 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.02231/15.31, allocations: 14.08 MB / 5.382 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003492/15.31, allocations: 1.719 MB / 5.383 GB, free: 9.086 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005226/15.31, allocations: 325.2 kB / 5.383 GB, free: 8.715 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.658e-05/15.31, allocations: 51.56 kB / 5.384 GB, free: 8.656 MB / 0.7917 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002078/15.31, allocations: 210.4 kB / 5.384 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=110): time 6.191e-06/15.31, allocations: 0 / 5.384 GB, free: 8.449 MB / 0.7917 GB Notification: Performance of matching and sorting (n=110): time 0.005323/15.32, allocations: 2.395 MB / 5.386 GB, free: 6.043 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.733e-05/15.32, allocations: 64.41 kB / 5.386 GB, free: 5.969 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003714/15.32, allocations: 2.25 MB / 5.388 GB, free: 3.707 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0003525/15.32, allocations: 53.7 kB / 5.388 GB, free: 3.648 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008029/15.32, allocations: 1.27 MB / 5.39 GB, free: 2.363 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003029/15.32, allocations: 394.4 kB / 5.39 GB, free: 1.973 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001092/15.32, allocations: 36 kB / 5.39 GB, free: 1.938 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001024/15.32, allocations: 373.9 kB / 5.39 GB, free: 1.566 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002209/15.33, allocations: 0.9954 MB / 5.391 GB, free: 0.5703 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002875/15.33, allocations: 1.66 MB / 5.393 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002679/15.33, allocations: 1.223 MB / 5.394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.848e-06/15.33, allocations: 4 kB / 5.394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006956/15.34, allocations: 2.879 MB / 5.397 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.002309/15.34, allocations: 5.774 MB / 5.403 GB, free: 4.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/15.34, allocations: 16 kB / 5.403 GB, free: 4.164 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.844e-05/15.34, allocations: 27.94 kB / 5.403 GB, free: 4.141 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00312/15.34, allocations: 0.5695 MB / 5.403 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/15.35, allocations: 2.383 MB / 5.406 GB, free: 1.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004952/15.35, allocations: 475.1 kB / 5.406 GB, free: 0.6289 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004789/15.35, allocations: 95.95 kB / 5.406 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/15.35, allocations: 4 kB / 5.406 GB, free: 0.5312 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007847/15.36, allocations: 2.634 MB / 5.409 GB, free: 13.88 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.873e-05/15.36, allocations: 19.95 kB / 5.409 GB, free: 13.86 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/15.36, allocations: 24 kB / 5.409 GB, free: 13.84 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002582/15.36, allocations: 0.5387 MB / 5.409 GB, free: 13.3 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.927e-05/15.36, allocations: 27.94 kB / 5.409 GB, free: 13.27 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003835/15.37, allocations: 403 kB / 5.41 GB, free: 12.88 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002219/15.37, allocations: 99.89 kB / 5.41 GB, free: 12.78 MB / 0.823 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.001916/15.37, allocations: 0.6291 MB / 5.41 GB, free: 12.14 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008649/15.37, allocations: 260.8 kB / 5.411 GB, free: 11.88 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004542/15.37, allocations: 1.882 MB / 5.412 GB, free: 9.988 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-05/15.37, allocations: 8 kB / 5.412 GB, free: 9.98 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/15.37, allocations: 7.938 kB / 5.412 GB, free: 9.973 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.063e-05/15.37, allocations: 3.984 kB / 5.412 GB, free: 9.969 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009215/15.38, allocations: 4.489 MB / 5.417 GB, free: 5.34 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/15.38, allocations: 8 kB / 5.417 GB, free: 5.332 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001753/15.38, allocations: 320.3 kB / 5.417 GB, free: 5.02 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.941e-05/15.38, allocations: 8 kB / 5.417 GB, free: 5.012 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.293e-05/15.38, allocations: 31.98 kB / 5.417 GB, free: 4.98 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001096/15.39, allocations: 2.372 MB / 5.42 GB, free: 2.516 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.614e-06/15.39, allocations: 11.94 kB / 5.42 GB, free: 2.504 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.687/16.07, allocations: 2.478 MB / 5.422 GB, free: 80.04 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002557/16.07, allocations: 0.5407 MB / 5.422 GB, free: 79.95 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006594/16.08, allocations: 27.47 kB / 5.423 GB, free: 79.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003091/16.08, allocations: 289.4 kB / 5.423 GB, free: 79.95 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002066/16.08, allocations: 78.52 kB / 5.423 GB, free: 79.95 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002014/16.08, allocations: 66.3 kB / 5.423 GB, free: 79.95 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.004267/16.08, allocations: 1.744 MB / 5.425 GB, free: 79.8 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.21e-07/16.08, allocations: 0 / 5.425 GB, free: 79.8 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.00938/16.09, allocations: 1.934 MB / 5.427 GB, free: 79.8 MB / 0.823 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.01359/16.11, allocations: 7.63 MB / 5.434 GB, free: 75.66 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.009845/16.12, allocations: 3.67 MB / 5.438 GB, free: 75.41 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.542e-05/16.12, allocations: 5.453 kB / 5.438 GB, free: 75.41 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002029/16.12, allocations: 0.8162 MB / 5.438 GB, free: 75.41 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006999/16.13, allocations: 1.187 MB / 5.44 GB, free: 75.38 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009679/16.13, allocations: 5.011 MB / 5.444 GB, free: 73.09 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/16.14, allocations: 1.745 MB / 5.446 GB, free: 72.34 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.004448/16.14, allocations: 0.7892 MB / 5.447 GB, free: 72.31 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000669/16.14, allocations: 197.5 kB / 5.447 GB, free: 72.3 MB / 0.823 GB Notification: Performance of SimCode: time 1.242e-06/16.14, allocations: 0 / 5.447 GB, free: 72.3 MB / 0.823 GB Notification: Performance of Templates: time 0.164/16.31, allocations: 110.8 MB / 5.555 GB, free: 66.73 MB / 0.823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)