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.001176/0.001175, allocations: 105.4 kB / 16.41 MB, free: 6.496 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.001234/0.001234, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.4/1.4, 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.795/0.795, allocations: 132.2 MB / 423.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 67.14 kB / 0.582 GB, free: 23.96 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1567, allocations: 80.22 MB / 0.6604 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7194/0.8762, allocations: 328.4 MB / 0.981 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.04117/0.9174, allocations: 30.04 MB / 1.01 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004404/0.9218, allocations: 99.44 kB / 1.01 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006898/0.9288, allocations: 2.089 MB / 1.013 GB, free: 13 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01405/0.9429, allocations: 4.951 MB / 1.017 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01014/0.9531, allocations: 3.672 MB / 1.021 GB, free: 4.391 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.01071/0.9638, allocations: 6.915 MB / 1.028 GB, free: 13.45 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005605/0.9694, allocations: 2.879 MB / 1.031 GB, free: 10.51 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01434/0.9838, allocations: 5.335 MB / 1.036 GB, free: 5.188 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005158/0.989, allocations: 2.409 MB / 1.038 GB, free: 2.781 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001431/0.9904, allocations: 296 kB / 1.038 GB, free: 2.492 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01053/1.001, allocations: 4.805 MB / 1.043 GB, free: 13.68 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002266/1.003, allocations: 1.067 MB / 1.044 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.004043/1.007, allocations: 1.742 MB / 1.046 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.01249/1.02, allocations: 5.757 MB / 1.051 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.444e-06/1.02, allocations: 0 / 1.051 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.224e-06/1.02, allocations: 0 / 1.051 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001853/1.02, allocations: 0 / 1.051 GB, free: 5.082 MB / 0.8106 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.01016/1.03, allocations: 3.692 MB / 1.055 GB, free: 1.305 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/1.03, allocations: 12.03 kB / 1.055 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3603/1.391, allocations: 1.459 MB / 1.056 GB, free: 319.3 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005516/1.396, allocations: 2.072 MB / 1.058 GB, free: 318.7 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002253/1.397, allocations: 168.8 kB / 1.059 GB, free: 318.6 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006211/1.397, allocations: 220.2 kB / 1.059 GB, free: 318.6 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006572/1.404, allocations: 3.039 MB / 1.062 GB, free: 317.3 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.687e-05/1.404, allocations: 1.5 kB / 1.062 GB, free: 317.3 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002757/1.404, allocations: 89.45 kB / 1.062 GB, free: 317.2 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00013/1.404, allocations: 90.94 kB / 1.062 GB, free: 317.2 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008/1.412, allocations: 3.108 MB / 1.065 GB, free: 316.2 MB / 0.8106 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.02342/1.436, allocations: 14.03 MB / 1.079 GB, free: 306.4 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003788/1.44, allocations: 1.658 MB / 1.08 GB, free: 305.8 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001583/1.441, allocations: 0.7776 MB / 1.081 GB, free: 305.5 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005553/1.442, allocations: 324.1 kB / 1.081 GB, free: 305.2 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/1.442, allocations: 46.41 kB / 1.081 GB, free: 305.1 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001414/1.443, allocations: 209.5 kB / 1.082 GB, free: 305 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 5.16e-06/1.443, allocations: 0 / 1.082 GB, free: 305 MB / 0.8106 GB Notification: Performance of matching and sorting (n=110): time 0.005834/1.449, allocations: 2.352 MB / 1.084 GB, free: 303.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/1.449, allocations: 74.89 kB / 1.084 GB, free: 303.8 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004093/1.453, allocations: 2.512 MB / 1.086 GB, free: 302.5 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0003882/1.454, allocations: 59.45 kB / 1.087 GB, free: 302.4 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007452/1.454, allocations: 1.271 MB / 1.088 GB, free: 301.3 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.000327/1.455, allocations: 388.7 kB / 1.088 GB, free: 301 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006221/1.455, allocations: 387.9 kB / 1.089 GB, free: 300.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 4.598e-05/1.455, allocations: 302.1 kB / 1.089 GB, free: 300.5 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/1.458, allocations: 0.9557 MB / 1.09 GB, free: 300 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002497/1.46, allocations: 1.592 MB / 1.091 GB, free: 298.8 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003952/1.464, allocations: 2.258 MB / 1.093 GB, free: 297.3 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/1.464, allocations: 3.969 kB / 1.093 GB, free: 297.3 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.005871/1.47, allocations: 2.773 MB / 1.096 GB, free: 296 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 6.956e-05/1.47, allocations: 79.3 kB / 1.096 GB, free: 295.9 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/1.47, allocations: 19.81 kB / 1.096 GB, free: 295.9 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.145e-05/1.47, allocations: 19.78 kB / 1.096 GB, free: 295.9 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002698/1.473, allocations: 0.5514 MB / 1.097 GB, free: 295.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008727/1.474, allocations: 2.402 MB / 1.099 GB, free: 293.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/1.477, allocations: 281.6 kB / 1.099 GB, free: 293.2 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002606/1.478, allocations: 91.02 kB / 1.1 GB, free: 293.2 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002888/1.48, allocations: 1.394 MB / 1.101 GB, free: 292.5 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002242/1.483, allocations: 1.581 MB / 1.102 GB, free: 291.2 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003628/1.486, allocations: 2.25 MB / 1.105 GB, free: 289.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.198e-05/1.486, allocations: 3.844 kB / 1.105 GB, free: 289.7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.005494/1.492, allocations: 2.783 MB / 1.107 GB, free: 287.3 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/1.492, allocations: 63.41 kB / 1.107 GB, free: 287.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/1.492, allocations: 16 kB / 1.107 GB, free: 287.2 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/1.492, allocations: 20 kB / 1.107 GB, free: 287.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/1.494, allocations: 0.5153 MB / 1.108 GB, free: 286.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.142e-05/1.494, allocations: 31.92 kB / 1.108 GB, free: 286.7 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003163/1.497, allocations: 288.8 kB / 1.108 GB, free: 286.4 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/1.498, allocations: 97.75 kB / 1.108 GB, free: 286.3 MB / 0.8106 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.0004972/1.498, allocations: 303.6 kB / 1.109 GB, free: 286 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005916/1.499, allocations: 260.8 kB / 1.109 GB, free: 285.7 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/1.502, allocations: 1.841 MB / 1.111 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.699e-06/1.502, allocations: 16 kB / 1.111 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/1.502, allocations: 0 / 1.111 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.976e-06/1.502, allocations: 3.984 kB / 1.111 GB, free: 283.9 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006965/1.509, allocations: 4.489 MB / 1.115 GB, free: 279.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.566e-06/1.509, allocations: 4 kB / 1.115 GB, free: 279.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/1.511, allocations: 305.5 kB / 1.115 GB, free: 279 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-05/1.511, allocations: 8 kB / 1.115 GB, free: 279 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.802e-05/1.511, allocations: 43.97 kB / 1.115 GB, free: 278.9 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006561/1.512, allocations: 2.371 MB / 1.118 GB, free: 276.4 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/1.512, allocations: 4 kB / 1.118 GB, free: 276.4 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003491/1.515, allocations: 1.979 MB / 1.12 GB, free: 274.4 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00111/1.516, allocations: 0.5211 MB / 1.12 GB, free: 273.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003826/1.517, allocations: 35.92 kB / 1.12 GB, free: 273.8 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002115/1.519, allocations: 174.6 kB / 1.12 GB, free: 273.6 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/1.519, allocations: 80.62 kB / 1.12 GB, free: 273.5 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001228/1.519, allocations: 67.95 kB / 1.121 GB, free: 273.5 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.002245/1.521, allocations: 1.727 MB / 1.122 GB, free: 271.8 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.01e-07/1.521, allocations: 3.938 kB / 1.122 GB, free: 271.7 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.002915/1.524, allocations: 1.283 MB / 1.124 GB, free: 270.5 MB / 0.8106 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.0007722/1.525, allocations: 380.9 kB / 1.124 GB, free: 270.2 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.006865/1.532, allocations: 3.595 MB / 1.127 GB, free: 266.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/1.532, allocations: 448 / 1.127 GB, free: 266.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.001531/1.533, allocations: 0.8071 MB / 1.128 GB, free: 265.7 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005093/1.539, allocations: 1.201 MB / 1.129 GB, free: 264.6 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007124/1.546, allocations: 4.333 MB / 1.134 GB, free: 260.2 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008484/1.547, allocations: 1.684 MB / 1.135 GB, free: 258.4 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001058/1.548, allocations: 219.3 kB / 1.135 GB, free: 258.2 MB / 0.8106 GB Notification: Performance of SimCode: time 5.11e-07/1.548, allocations: 0 / 1.135 GB, free: 258.2 MB / 0.8106 GB Notification: Performance of Templates: time 0.07847/1.626, allocations: 86.46 MB / 1.22 GB, free: 171.9 MB / 0.8106 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)