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.001704/0.001704, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001431/0.001431, allocations: 194.2 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9286/0.9286, allocations: 135.6 MB / 425.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 67.64 kB / 0.5054 GB, free: 5.184 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1606/0.1625, allocations: 81.02 MB / 0.5845 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.88/1.043, allocations: 324.7 MB / 0.9016 GB, free: 1.336 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03143/1.074, allocations: 29.87 MB / 0.9307 GB, free: 1.113 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00387/1.078, allocations: 92.81 kB / 0.9308 GB, free: 1.113 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004931/1.083, allocations: 1.854 MB / 0.9326 GB, free: 1.074 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01306/1.096, allocations: 4.647 MB / 0.9372 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.009528/1.106, allocations: 3.386 MB / 0.9405 GB, free: 0.7148 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01001/1.116, allocations: 6.939 MB / 0.9472 GB, free: 0.6875 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004092/1.12, allocations: 2.797 MB / 0.95 GB, free: 16.3 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01263/1.132, allocations: 5.239 MB / 0.9551 GB, free: 16.13 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005352/1.138, allocations: 2.535 MB / 0.9576 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0009138/1.139, allocations: 297.3 kB / 0.9578 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01011/1.149, allocations: 5.078 MB / 0.9628 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002701/1.152, allocations: 1.076 MB / 0.9639 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004872/1.156, allocations: 1.741 MB / 0.9656 GB, free: 14.87 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01307/1.17, allocations: 6.052 MB / 0.9715 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/1.17, allocations: 0 / 0.9715 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.132e-06/1.17, allocations: 0 / 0.9715 GB, free: 12.46 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001207/1.17, allocations: 0 / 0.9715 GB, free: 12.46 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.008029/1.178, allocations: 3.694 MB / 0.9751 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/1.178, allocations: 12.53 kB / 0.9751 GB, free: 10.38 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009143/1.187, allocations: 1.472 MB / 0.9765 GB, free: 9.828 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003817/1.191, allocations: 1.975 MB / 0.9785 GB, free: 8.887 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001157/1.192, allocations: 396.1 kB / 0.9788 GB, free: 8.609 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004556/1.192, allocations: 231 kB / 0.9791 GB, free: 8.395 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006223/1.199, allocations: 3.066 MB / 0.982 GB, free: 5.207 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.31e-05/1.199, allocations: 7.938 kB / 0.9821 GB, free: 5.199 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002631/1.199, allocations: 88 kB / 0.9821 GB, free: 5.113 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.311e-05/1.199, allocations: 88 kB / 0.9822 GB, free: 5.023 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006816/1.206, allocations: 3.146 MB / 0.9853 GB, free: 1.883 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.02293/1.229, allocations: 14.1 MB / 0.9991 GB, free: 2.926 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003879/1.233, allocations: 1.651 MB / 1.001 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001672/1.234, allocations: 0.776 MB / 1.001 GB, free: 0.5039 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006463/1.235, allocations: 320.7 kB / 1.002 GB, free: 144 kB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.31e-05/1.235, allocations: 51.56 kB / 1.002 GB, free: 84 kB / 0.7012 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001626/1.237, allocations: 205.1 kB / 1.002 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 3.967e-06/1.237, allocations: 0 / 1.002 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.005949/1.243, allocations: 2.358 MB / 1.004 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.366e-05/1.243, allocations: 64.41 kB / 1.004 GB, free: 13.46 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004298/1.247, allocations: 2.54 MB / 1.007 GB, free: 10.9 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002748/1.247, allocations: 61.7 kB / 1.007 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001079/1.249, allocations: 1.267 MB / 1.008 GB, free: 9.562 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003821/1.249, allocations: 390 kB / 1.008 GB, free: 9.184 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007032/1.25, allocations: 389.6 kB / 1.009 GB, free: 8.801 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.25, allocations: 305.1 kB / 1.009 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002479/1.252, allocations: 0.9767 MB / 1.01 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003046/1.255, allocations: 1.608 MB / 1.012 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004614/1.26, allocations: 2.276 MB / 1.014 GB, free: 3.227 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/1.26, allocations: 4 kB / 1.014 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006557/1.267, allocations: 2.822 MB / 1.017 GB, free: 472 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 7.47e-05/1.267, allocations: 69.59 kB / 1.017 GB, free: 392 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.113e-05/1.267, allocations: 20.03 kB / 1.017 GB, free: 372 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.456e-05/1.267, allocations: 20 kB / 1.017 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002953/1.27, allocations: 0.577 MB / 1.017 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/1.271, allocations: 2.394 MB / 1.02 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003564/1.275, allocations: 397.1 kB / 1.02 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/1.275, allocations: 91.95 kB / 1.02 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003284/1.278, allocations: 1.41 MB / 1.022 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002983/1.281, allocations: 1.604 MB / 1.023 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004559/1.286, allocations: 2.27 MB / 1.025 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.596e-06/1.286, allocations: 4 kB / 1.025 GB, free: 7.141 MB / 0.7325 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006514/1.292, allocations: 2.817 MB / 1.028 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.833e-05/1.292, allocations: 75.33 kB / 1.028 GB, free: 4.293 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.712e-05/1.292, allocations: 15.94 kB / 1.028 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/1.293, allocations: 24 kB / 1.028 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002473/1.295, allocations: 0.5199 MB / 1.029 GB, free: 3.758 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.573e-05/1.295, allocations: 33.89 kB / 1.029 GB, free: 3.73 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003534/1.299, allocations: 400 kB / 1.029 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001918/1.299, allocations: 91.95 kB / 1.029 GB, free: 3.25 MB / 0.7325 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 (masExcRev.i2_w,masExcRev.i1_w,masExcFor.i2_w,masExcFor.i1_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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005375/1.299, allocations: 294.8 kB / 1.029 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000533/1.3, allocations: 264.7 kB / 1.03 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004518/1.304, allocations: 1.854 MB / 1.032 GB, free: 0.8516 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.215e-05/1.304, allocations: 12 kB / 1.032 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.304, allocations: 0 / 1.032 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.255e-05/1.304, allocations: 3.984 kB / 1.032 GB, free: 0.8359 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00884/1.313, allocations: 4.488 MB / 1.036 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.313, allocations: 7.984 kB / 1.036 GB, free: 12.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/1.315, allocations: 302.7 kB / 1.036 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.662e-05/1.315, allocations: 12.28 kB / 1.036 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.281e-05/1.315, allocations: 31.98 kB / 1.036 GB, free: 11.95 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/1.317, allocations: 2.365 MB / 1.039 GB, free: 9.496 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.287e-06/1.317, allocations: 11.64 kB / 1.039 GB, free: 9.488 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004179/1.321, allocations: 1.983 MB / 1.041 GB, free: 7.414 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.322, allocations: 0.5251 MB / 1.041 GB, free: 6.867 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003538/1.322, allocations: 33.86 kB / 1.041 GB, free: 6.836 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002414/1.325, allocations: 274.6 kB / 1.041 GB, free: 6.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/1.325, allocations: 74.58 kB / 1.041 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001456/1.325, allocations: 67.94 kB / 1.041 GB, free: 6.438 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003003/1.328, allocations: 1.751 MB / 1.043 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.91e-07/1.328, allocations: 0 / 1.043 GB, free: 4.684 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003442/1.331, allocations: 1.295 MB / 1.044 GB, free: 3.387 MB / 0.7481 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 (not torn): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007421/1.332, allocations: 369.9 kB / 1.045 GB, free: 3.062 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.009287/1.342, allocations: 3.793 MB / 1.048 GB, free: 15.35 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/1.342, allocations: 5.875 kB / 1.048 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00191/1.343, allocations: 0.8074 MB / 1.049 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005391/1.349, allocations: 1.211 MB / 1.05 GB, free: 13.4 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008371/1.357, allocations: 5.196 MB / 1.056 GB, free: 8.113 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001495/1.359, allocations: 1.697 MB / 1.057 GB, free: 6.379 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.004004/1.363, allocations: 0.7818 MB / 1.058 GB, free: 5.59 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006736/1.363, allocations: 199.4 kB / 1.058 GB, free: 5.395 MB / 0.7637 GB Notification: Performance of SimCode: time 9.21e-07/1.363, allocations: 0 / 1.058 GB, free: 5.395 MB / 0.7637 GB Notification: Performance of Templates: time 0.08283/1.446, allocations: 47.5 MB / 1.105 GB, free: 6.598 MB / 0.8106 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)