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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.001057/0.001057, allocations: 103.9 kB / 16.35 MB, free: 5.824 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.001029/0.001029, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.359/1.359, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7904/0.7904, allocations: 132.2 MB / 423.3 MB, free: 6.566 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 63.91 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.356/0.3573, allocations: 80.19 MB / 0.5815 GB, free: 27.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.5942/0.9516, allocations: 328.4 MB / 0.9022 GB, free: 10.6 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03724/0.9889, allocations: 30.05 MB / 0.9315 GB, free: 12.66 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003602/0.9925, allocations: 99.38 kB / 0.9316 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.005437/0.998, allocations: 2.097 MB / 0.9337 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01375/1.012, allocations: 4.959 MB / 0.9385 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.01125/1.023, allocations: 3.655 MB / 0.9421 GB, free: 1.84 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01085/1.034, allocations: 6.929 MB / 0.9489 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004373/1.038, allocations: 2.871 MB / 0.9517 GB, free: 7.957 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01269/1.051, allocations: 5.278 MB / 0.9568 GB, free: 2.684 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004621/1.056, allocations: 2.406 MB / 0.9592 GB, free: 284 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001146/1.057, allocations: 296 kB / 0.9594 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009622/1.066, allocations: 4.809 MB / 0.9641 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001895/1.068, allocations: 1.067 MB / 0.9652 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003684/1.072, allocations: 1.738 MB / 0.9669 GB, free: 8.352 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01117/1.083, allocations: 5.742 MB / 0.9725 GB, free: 2.594 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.083, allocations: 4 kB / 0.9725 GB, free: 2.59 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.253e-06/1.083, allocations: 3.938 kB / 0.9725 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001491/1.083, allocations: 0 / 0.9725 GB, free: 2.586 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.0116/1.095, allocations: 3.692 MB / 0.9761 GB, free: 14.81 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/1.095, allocations: 12.03 kB / 0.9761 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/1.106, allocations: 1.468 MB / 0.9775 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005243/1.111, allocations: 2.069 MB / 0.9796 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001651/1.111, allocations: 168.1 kB / 0.9797 GB, free: 11.01 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004728/1.111, allocations: 223.9 kB / 0.9799 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009141/1.121, allocations: 3.031 MB / 0.9829 GB, free: 7.621 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.786e-05/1.121, allocations: 4 kB / 0.9829 GB, free: 7.617 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004052/1.121, allocations: 91.98 kB / 0.983 GB, free: 7.527 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001375/1.121, allocations: 92 kB / 0.9831 GB, free: 7.434 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01193/1.133, allocations: 3.103 MB / 0.9861 GB, free: 4.312 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.03551/1.169, allocations: 14.01 MB / 0.9998 GB, free: 5.199 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006089/1.175, allocations: 1.663 MB / 1.001 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00268/1.178, allocations: 0.7733 MB / 1.002 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008592/1.179, allocations: 332.2 kB / 1.002 GB, free: 2.371 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.749e-05/1.179, allocations: 47.56 kB / 1.003 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001616/1.18, allocations: 202.1 kB / 1.003 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 5.54e-06/1.18, allocations: 0 / 1.003 GB, free: 2.117 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.008465/1.189, allocations: 2.352 MB / 1.005 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/1.189, allocations: 72.33 kB / 1.005 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005483/1.194, allocations: 2.521 MB / 1.008 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000383/1.195, allocations: 57.7 kB / 1.008 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/1.196, allocations: 1.268 MB / 1.009 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005228/1.197, allocations: 386.5 kB / 1.009 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009348/1.198, allocations: 395 kB / 1.01 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001257/1.198, allocations: 301.1 kB / 1.01 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003286/1.201, allocations: 0.9572 MB / 1.011 GB, free: 9.754 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003888/1.205, allocations: 1.591 MB / 1.012 GB, free: 7.891 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00601/1.211, allocations: 2.257 MB / 1.015 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.652e-05/1.211, allocations: 4 kB / 1.015 GB, free: 5.426 MB / 0.7325 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.008803/1.22, allocations: 2.774 MB / 1.017 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.276e-05/1.22, allocations: 77.73 kB / 1.017 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.582e-05/1.22, allocations: 15.94 kB / 1.017 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.075e-05/1.22, allocations: 24 kB / 1.017 GB, free: 2.504 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003892/1.224, allocations: 0.5621 MB / 1.018 GB, free: 1.941 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001853/1.226, allocations: 2.387 MB / 1.02 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004414/1.23, allocations: 280 kB / 1.021 GB, free: 15.19 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000424/1.231, allocations: 99.94 kB / 1.021 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004794/1.236, allocations: 1.398 MB / 1.022 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003993/1.24, allocations: 1.579 MB / 1.024 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006029/1.246, allocations: 2.25 MB / 1.026 GB, free: 9.387 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.854e-05/1.246, allocations: 4 kB / 1.026 GB, free: 9.383 MB / 0.7481 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.008825/1.255, allocations: 2.773 MB / 1.028 GB, free: 6.586 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.703e-05/1.255, allocations: 72.16 kB / 1.029 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.204e-05/1.255, allocations: 12 kB / 1.029 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.692e-05/1.255, allocations: 28 kB / 1.029 GB, free: 6.465 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003277/1.258, allocations: 0.5032 MB / 1.029 GB, free: 5.961 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.847e-05/1.258, allocations: 31.86 kB / 1.029 GB, free: 5.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004202/1.262, allocations: 301.2 kB / 1.029 GB, free: 5.641 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002985/1.263, allocations: 91.91 kB / 1.029 GB, free: 5.551 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.0006757/1.263, allocations: 303.6 kB / 1.03 GB, free: 5.246 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008474/1.264, allocations: 260.8 kB / 1.03 GB, free: 4.988 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/1.27, allocations: 1.847 MB / 1.032 GB, free: 3.125 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/1.27, allocations: 8 kB / 1.032 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/1.27, allocations: 4 kB / 1.032 GB, free: 3.113 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/1.27, allocations: 3.984 kB / 1.032 GB, free: 3.109 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3079/1.578, allocations: 4.488 MB / 1.036 GB, free: 327 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.085e-05/1.578, allocations: 7.812 kB / 1.036 GB, free: 327 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001764/1.58, allocations: 300.3 kB / 1.036 GB, free: 327 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.081e-05/1.58, allocations: 11.41 kB / 1.037 GB, free: 327 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001049/1.58, allocations: 34.08 kB / 1.037 GB, free: 327 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008067/1.581, allocations: 2.371 MB / 1.039 GB, free: 324.7 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.344e-05/1.581, allocations: 6.938 kB / 1.039 GB, free: 324.7 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004645/1.586, allocations: 1.976 MB / 1.041 GB, free: 324 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001419/1.587, allocations: 0.5235 MB / 1.041 GB, free: 323.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004221/1.587, allocations: 34.52 kB / 1.041 GB, free: 323.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002207/1.59, allocations: 179.5 kB / 1.042 GB, free: 323.7 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.59, allocations: 79.03 kB / 1.042 GB, free: 323.7 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001569/1.59, allocations: 66.8 kB / 1.042 GB, free: 323.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003173/1.593, allocations: 1.729 MB / 1.043 GB, free: 323.1 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.41e-07/1.593, allocations: 1.125 kB / 1.043 GB, free: 323.1 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003372/1.597, allocations: 1.276 MB / 1.045 GB, free: 323 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.0007399/1.597, allocations: 379 kB / 1.045 GB, free: 322.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.007856/1.605, allocations: 3.596 MB / 1.048 GB, free: 321.7 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/1.605, allocations: 0 / 1.048 GB, free: 321.7 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001706/1.607, allocations: 0.8079 MB / 1.049 GB, free: 321.5 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005092/1.612, allocations: 1.195 MB / 1.05 GB, free: 321.2 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006525/1.619, allocations: 4.251 MB / 1.055 GB, free: 319.1 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000901/1.62, allocations: 1.691 MB / 1.056 GB, free: 318.3 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002857/1.622, allocations: 0.778 MB / 1.057 GB, free: 318.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006023/1.623, allocations: 197.2 kB / 1.057 GB, free: 318.2 MB / 0.7481 GB Notification: Performance of SimCode: time 1.112e-06/1.623, allocations: 0 / 1.057 GB, free: 318.2 MB / 0.7481 GB Notification: Performance of Templates: time 0.05965/1.683, allocations: 45.45 MB / 1.102 GB, free: 276.8 MB / 0.7481 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)