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.001527/0.001527, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.001374/0.001375, allocations: 196.1 kB / 16.91 MB, free: 6.184 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.449/1.449, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8517/0.8517, allocations: 135.2 MB / 425.9 MB, free: 4.332 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 59.91 kB / 0.5055 GB, free: 8.73 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3887, allocations: 80.93 MB / 0.5846 GB, free: 25.27 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6534/1.042, allocations: 324.7 MB / 0.9016 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.04272/1.085, allocations: 29.87 MB / 0.9308 GB, free: 11.33 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005062/1.09, allocations: 91.44 kB / 0.9309 GB, free: 11.24 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006622/1.097, allocations: 1.854 MB / 0.9327 GB, free: 9.375 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01468/1.111, allocations: 4.646 MB / 0.9373 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009802/1.121, allocations: 3.392 MB / 0.9406 GB, free: 1.348 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01154/1.133, allocations: 6.93 MB / 0.9473 GB, free: 10.4 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005035/1.138, allocations: 2.812 MB / 0.9501 GB, free: 7.523 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01538/1.153, allocations: 5.223 MB / 0.9552 GB, free: 2.309 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005798/1.159, allocations: 2.533 MB / 0.9577 GB, free: 15.78 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.00123/1.16, allocations: 299.9 kB / 0.9579 GB, free: 15.48 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01103/1.171, allocations: 5.077 MB / 0.9629 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002018/1.173, allocations: 1.079 MB / 0.964 GB, free: 9.312 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003172/1.177, allocations: 1.738 MB / 0.9657 GB, free: 7.566 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007597/1.184, allocations: 4.307 MB / 0.9699 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/1.184, allocations: 0 / 0.9699 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.994e-06/1.184, allocations: 0 / 0.9699 GB, free: 3.25 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000101/1.184, allocations: 0 / 0.9699 GB, free: 3.25 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.008698/1.193, allocations: 3.7 MB / 0.9735 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/1.193, allocations: 13.11 kB / 0.9735 GB, free: 15.45 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01003/1.203, allocations: 1.464 MB / 0.9749 GB, free: 13.98 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004732/1.208, allocations: 1.976 MB / 0.9768 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001273/1.209, allocations: 399.8 kB / 0.9772 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006577/1.21, allocations: 220 kB / 0.9774 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006812/1.217, allocations: 3.07 MB / 0.9804 GB, free: 8.113 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.229e-05/1.217, allocations: 7.938 kB / 0.9804 GB, free: 8.105 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002908/1.217, allocations: 91.98 kB / 0.9805 GB, free: 8.016 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/1.217, allocations: 92 kB / 0.9806 GB, free: 7.922 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007394/1.225, allocations: 3.138 MB / 0.9837 GB, free: 4.766 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.02614/1.251, allocations: 14.09 MB / 0.9974 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004203/1.255, allocations: 1.661 MB / 0.9991 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001812/1.257, allocations: 0.7659 MB / 0.9998 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006934/1.258, allocations: 332.1 kB / 1 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.467e-05/1.258, allocations: 51.5 kB / 1 GB, free: 2.691 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001608/1.259, allocations: 214 kB / 1 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 5.12e-06/1.259, allocations: 0 / 1 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.00624/1.266, allocations: 2.356 MB / 1.003 GB, free: 124 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.175e-05/1.266, allocations: 64.41 kB / 1.003 GB, free: 44 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004574/1.27, allocations: 2.537 MB / 1.005 GB, free: 13.49 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003344/1.271, allocations: 53.7 kB / 1.005 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001193/1.272, allocations: 1.268 MB / 1.007 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004444/1.272, allocations: 394.5 kB / 1.007 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007452/1.273, allocations: 391 kB / 1.007 GB, free: 11.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001397/1.273, allocations: 301.1 kB / 1.008 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002604/1.276, allocations: 0.9806 MB / 1.009 GB, free: 10.09 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003297/1.279, allocations: 1.606 MB / 1.01 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005016/1.284, allocations: 2.273 MB / 1.012 GB, free: 5.734 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.215e-05/1.284, allocations: 8 kB / 1.012 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.007329/1.292, allocations: 2.82 MB / 1.015 GB, free: 2.883 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.617e-05/1.292, allocations: 72.14 kB / 1.015 GB, free: 2.801 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/1.292, allocations: 12 kB / 1.015 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.492e-05/1.292, allocations: 28 kB / 1.015 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/1.295, allocations: 0.5772 MB / 1.016 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001706/1.297, allocations: 2.387 MB / 1.018 GB, free: 15.7 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003882/1.3, allocations: 407 kB / 1.018 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002889/1.301, allocations: 99.89 kB / 1.019 GB, free: 15.21 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003635/1.304, allocations: 1.406 MB / 1.02 GB, free: 13.8 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00321/1.308, allocations: 1.61 MB / 1.021 GB, free: 11.92 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004761/1.312, allocations: 2.261 MB / 1.024 GB, free: 9.453 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.03e-05/1.312, allocations: 4 kB / 1.024 GB, free: 9.449 MB / 0.7481 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.007032/1.319, allocations: 2.817 MB / 1.026 GB, free: 6.609 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 8.765e-05/1.32, allocations: 71.39 kB / 1.027 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/1.32, allocations: 16 kB / 1.027 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.563e-05/1.32, allocations: 20 kB / 1.027 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002496/1.322, allocations: 0.5191 MB / 1.027 GB, free: 5.973 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.633e-05/1.322, allocations: 31.86 kB / 1.027 GB, free: 5.941 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00367/1.326, allocations: 409.4 kB / 1.027 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002311/1.326, allocations: 99.89 kB / 1.028 GB, free: 5.445 MB / 0.7481 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.0006272/1.327, allocations: 291.7 kB / 1.028 GB, free: 5.152 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006198/1.327, allocations: 264.7 kB / 1.028 GB, free: 4.891 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004585/1.332, allocations: 1.839 MB / 1.03 GB, free: 3.035 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.649e-05/1.332, allocations: 12 kB / 1.03 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/1.332, allocations: 0 / 1.03 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.523e-05/1.332, allocations: 11.91 kB / 1.03 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2886/1.621, allocations: 4.482 MB / 1.034 GB, free: 325.2 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.226e-05/1.621, allocations: 8.828 kB / 1.034 GB, free: 325.2 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/1.622, allocations: 306.7 kB / 1.035 GB, free: 325.2 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.788e-05/1.622, allocations: 14 kB / 1.035 GB, free: 325.2 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001023/1.623, allocations: 29.84 kB / 1.035 GB, free: 325.2 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007148/1.623, allocations: 2.368 MB / 1.037 GB, free: 322.9 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.318e-06/1.623, allocations: 11.08 kB / 1.037 GB, free: 322.9 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004315/1.628, allocations: 1.973 MB / 1.039 GB, free: 322.2 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001297/1.629, allocations: 0.5245 MB / 1.039 GB, free: 322 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004859/1.629, allocations: 34.09 kB / 1.039 GB, free: 322 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002626/1.632, allocations: 264.8 kB / 1.04 GB, free: 322 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000183/1.632, allocations: 83.23 kB / 1.04 GB, free: 322 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001706/1.632, allocations: 64.16 kB / 1.04 GB, free: 322 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003611/1.636, allocations: 1.749 MB / 1.042 GB, free: 321.3 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.61e-07/1.636, allocations: 1.656 kB / 1.042 GB, free: 321.3 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.004297/1.64, allocations: 1.302 MB / 1.043 GB, free: 321.2 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.0008379/1.641, allocations: 383.5 kB / 1.043 GB, free: 321.1 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.008447/1.65, allocations: 3.786 MB / 1.047 GB, free: 319.9 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.508e-05/1.65, allocations: 10.42 kB / 1.047 GB, free: 319.9 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001762/1.651, allocations: 0.807 MB / 1.048 GB, free: 319.7 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005582/1.657, allocations: 1.202 MB / 1.049 GB, free: 319.4 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007234/1.664, allocations: 5.301 MB / 1.054 GB, free: 316.4 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009913/1.665, allocations: 1.683 MB / 1.056 GB, free: 315.6 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009841/1.666, allocations: 217.4 kB / 1.056 GB, free: 315.6 MB / 0.7481 GB Notification: Performance of SimCode: time 1.282e-06/1.666, allocations: 0 / 1.056 GB, free: 315.6 MB / 0.7481 GB Notification: Performance of Templates: time 0.06935/1.736, allocations: 85.92 MB / 1.14 GB, free: 232.7 MB / 0.7481 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)