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.00184/0.00184, allocations: 110.9 kB / 16.37 MB, free: 6.469 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.001762/0.001762, allocations: 189.9 kB / 17.3 MB, free: 5.828 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.388/1.388, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8304/0.8304, allocations: 132.2 MB / 423.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 67.89 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3459, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.6392/0.9851, allocations: 328.4 MB / 0.9022 GB, free: 10.57 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03905/1.024, allocations: 30.05 MB / 0.9315 GB, free: 12.64 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004951/1.029, allocations: 95.44 kB / 0.9316 GB, free: 12.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.006448/1.036, allocations: 2.093 MB / 0.9337 GB, free: 10.44 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.01514/1.051, allocations: 4.957 MB / 0.9385 GB, free: 5.465 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.009618/1.061, allocations: 3.657 MB / 0.9421 GB, free: 1.832 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.01143/1.072, allocations: 6.919 MB / 0.9488 GB, free: 10.89 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006197/1.078, allocations: 2.875 MB / 0.9517 GB, free: 7.953 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02017/1.098, allocations: 5.282 MB / 0.9568 GB, free: 2.68 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00659/1.105, allocations: 2.412 MB / 0.9592 GB, free: 276 kB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.001448/1.107, allocations: 296 kB / 0.9595 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01292/1.119, allocations: 4.809 MB / 0.9641 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002391/1.122, allocations: 1.067 MB / 0.9652 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.003834/1.126, allocations: 1.738 MB / 0.9669 GB, free: 8.344 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0134/1.139, allocations: 5.742 MB / 0.9725 GB, free: 2.586 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 9.007e-06/1.139, allocations: 3.984 kB / 0.9725 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.204e-06/1.139, allocations: 0 / 0.9725 GB, free: 2.582 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001105/1.139, allocations: 0 / 0.9725 GB, free: 2.582 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.009415/1.149, allocations: 3.7 MB / 0.9761 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/1.149, allocations: 8.031 kB / 0.9761 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009878/1.159, allocations: 1.464 MB / 0.9775 GB, free: 13.32 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005364/1.164, allocations: 2.065 MB / 0.9796 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/1.164, allocations: 176.1 kB / 0.9797 GB, free: 11 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00043/1.165, allocations: 219.9 kB / 0.9799 GB, free: 10.79 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006132/1.171, allocations: 3.035 MB / 0.9829 GB, free: 7.613 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.317e-05/1.171, allocations: 4 kB / 0.9829 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003166/1.171, allocations: 91.94 kB / 0.983 GB, free: 7.52 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.763e-05/1.171, allocations: 92 kB / 0.9831 GB, free: 7.426 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006892/1.178, allocations: 3.111 MB / 0.9861 GB, free: 4.297 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.02336/1.202, allocations: 14 MB / 0.9998 GB, free: 5.191 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003789/1.206, allocations: 1.659 MB / 1.001 GB, free: 3.523 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/1.207, allocations: 0.7772 MB / 1.002 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005881/1.208, allocations: 328.2 kB / 1.002 GB, free: 2.367 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.871e-05/1.208, allocations: 51.56 kB / 1.003 GB, free: 2.309 MB / 0.7169 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001062/1.209, allocations: 202.1 kB / 1.003 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=110): time 3.156e-06/1.209, allocations: 0 / 1.003 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of matching and sorting (n=110): time 0.005442/1.214, allocations: 2.36 MB / 1.005 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/1.214, allocations: 60.41 kB / 1.005 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003639/1.218, allocations: 2.517 MB / 1.008 GB, free: 13.13 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001692/1.218, allocations: 57.7 kB / 1.008 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009605/1.219, allocations: 1.276 MB / 1.009 GB, free: 11.78 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003033/1.219, allocations: 382.5 kB / 1.009 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006349/1.22, allocations: 399 kB / 1.01 GB, free: 11 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.22, allocations: 305.1 kB / 1.01 GB, free: 10.7 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002274/1.223, allocations: 0.9494 MB / 1.011 GB, free: 9.75 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002766/1.225, allocations: 1.595 MB / 1.012 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004355/1.23, allocations: 2.249 MB / 1.015 GB, free: 5.434 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.158e-06/1.23, allocations: 4 kB / 1.015 GB, free: 5.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006345/1.236, allocations: 2.785 MB / 1.017 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.993e-05/1.236, allocations: 71.41 kB / 1.017 GB, free: 2.539 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/1.236, allocations: 12 kB / 1.017 GB, free: 2.527 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.971e-05/1.236, allocations: 27.94 kB / 1.017 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002874/1.239, allocations: 0.5621 MB / 1.018 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001399/1.24, allocations: 2.391 MB / 1.02 GB, free: 15.45 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/1.244, allocations: 286.9 kB / 1.021 GB, free: 15.18 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002052/1.244, allocations: 95.95 kB / 1.021 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003156/1.247, allocations: 1.39 MB / 1.022 GB, free: 13.69 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002823/1.25, allocations: 1.583 MB / 1.024 GB, free: 11.83 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004421/1.254, allocations: 2.25 MB / 1.026 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.105e-05/1.254, allocations: 4 kB / 1.026 GB, free: 9.375 MB / 0.7481 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006353/1.261, allocations: 2.773 MB / 1.028 GB, free: 6.578 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.099e-05/1.261, allocations: 76.14 kB / 1.029 GB, free: 6.492 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.036e-05/1.261, allocations: 16 kB / 1.029 GB, free: 6.477 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.272e-05/1.261, allocations: 27.94 kB / 1.029 GB, free: 6.449 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002434/1.263, allocations: 0.4993 MB / 1.029 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.895e-05/1.263, allocations: 35.86 kB / 1.029 GB, free: 5.914 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003089/1.266, allocations: 293.5 kB / 1.029 GB, free: 5.629 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/1.267, allocations: 95.95 kB / 1.029 GB, free: 5.535 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.0005424/1.267, allocations: 295.6 kB / 1.03 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005513/1.268, allocations: 264.8 kB / 1.03 GB, free: 4.977 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004361/1.272, allocations: 1.843 MB / 1.032 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/1.272, allocations: 12 kB / 1.032 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.945e-06/1.272, allocations: 0 / 1.032 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.323e-05/1.272, allocations: 7.969 kB / 1.032 GB, free: 3.098 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3006/1.573, allocations: 4.489 MB / 1.036 GB, free: 327.8 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.319e-05/1.573, allocations: 11.08 kB / 1.036 GB, free: 327.8 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001794/1.575, allocations: 293 kB / 1.036 GB, free: 327.8 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.776e-05/1.575, allocations: 11.25 kB / 1.037 GB, free: 327.8 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001009/1.575, allocations: 33.78 kB / 1.037 GB, free: 327.8 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007083/1.576, allocations: 2.373 MB / 1.039 GB, free: 325.4 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/1.576, allocations: 10.66 kB / 1.039 GB, free: 325.4 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004428/1.58, allocations: 1.967 MB / 1.041 GB, free: 324.7 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001377/1.581, allocations: 0.5244 MB / 1.041 GB, free: 324.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004146/1.582, allocations: 30.25 kB / 1.041 GB, free: 324.5 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002174/1.584, allocations: 180.4 kB / 1.041 GB, free: 324.5 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/1.584, allocations: 83.22 kB / 1.042 GB, free: 324.5 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001711/1.584, allocations: 64.56 kB / 1.042 GB, free: 324.5 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.003275/1.588, allocations: 1.724 MB / 1.043 GB, free: 323.8 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3e-07/1.588, allocations: 0 / 1.043 GB, free: 323.8 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003656/1.591, allocations: 1.283 MB / 1.045 GB, free: 323.8 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.0007649/1.592, allocations: 380.4 kB / 1.045 GB, free: 323.6 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00801/1.6, allocations: 3.601 MB / 1.048 GB, free: 322.5 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.14e-05/1.6, allocations: 0 / 1.048 GB, free: 322.5 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001757/1.602, allocations: 0.8077 MB / 1.049 GB, free: 322.2 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005193/1.607, allocations: 1.207 MB / 1.05 GB, free: 322 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006408/1.614, allocations: 4.236 MB / 1.055 GB, free: 319.9 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000925/1.615, allocations: 1.693 MB / 1.056 GB, free: 319.1 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002957/1.618, allocations: 0.7809 MB / 1.057 GB, free: 319 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006035/1.618, allocations: 195.1 kB / 1.057 GB, free: 319 MB / 0.7481 GB Notification: Performance of SimCode: time 8.42e-07/1.618, allocations: 0 / 1.057 GB, free: 319 MB / 0.7481 GB Notification: Performance of Templates: time 0.06134/1.679, allocations: 45.45 MB / 1.102 GB, free: 277.5 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)