Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.conf.json 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/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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009555/0.0009556, allocations: 99.7 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009832/0.0009833, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.214/1.214, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8373/0.8373, allocations: 135.2 MB / 426.2 MB, free: 14.29 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002925/0.0002926, allocations: 9.156 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1414, allocations: 82.31 MB / 0.5872 GB, free: 3.141 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.4928/0.6343, allocations: 265.3 MB / 0.8463 GB, free: 3 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3511/0.9854, allocations: 27.09 MB / 0.8727 GB, free: 9.629 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002434/0.9879, allocations: 77.78 kB / 0.8728 GB, free: 9.629 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003864/0.9918, allocations: 1.672 MB / 0.8745 GB, free: 9.621 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01066/1.002, allocations: 4.679 MB / 0.879 GB, free: 9.566 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006367/1.009, allocations: 2.609 MB / 0.8816 GB, free: 9.523 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006278/1.015, allocations: 3.916 MB / 0.8854 GB, free: 9.512 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003197/1.018, allocations: 2.248 MB / 0.8876 GB, free: 25.24 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008581/1.027, allocations: 3.463 MB / 0.891 GB, free: 25.23 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002877/1.03, allocations: 1.589 MB / 0.8925 GB, free: 25.22 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003973/1.03, allocations: 130.3 kB / 0.8927 GB, free: 25.22 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005907/1.036, allocations: 2.208 MB / 0.8948 GB, free: 25.21 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001344/1.037, allocations: 0.8166 MB / 0.8956 GB, free: 25.21 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001228/1.039, allocations: 0.6331 MB / 0.8962 GB, free: 25.18 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004822/1.044, allocations: 3.618 MB / 0.8998 GB, free: 24.91 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/1.044, allocations: 0 / 0.8998 GB, free: 24.91 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.493e-06/1.044, allocations: 2.906 kB / 0.8998 GB, free: 24.91 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.735e-05/1.044, allocations: 0.5625 kB / 0.8998 GB, free: 24.91 MB / 0.6856 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.005954/1.05, allocations: 2.996 MB / 0.9027 GB, free: 23.36 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/1.05, allocations: 9.406 kB / 0.9027 GB, free: 23.36 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008927/1.059, allocations: 1.582 MB / 0.9042 GB, free: 23.12 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003813/1.062, allocations: 1.902 MB / 0.9061 GB, free: 22.64 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001208/1.064, allocations: 433.2 kB / 0.9065 GB, free: 22.61 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003589/1.064, allocations: 223.2 kB / 0.9067 GB, free: 22.61 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005854/1.07, allocations: 3.071 MB / 0.9097 GB, free: 22.23 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.62e-05/1.07, allocations: 3.875 kB / 0.9097 GB, free: 22.23 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000234/1.07, allocations: 98.41 kB / 0.9098 GB, free: 22.23 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.949e-05/1.07, allocations: 86.94 kB / 0.9099 GB, free: 22.22 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006734/1.077, allocations: 3.204 MB / 0.913 GB, free: 22.14 MB / 0.6856 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.0193/1.096, allocations: 14.3 MB / 0.927 GB, free: 13.95 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003211/1.1, allocations: 1.704 MB / 0.9287 GB, free: 13.65 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003526/1.1, allocations: 161.4 kB / 0.9288 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/1.1, allocations: 47.69 kB / 0.9289 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001134/1.101, allocations: 196.9 kB / 0.929 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 2.695e-06/1.101, allocations: 0 / 0.929 GB, free: 13.39 MB / 0.6856 GB Notification: Performance of matching and sorting (n=110): time 0.004525/1.106, allocations: 2.416 MB / 0.9314 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.025e-05/1.106, allocations: 61.12 kB / 0.9315 GB, free: 12.79 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002861/1.109, allocations: 2.536 MB / 0.9339 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001299/1.109, allocations: 58.42 kB / 0.934 GB, free: 12.08 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006463/1.109, allocations: 1.265 MB / 0.9352 GB, free: 11.51 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002008/1.11, allocations: 396.7 kB / 0.9356 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/1.11, allocations: 37.81 kB / 0.9356 GB, free: 11.23 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001252/1.11, allocations: 374.5 kB / 0.936 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002098/1.112, allocations: 0.9919 MB / 0.937 GB, free: 10.7 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002325/1.114, allocations: 1.635 MB / 0.9386 GB, free: 9.73 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002307/1.117, allocations: 1.204 MB / 0.9397 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.215e-06/1.117, allocations: 6.219 kB / 0.9397 GB, free: 9.465 MB / 0.6856 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005289/1.122, allocations: 2.877 MB / 0.9426 GB, free: 8.785 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.001855/1.124, allocations: 5.778 MB / 0.9482 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.047e-05/1.124, allocations: 12.75 kB / 0.9482 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.846e-05/1.124, allocations: 26.28 kB / 0.9482 GB, free: 2.625 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002669/1.126, allocations: 0.5879 MB / 0.9488 GB, free: 2.496 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00126/1.128, allocations: 2.388 MB / 0.9511 GB, free: 16.13 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003793/1.132, allocations: 448.8 kB / 0.9516 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000195/1.132, allocations: 91.95 kB / 0.9517 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/1.132, allocations: 9.641 kB / 0.9517 GB, free: 15.97 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005716/1.138, allocations: 2.639 MB / 0.9542 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-05/1.138, allocations: 13.19 kB / 0.9543 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.885e-05/1.138, allocations: 26.58 kB / 0.9543 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002308/1.14, allocations: 0.5355 MB / 0.9548 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.017e-05/1.14, allocations: 34.7 kB / 0.9548 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003398/1.143, allocations: 377.8 kB / 0.9552 GB, free: 15.21 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002197/1.144, allocations: 89.95 kB / 0.9553 GB, free: 15.2 MB / 0.7012 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.001359/1.145, allocations: 0.6244 MB / 0.9559 GB, free: 14.97 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005789/1.146, allocations: 258.8 kB / 0.9561 GB, free: 14.84 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003968/1.15, allocations: 1.891 MB / 0.958 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/1.15, allocations: 11.88 kB / 0.958 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.15, allocations: 3.938 kB / 0.958 GB, free: 14.37 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/1.15, allocations: 7.969 kB / 0.958 GB, free: 14.36 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008202/1.158, allocations: 4.524 MB / 0.9624 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/1.158, allocations: 5.656 kB / 0.9624 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001468/1.159, allocations: 321.9 kB / 0.9627 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.732e-05/1.159, allocations: 13.42 kB / 0.9628 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001002/1.159, allocations: 31.48 kB / 0.9628 GB, free: 12.73 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/1.16, allocations: 2.363 MB / 0.9651 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.065e-06/1.161, allocations: 12.5 kB / 0.9651 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003978/1.165, allocations: 2.501 MB / 0.9675 GB, free: 8.961 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/1.166, allocations: 0.5354 MB / 0.9681 GB, free: 8.648 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006532/1.167, allocations: 33.2 kB / 0.9681 GB, free: 8.641 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002705/1.169, allocations: 291.7 kB / 0.9684 GB, free: 8.539 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/1.169, allocations: 80.42 kB / 0.9685 GB, free: 8.508 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001445/1.17, allocations: 65.98 kB / 0.9685 GB, free: 8.496 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002592/1.172, allocations: 1.745 MB / 0.9702 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.7e-07/1.172, allocations: 0 / 0.9702 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.003585/1.176, allocations: 1.301 MB / 0.9715 GB, free: 7.801 MB / 0.7012 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.0007061/1.177, allocations: 376.8 kB / 0.9719 GB, free: 7.496 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00799/1.185, allocations: 3.692 MB / 0.9755 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.185, allocations: 0 / 0.9755 GB, free: 4.68 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001758/1.186, allocations: 0.8294 MB / 0.9763 GB, free: 4.078 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005993/1.192, allocations: 1.198 MB / 0.9774 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009399/1.202, allocations: 4.998 MB / 0.9823 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001847/1.204, allocations: 1.756 MB / 0.984 GB, free: 12.72 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004114/1.208, allocations: 0.7843 MB / 0.9848 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007184/1.208, allocations: 194.4 kB / 0.985 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of SimCode: time 8.02e-07/1.209, allocations: 1.859 kB / 0.985 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of Templates: time 0.06681/1.275, allocations: 44.44 MB / 1.028 GB, free: 24 kB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1) Environment - environmentSimulation: