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.001119/0.001119, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001248/0.001249, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9782/0.9782, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.001239, allocations: 67.89 kB / 0.5053 GB, free: 5.355 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.175, allocations: 80.92 MB / 0.5844 GB, free: 4.59 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.9612/1.136, allocations: 328.4 MB / 0.905 GB, free: 1.422 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03872/1.175, allocations: 30.04 MB / 0.9344 GB, free: 1.215 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004651/1.18, allocations: 99.53 kB / 0.9345 GB, free: 1.215 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.005672/1.185, allocations: 2.093 MB / 0.9365 GB, free: 1.18 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01354/1.199, allocations: 4.941 MB / 0.9413 GB, free: 0.9414 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01091/1.21, allocations: 3.641 MB / 0.9449 GB, free: 0.8047 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01261/1.223, allocations: 6.91 MB / 0.9516 GB, free: 0.7852 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005389/1.228, allocations: 2.875 MB / 0.9544 GB, free: 16.39 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01594/1.244, allocations: 5.254 MB / 0.9596 GB, free: 16.19 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005892/1.25, allocations: 2.415 MB / 0.9619 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001741/1.252, allocations: 297.1 kB / 0.9622 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01189/1.264, allocations: 4.811 MB / 0.9669 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002471/1.266, allocations: 1.068 MB / 0.968 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.004621/1.271, allocations: 1.745 MB / 0.9697 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01669/1.287, allocations: 5.699 MB / 0.9752 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/1.288, allocations: 3.984 kB / 0.9752 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.944e-06/1.288, allocations: 0 / 0.9752 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0002146/1.288, allocations: 2.531 kB / 0.9752 GB, free: 11.68 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.01264/1.3, allocations: 3.699 MB / 0.9789 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.3, allocations: 9.781 kB / 0.9789 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01027/1.311, allocations: 1.476 MB / 0.9803 GB, free: 8.641 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004997/1.316, allocations: 1.976 MB / 0.9822 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001366/1.317, allocations: 399.8 kB / 0.9826 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007738/1.318, allocations: 222 kB / 0.9828 GB, free: 6.125 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007366/1.325, allocations: 3.069 MB / 0.9858 GB, free: 2.934 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.615e-05/1.325, allocations: 5.969 kB / 0.9858 GB, free: 2.93 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003947/1.326, allocations: 94.89 kB / 0.9859 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.757e-05/1.326, allocations: 92 kB / 0.986 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007736/1.334, allocations: 3.145 MB / 0.9891 GB, free: 15.61 MB / 0.7012 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.02546/1.359, allocations: 14.16 MB / 1.003 GB, free: 0.5781 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004635/1.364, allocations: 1.649 MB / 1.005 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/1.366, allocations: 0.7689 MB / 1.005 GB, free: 14.17 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006394/1.366, allocations: 326.5 kB / 1.006 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.456e-05/1.367, allocations: 55.56 kB / 1.006 GB, free: 13.74 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001663/1.368, allocations: 200.2 kB / 1.006 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 8.025e-06/1.368, allocations: 0 / 1.006 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.006505/1.375, allocations: 2.358 MB / 1.008 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/1.375, allocations: 64.41 kB / 1.008 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004674/1.38, allocations: 2.537 MB / 1.011 GB, free: 8.555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002885/1.38, allocations: 57.7 kB / 1.011 GB, free: 8.492 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/1.381, allocations: 1.276 MB / 1.012 GB, free: 7.207 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003905/1.381, allocations: 388.2 kB / 1.012 GB, free: 6.832 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007882/1.382, allocations: 395 kB / 1.013 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.032e-05/1.382, allocations: 301.1 kB / 1.013 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002726/1.385, allocations: 0.9728 MB / 1.014 GB, free: 5.168 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003268/1.388, allocations: 1.609 MB / 1.016 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004983/1.393, allocations: 2.28 MB / 1.018 GB, free: 0.8711 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-05/1.393, allocations: 8 kB / 1.018 GB, free: 0.8633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007222/1.4, allocations: 2.817 MB / 1.021 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.694e-05/1.4, allocations: 71.33 kB / 1.021 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.36e-05/1.401, allocations: 20.06 kB / 1.021 GB, free: 14 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.475e-05/1.401, allocations: 24.03 kB / 1.021 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/1.404, allocations: 0.5732 MB / 1.021 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/1.405, allocations: 2.385 MB / 1.024 GB, free: 10.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/1.409, allocations: 315.9 kB / 1.024 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/1.409, allocations: 95.95 kB / 1.024 GB, free: 10.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003653/1.413, allocations: 1.409 MB / 1.025 GB, free: 9.152 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003185/1.416, allocations: 1.611 MB / 1.027 GB, free: 7.277 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005329/1.421, allocations: 2.263 MB / 1.029 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.504e-05/1.421, allocations: 4 kB / 1.029 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007749/1.429, allocations: 2.817 MB / 1.032 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001153/1.429, allocations: 71.39 kB / 1.032 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.209e-05/1.429, allocations: 16 kB / 1.032 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.845e-05/1.429, allocations: 20 kB / 1.032 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003005/1.432, allocations: 0.5194 MB / 1.032 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.327e-05/1.433, allocations: 27.55 kB / 1.032 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00427/1.437, allocations: 328.2 kB / 1.033 GB, free: 1.141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003871/1.437, allocations: 87.95 kB / 1.033 GB, free: 1.055 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.0008894/1.438, allocations: 306.2 kB / 1.033 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/1.439, allocations: 256.8 kB / 1.033 GB, free: 0.5195 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007335/1.447, allocations: 1.846 MB / 1.035 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.558e-05/1.447, allocations: 15.94 kB / 1.035 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/1.447, allocations: 4 kB / 1.035 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/1.447, allocations: 3.984 kB / 1.035 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/1.461, allocations: 4.491 MB / 1.04 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.39e-05/1.461, allocations: 4 kB / 1.04 GB, free: 10.07 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002542/1.463, allocations: 303.6 kB / 1.04 GB, free: 9.789 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.492e-05/1.463, allocations: 12 kB / 1.04 GB, free: 9.777 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001711/1.464, allocations: 43.92 kB / 1.04 GB, free: 9.734 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/1.465, allocations: 2.366 MB / 1.042 GB, free: 7.281 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.687e-06/1.465, allocations: 7.375 kB / 1.042 GB, free: 7.277 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006904/1.472, allocations: 1.977 MB / 1.044 GB, free: 5.215 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001844/1.474, allocations: 0.525 MB / 1.045 GB, free: 4.668 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006096/1.474, allocations: 27.94 kB / 1.045 GB, free: 4.641 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003604/1.478, allocations: 187 kB / 1.045 GB, free: 4.461 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/1.478, allocations: 83.5 kB / 1.045 GB, free: 4.387 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002178/1.479, allocations: 63.95 kB / 1.045 GB, free: 4.324 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.004667/1.483, allocations: 1.755 MB / 1.047 GB, free: 2.566 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7.52e-07/1.483, allocations: 0 / 1.047 GB, free: 2.566 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.005353/1.489, allocations: 1.287 MB / 1.048 GB, free: 1.277 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.001089/1.49, allocations: 373.7 kB / 1.048 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.01544/1.505, allocations: 3.795 MB / 1.052 GB, free: 13.23 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.08e-05/1.505, allocations: 4 kB / 1.052 GB, free: 13.22 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00323/1.508, allocations: 0.8015 MB / 1.053 GB, free: 12.45 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00854/1.517, allocations: 1.205 MB / 1.054 GB, free: 11.28 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0111/1.528, allocations: 4.322 MB / 1.058 GB, free: 6.875 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001831/1.53, allocations: 1.697 MB / 1.06 GB, free: 5.141 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.005155/1.535, allocations: 0.7816 MB / 1.061 GB, free: 4.355 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007769/1.536, allocations: 195.4 kB / 1.061 GB, free: 4.164 MB / 0.7637 GB Notification: Performance of SimCode: time 1.232e-06/1.536, allocations: 0 / 1.061 GB, free: 4.164 MB / 0.7637 GB Notification: Performance of Templates: time 0.08246/1.618, allocations: 47.69 MB / 1.107 GB, free: 5.176 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)