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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008137/0.0008136, allocations: 99.86 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.0008459/0.0008459, 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.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8514/0.8514, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 15.19 kB / 0.5068 GB, free: 5.273 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1411, allocations: 82.31 MB / 0.5872 GB, free: 3.137 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.4793/0.6204, allocations: 265.3 MB / 0.8463 GB, free: 3.051 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.3579/0.9783, allocations: 27.08 MB / 0.8728 GB, free: 9.801 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003002/0.9813, allocations: 78.09 kB / 0.8728 GB, free: 9.801 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004793/0.9861, allocations: 1.669 MB / 0.8745 GB, free: 9.793 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01455/1.001, allocations: 4.667 MB / 0.879 GB, free: 9.742 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.00772/1.008, allocations: 2.616 MB / 0.8816 GB, free: 9.703 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006918/1.015, allocations: 3.911 MB / 0.8854 GB, free: 9.691 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004424/1.02, allocations: 2.246 MB / 0.8876 GB, free: 25.42 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008725/1.029, allocations: 3.463 MB / 0.891 GB, free: 25.4 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00425/1.033, allocations: 1.586 MB / 0.8925 GB, free: 25.39 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001347/1.034, allocations: 133.8 kB / 0.8926 GB, free: 25.39 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008337/1.043, allocations: 2.212 MB / 0.8948 GB, free: 25.39 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002296/1.045, allocations: 0.8125 MB / 0.8956 GB, free: 25.39 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002817/1.048, allocations: 0.6337 MB / 0.8962 GB, free: 25.36 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007134/1.055, allocations: 3.625 MB / 0.8998 GB, free: 25.08 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/1.055, allocations: 0 / 0.8998 GB, free: 25.08 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.545e-06/1.055, allocations: 0.5625 kB / 0.8998 GB, free: 25.08 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001896/1.055, allocations: 0 / 0.8998 GB, free: 25.08 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.008706/1.064, allocations: 2.993 MB / 0.9027 GB, free: 23.53 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.631e-05/1.064, allocations: 12.31 kB / 0.9027 GB, free: 23.53 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009903/1.074, allocations: 1.586 MB / 0.9042 GB, free: 23.3 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005713/1.08, allocations: 1.901 MB / 0.9061 GB, free: 22.81 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001347/1.081, allocations: 432.3 kB / 0.9065 GB, free: 22.78 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000804/1.082, allocations: 220.3 kB / 0.9067 GB, free: 22.78 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007743/1.09, allocations: 3.07 MB / 0.9097 GB, free: 22.4 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.822e-05/1.09, allocations: 4.125 kB / 0.9097 GB, free: 22.4 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004116/1.09, allocations: 97.56 kB / 0.9098 GB, free: 22.4 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001612/1.09, allocations: 91.64 kB / 0.9099 GB, free: 22.39 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007903/1.098, allocations: 3.206 MB / 0.913 GB, free: 22.3 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.02381/1.122, allocations: 14.3 MB / 0.927 GB, free: 14.13 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003585/1.126, allocations: 1.701 MB / 0.9287 GB, free: 13.84 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004046/1.126, allocations: 160 kB / 0.9288 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/1.126, allocations: 51.47 kB / 0.9289 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001594/1.128, allocations: 195.6 kB / 0.929 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=110): time 5.871e-06/1.128, allocations: 2.75 kB / 0.929 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of matching and sorting (n=110): time 0.005204/1.133, allocations: 2.414 MB / 0.9314 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/1.133, allocations: 66.34 kB / 0.9315 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003934/1.137, allocations: 2.531 MB / 0.9339 GB, free: 12.3 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002856/1.137, allocations: 59.73 kB / 0.934 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008245/1.138, allocations: 1.261 MB / 0.9352 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002969/1.138, allocations: 392.3 kB / 0.9356 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001589/1.139, allocations: 39.53 kB / 0.9356 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.139, allocations: 368.7 kB / 0.936 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/1.141, allocations: 0.9956 MB / 0.937 GB, free: 10.88 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002556/1.144, allocations: 1.635 MB / 0.9386 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002472/1.146, allocations: 1.212 MB / 0.9397 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.104e-05/1.146, allocations: 3.344 kB / 0.9397 GB, free: 9.648 MB / 0.6856 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006026/1.152, allocations: 2.876 MB / 0.9426 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.002149/1.154, allocations: 5.774 MB / 0.9482 GB, free: 2.812 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-05/1.154, allocations: 18.3 kB / 0.9482 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.688e-05/1.154, allocations: 24.72 kB / 0.9482 GB, free: 2.809 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002897/1.157, allocations: 0.5852 MB / 0.9488 GB, free: 2.688 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/1.159, allocations: 2.385 MB / 0.9511 GB, free: 16.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004025/1.163, allocations: 452.4 kB / 0.9516 GB, free: 16.17 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/1.163, allocations: 93.88 kB / 0.9517 GB, free: 16.16 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 9.398e-06/1.163, allocations: 5.25 kB / 0.9517 GB, free: 16.16 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005514/1.169, allocations: 2.64 MB / 0.9542 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.531e-05/1.169, allocations: 14.03 kB / 0.9543 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.499e-05/1.169, allocations: 24.09 kB / 0.9543 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/1.171, allocations: 0.5441 MB / 0.9548 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.43e-05/1.171, allocations: 29.06 kB / 0.9548 GB, free: 15.52 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003452/1.174, allocations: 381.8 kB / 0.9552 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002215/1.175, allocations: 90.47 kB / 0.9553 GB, free: 15.38 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.001289/1.176, allocations: 0.6258 MB / 0.9559 GB, free: 15.15 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006131/1.177, allocations: 256.8 kB / 0.9561 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004033/1.181, allocations: 1.878 MB / 0.958 GB, free: 14.57 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.425e-05/1.181, allocations: 14.98 kB / 0.958 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.181, allocations: 0 / 0.958 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/1.181, allocations: 7.969 kB / 0.958 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008499/1.189, allocations: 4.529 MB / 0.9624 GB, free: 13 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/1.189, allocations: 6.438 kB / 0.9624 GB, free: 13 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001557/1.191, allocations: 318.3 kB / 0.9627 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.93e-05/1.191, allocations: 15.78 kB / 0.9627 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.708e-05/1.191, allocations: 30.42 kB / 0.9628 GB, free: 12.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001074/1.192, allocations: 2.362 MB / 0.9651 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.235e-06/1.192, allocations: 13.67 kB / 0.9651 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004107/1.196, allocations: 2.506 MB / 0.9675 GB, free: 9.152 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001659/1.198, allocations: 0.537 MB / 0.9681 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007931/1.199, allocations: 27.84 kB / 0.9681 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/1.202, allocations: 294.9 kB / 0.9684 GB, free: 8.73 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001225/1.202, allocations: 79.61 kB / 0.9684 GB, free: 8.699 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001766/1.202, allocations: 62.95 kB / 0.9685 GB, free: 8.688 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.003109/1.205, allocations: 1.748 MB / 0.9702 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2e-07/1.205, allocations: 1.859 kB / 0.9702 GB, free: 8.238 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00432/1.209, allocations: 1.298 MB / 0.9715 GB, free: 7.996 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.0008554/1.21, allocations: 374.3 kB / 0.9718 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.008117/1.218, allocations: 3.702 MB / 0.9755 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.218, allocations: 1.859 kB / 0.9755 GB, free: 4.875 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/1.22, allocations: 0.8287 MB / 0.9763 GB, free: 4.273 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005551/1.226, allocations: 1.203 MB / 0.9774 GB, free: 3.297 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007481/1.233, allocations: 5.002 MB / 0.9823 GB, free: 14.65 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/1.235, allocations: 1.749 MB / 0.984 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.003685/1.238, allocations: 0.7896 MB / 0.9848 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006393/1.239, allocations: 192.1 kB / 0.985 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of SimCode: time 6.21e-07/1.239, allocations: 4 kB / 0.985 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of Templates: time 0.06766/1.307, allocations: 44.45 MB / 1.028 GB, free: 212 kB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: