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.001136/0.001136, allocations: 104.9 kB / 16.41 MB, free: 6.504 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.001095/0.001095, allocations: 189.8 kB / 17.34 MB, free: 5.742 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.354/1.354, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9873/0.9873, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 63.16 kB / 0.5863 GB, free: 21.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1906/0.1918, allocations: 80.92 MB / 0.6653 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7659/0.9577, allocations: 328.4 MB / 0.986 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.03618/0.9939, allocations: 30.03 MB / 1.015 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00465/0.9987, allocations: 95.44 kB / 1.015 GB, free: 8.043 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.006241/1.005, allocations: 2.093 MB / 1.017 GB, free: 5.938 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01347/1.018, allocations: 4.962 MB / 1.022 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.01079/1.029, allocations: 3.658 MB / 1.026 GB, free: 13.32 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0117/1.041, allocations: 6.922 MB / 1.033 GB, free: 6.375 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005625/1.047, allocations: 2.867 MB / 1.035 GB, free: 3.449 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01498/1.062, allocations: 5.343 MB / 1.041 GB, free: 14.11 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005543/1.067, allocations: 2.41 MB / 1.043 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.001436/1.069, allocations: 295.9 kB / 1.043 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01062/1.079, allocations: 4.809 MB / 1.048 GB, free: 6.598 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.002348/1.082, allocations: 1.067 MB / 1.049 GB, free: 5.527 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.004609/1.086, allocations: 1.742 MB / 1.051 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.6418/1.728, allocations: 5.745 MB / 1.056 GB, free: 22.59 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/1.728, allocations: 0.5 kB / 1.056 GB, free: 22.59 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.673e-06/1.728, allocations: 0 / 1.056 GB, free: 22.59 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0002118/1.728, allocations: 1.906 kB / 1.056 GB, free: 22.59 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.01239/1.741, allocations: 3.697 MB / 1.06 GB, free: 21.27 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/1.741, allocations: 10.55 kB / 1.06 GB, free: 21.27 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/1.752, allocations: 1.469 MB / 1.061 GB, free: 21.1 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00582/1.758, allocations: 2.067 MB / 1.063 GB, free: 20.54 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002535/1.758, allocations: 169.9 kB / 1.064 GB, free: 20.53 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001026/1.759, allocations: 221.7 kB / 1.064 GB, free: 20.53 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008253/1.768, allocations: 3.036 MB / 1.067 GB, free: 20.19 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.724e-05/1.768, allocations: 6.578 kB / 1.067 GB, free: 20.19 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003559/1.768, allocations: 88.56 kB / 1.067 GB, free: 20.19 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001389/1.768, allocations: 89.5 kB / 1.067 GB, free: 20.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008693/1.777, allocations: 3.11 MB / 1.07 GB, free: 20.15 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.02522/1.802, allocations: 14.02 MB / 1.084 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004086/1.806, allocations: 1.657 MB / 1.085 GB, free: 12.65 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001757/1.808, allocations: 0.7689 MB / 1.086 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005953/1.809, allocations: 326.5 kB / 1.086 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.641e-05/1.809, allocations: 49.56 kB / 1.086 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001909/1.811, allocations: 202 kB / 1.087 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=110): time 1.088e-05/1.811, allocations: 0 / 1.087 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=110): time 0.006407/1.817, allocations: 2.359 MB / 1.089 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/1.817, allocations: 66.28 kB / 1.089 GB, free: 11.99 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004444/1.822, allocations: 2.512 MB / 1.091 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0005421/1.822, allocations: 59.27 kB / 1.091 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009774/1.823, allocations: 1.268 MB / 1.093 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004561/1.824, allocations: 387.1 kB / 1.093 GB, free: 11.01 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006815/1.824, allocations: 403.5 kB / 1.093 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 5.176e-05/1.825, allocations: 305.9 kB / 1.094 GB, free: 10.66 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002425/1.827, allocations: 0.9561 MB / 1.095 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002778/1.83, allocations: 1.59 MB / 1.096 GB, free: 9.93 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004407/1.834, allocations: 2.26 MB / 1.098 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/1.834, allocations: 5.688 kB / 1.098 GB, free: 9.324 MB / 0.8106 GB Notification: Performance of matching and sorting (n=216) (initialization): time 0.006861/1.841, allocations: 2.78 MB / 1.101 GB, free: 9.031 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 7.322e-05/1.841, allocations: 77.36 kB / 1.101 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/1.841, allocations: 13.34 kB / 1.101 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.317e-05/1.841, allocations: 20.06 kB / 1.101 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/1.844, allocations: 0.5573 MB / 1.102 GB, free: 8.957 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001603/1.846, allocations: 2.397 MB / 1.104 GB, free: 22.61 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004108/1.85, allocations: 281.3 kB / 1.104 GB, free: 22.59 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003857/1.85, allocations: 88.95 kB / 1.105 GB, free: 22.59 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003568/1.854, allocations: 1.398 MB / 1.106 GB, free: 22.49 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002752/1.857, allocations: 1.588 MB / 1.107 GB, free: 21.74 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004479/1.861, allocations: 2.24 MB / 1.11 GB, free: 21.13 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.494e-05/1.861, allocations: 3.875 kB / 1.11 GB, free: 21.13 MB / 0.8262 GB Notification: Performance of matching and sorting (n=216) (initialization_lambda0): time 0.006939/1.868, allocations: 2.781 MB / 1.112 GB, free: 20.83 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.041e-05/1.868, allocations: 75.02 kB / 1.112 GB, free: 20.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.337e-05/1.868, allocations: 13.66 kB / 1.112 GB, free: 20.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/1.868, allocations: 22.41 kB / 1.112 GB, free: 20.77 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002438/1.871, allocations: 0.5092 MB / 1.113 GB, free: 20.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.073e-05/1.871, allocations: 30.97 kB / 1.113 GB, free: 20.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/1.875, allocations: 297.8 kB / 1.113 GB, free: 20.74 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000228/1.875, allocations: 91.58 kB / 1.113 GB, free: 20.74 MB / 0.8262 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.000694/1.876, allocations: 289.4 kB / 1.114 GB, free: 20.55 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006142/1.876, allocations: 263.8 kB / 1.114 GB, free: 20.41 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004188/1.88, allocations: 1.844 MB / 1.116 GB, free: 20.3 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/1.881, allocations: 14.56 kB / 1.116 GB, free: 20.3 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.881, allocations: 2.75 kB / 1.116 GB, free: 20.3 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.091e-05/1.881, allocations: 4.266 kB / 1.116 GB, free: 20.3 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008388/1.889, allocations: 4.499 MB / 1.12 GB, free: 19.71 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.228e-06/1.889, allocations: 6.125 kB / 1.12 GB, free: 19.71 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001639/1.891, allocations: 304.6 kB / 1.12 GB, free: 19.7 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.244e-05/1.891, allocations: 14.69 kB / 1.12 GB, free: 19.7 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.459e-05/1.891, allocations: 35.59 kB / 1.12 GB, free: 19.7 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001173/1.892, allocations: 2.366 MB / 1.123 GB, free: 17.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.853e-06/1.892, allocations: 11.67 kB / 1.123 GB, free: 17.35 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004244/1.896, allocations: 1.97 MB / 1.125 GB, free: 16.85 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001564/1.898, allocations: 0.5325 MB / 1.125 GB, free: 16.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006345/1.898, allocations: 23.59 kB / 1.125 GB, free: 16.62 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002509/1.901, allocations: 179.5 kB / 1.125 GB, free: 16.61 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000154/1.901, allocations: 75.47 kB / 1.125 GB, free: 16.6 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/1.901, allocations: 63.8 kB / 1.126 GB, free: 16.6 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.002854/1.904, allocations: 1.73 MB / 1.127 GB, free: 16.45 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.8e-07/1.904, allocations: 0 / 1.127 GB, free: 16.45 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.004242/1.908, allocations: 1.288 MB / 1.128 GB, free: 16.32 MB / 0.8262 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.0008403/1.909, allocations: 367.9 kB / 1.129 GB, free: 16.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.008617/1.918, allocations: 3.592 MB / 1.132 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.335e-05/1.918, allocations: 3.031 kB / 1.132 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001923/1.92, allocations: 0.8131 MB / 1.133 GB, free: 15.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006685/1.927, allocations: 1.2 MB / 1.134 GB, free: 15.62 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007819/1.934, allocations: 4.34 MB / 1.139 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001196/1.936, allocations: 1.678 MB / 1.14 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001271/1.937, allocations: 219.6 kB / 1.14 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of SimCode: time 1.022e-06/1.937, allocations: 1.203 kB / 1.14 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of Templates: time 0.09668/2.034, allocations: 86.09 MB / 1.224 GB, free: 1.434 MB / 0.8887 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)