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.001896/0.001896, allocations: 174.1 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7326/0.7326, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.715/1.715, allocations: 221.3 MB / 400.4 MB, free: 5.879 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 89.58 kB / 483.3 MB, free: 5.883 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.666e-05/4.668e-05, allocations: 8.109 kB / 0.56 GB, free: 87.92 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2286, allocations: 82.3 MB / 0.6404 GB, free: 7.832 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.877/6.106, allocations: 1.864 GB / 2.504 GB, free: 31.01 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/6.107, allocations: 93.62 kB / 2.504 GB, free: 30.96 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 11.84/17.95, allocations: 2.837 GB / 5.342 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.033e-06/17.95, allocations: 4 kB / 5.342 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 0.0003755/17.95, allocations: 63.98 kB / 5.342 GB, free: 6.574 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.01364/17.96, allocations: 3.5 MB / 5.345 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 5.399e-05/17.96, allocations: 12.03 kB / 5.345 GB, free: 2.98 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01055/17.97, allocations: 1.194 MB / 5.346 GB, free: 1.781 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.754/18.73, allocations: 2.561 MB / 5.349 GB, free: 63.93 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001433/18.73, allocations: 443.8 kB / 5.349 GB, free: 63.92 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009879/18.73, allocations: 223.8 kB / 5.35 GB, free: 63.92 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006397/18.73, allocations: 2.821 MB / 5.352 GB, free: 63.51 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.131e-05/18.73, allocations: 2.719 kB / 5.352 GB, free: 63.51 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000317/18.74, allocations: 92.7 kB / 5.352 GB, free: 63.51 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001432/18.74, allocations: 91.38 kB / 5.353 GB, free: 63.5 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005644/18.74, allocations: 2.648 MB / 5.355 GB, free: 63.47 MB / 0.8073 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.02582/18.77, allocations: 14.08 MB / 5.369 GB, free: 56.16 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/18.77, allocations: 1.416 MB / 5.37 GB, free: 56.12 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/18.77, allocations: 0.6428 MB / 5.371 GB, free: 56.11 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006062/18.77, allocations: 322.7 kB / 5.371 GB, free: 55.82 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.448e-05/18.77, allocations: 51.12 kB / 5.371 GB, free: 55.79 MB / 0.8073 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002253/18.77, allocations: 227 kB / 5.371 GB, free: 55.75 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=110): time 6.271e-06/18.77, allocations: 0 / 5.371 GB, free: 55.75 MB / 0.8073 GB Notification: Performance of matching and sorting (n=110): time 0.00333/18.78, allocations: 1.439 MB / 5.373 GB, free: 55.56 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/18.78, allocations: 63.19 kB / 5.373 GB, free: 55.5 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004247/18.78, allocations: 2.095 MB / 5.375 GB, free: 55.26 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003226/18.78, allocations: 57.83 kB / 5.375 GB, free: 55.23 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001428/18.78, allocations: 1.267 MB / 5.376 GB, free: 54.87 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004908/18.78, allocations: 394.2 kB / 5.377 GB, free: 54.68 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/18.78, allocations: 33.81 kB / 5.377 GB, free: 54.68 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001841/18.78, allocations: 373.7 kB / 5.377 GB, free: 54.38 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/18.79, allocations: 0.7133 MB / 5.378 GB, free: 54.37 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00191/18.79, allocations: 1.377 MB / 5.379 GB, free: 53.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001772/18.79, allocations: 0.9485 MB / 5.38 GB, free: 53.52 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-05/18.79, allocations: 3.031 kB / 5.38 GB, free: 53.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.004632/18.79, allocations: 2.314 MB / 5.382 GB, free: 53.29 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.00144/18.8, allocations: 5.777 MB / 5.388 GB, free: 47.19 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.077e-05/18.8, allocations: 22.05 kB / 5.388 GB, free: 47.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.957e-05/18.8, allocations: 24.03 kB / 5.388 GB, free: 47.18 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003051/18.8, allocations: 0.5567 MB / 5.389 GB, free: 47.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00112/18.8, allocations: 2.389 MB / 5.391 GB, free: 44.85 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005175/18.8, allocations: 472.4 kB / 5.391 GB, free: 44.83 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004047/18.81, allocations: 98.31 kB / 5.391 GB, free: 44.83 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/18.81, allocations: 3.875 kB / 5.391 GB, free: 44.83 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004072/18.81, allocations: 2.082 MB / 5.393 GB, free: 44.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.09e-05/18.81, allocations: 16.62 kB / 5.393 GB, free: 44.73 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.368e-05/18.81, allocations: 23.88 kB / 5.393 GB, free: 44.73 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/18.81, allocations: 0.5371 MB / 5.394 GB, free: 44.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.418e-05/18.81, allocations: 31.81 kB / 5.394 GB, free: 44.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004344/18.82, allocations: 397.2 kB / 5.394 GB, free: 44.71 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003068/18.82, allocations: 94.72 kB / 5.394 GB, free: 44.71 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 () * 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.0008234/18.82, allocations: 217.1 kB / 5.395 GB, free: 44.61 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001009/18.82, allocations: 259.5 kB / 5.395 GB, free: 44.48 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003794/18.82, allocations: 1.577 MB / 5.396 GB, free: 44.38 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.48e-05/18.82, allocations: 9 kB / 5.396 GB, free: 44.38 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/18.82, allocations: 3.953 kB / 5.396 GB, free: 44.37 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.545e-05/18.82, allocations: 7.312 kB / 5.397 GB, free: 44.37 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01031/18.83, allocations: 4.192 MB / 5.401 GB, free: 43.83 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.792e-05/18.83, allocations: 7.969 kB / 5.401 GB, free: 43.83 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001697/18.83, allocations: 311.7 kB / 5.401 GB, free: 43.83 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.8e-05/18.83, allocations: 9.531 kB / 5.401 GB, free: 43.83 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/18.83, allocations: 36.09 kB / 5.401 GB, free: 43.83 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009362/18.84, allocations: 2.366 MB / 5.403 GB, free: 41.49 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.225e-06/18.84, allocations: 10 kB / 5.403 GB, free: 41.49 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003557/18.84, allocations: 2.203 MB / 5.405 GB, free: 40.3 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002191/18.84, allocations: 0.5459 MB / 5.406 GB, free: 40.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001025/18.84, allocations: 24.83 kB / 5.406 GB, free: 40.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003841/18.85, allocations: 283.6 kB / 5.406 GB, free: 40.07 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002175/18.85, allocations: 81.2 kB / 5.406 GB, free: 40.06 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002675/18.85, allocations: 67.55 kB / 5.406 GB, free: 40.06 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.004676/18.85, allocations: 1.591 MB / 5.408 GB, free: 39.9 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.81e-07/18.85, allocations: 0.6875 kB / 5.408 GB, free: 39.9 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.01144/18.86, allocations: 1.93 MB / 5.41 GB, free: 39.84 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 () * 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.01445/18.88, allocations: 7.633 MB / 5.417 GB, free: 35.62 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.008197/18.89, allocations: 3.04 MB / 5.42 GB, free: 35.34 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.898e-05/18.89, allocations: 0 / 5.42 GB, free: 35.34 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001471/18.89, allocations: 0.6636 MB / 5.421 GB, free: 35.33 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007865/18.9, allocations: 1.197 MB / 5.422 GB, free: 35.3 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009531/18.9, allocations: 3.221 MB / 5.425 GB, free: 34.3 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002515/18.91, allocations: 1.754 MB / 5.427 GB, free: 33.55 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.007368/18.91, allocations: 0.9684 MB / 5.428 GB, free: 33.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008661/18.92, allocations: 153.3 kB / 5.428 GB, free: 33.52 MB / 0.8073 GB Notification: Performance of SimCode: time 3.276e-06/18.92, allocations: 0 / 5.428 GB, free: 33.52 MB / 0.8073 GB Notification: Performance of Templates: time 0.1949/19.11, allocations: 129 MB / 5.554 GB, free: 26.64 MB / 0.8073 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)