Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger") translateModel(Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.007021/0.007021, allocations: 100.6 kB / 15.73 MB, free: 6.012 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.001464/0.001464, allocations: 190.1 kB / 16.67 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.58/1.58, allocations: 205.1 MB / 222.5 MB, free: 4.48 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4449/0.4449, allocations: 54.94 MB / 324.9 MB, free: 15.99 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 74.75 kB / 456.2 MB, free: 38.45 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1347, allocations: 59.59 MB / 0.5037 GB, free: 9.863 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger): time 0.7664/0.9012, allocations: 328.6 MB / 0.8246 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.05074/0.952, allocations: 29.93 MB / 0.8538 GB, free: 3.832 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007533/0.9596, allocations: 99.44 kB / 0.8539 GB, free: 3.734 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.009352/0.969, allocations: 2.175 MB / 0.856 GB, free: 1.547 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.0225/0.9916, allocations: 4.972 MB / 0.8609 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.01689/1.008, allocations: 3.894 MB / 0.8647 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01497/1.023, allocations: 7.192 MB / 0.8717 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006178/1.03, allocations: 2.855 MB / 0.8745 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0149/1.045, allocations: 5.153 MB / 0.8795 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006938/1.052, allocations: 2.669 MB / 0.8822 GB, free: 6.695 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.001271/1.053, allocations: 312 kB / 0.8824 GB, free: 6.391 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01208/1.065, allocations: 4.576 MB / 0.8869 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.003066/1.068, allocations: 1.126 MB / 0.888 GB, free: 0.6758 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.4389/1.507, allocations: 1.804 MB / 0.8898 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.01613/1.523, allocations: 5.862 MB / 0.8955 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/1.523, allocations: 0 / 0.8955 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.044e-06/1.523, allocations: 0 / 0.8955 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0001783/1.524, allocations: 0 / 0.8955 GB, free: 13.05 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 568 * Number of variables: 568 Notification: Performance of Generate backend data structure: time 0.01006/1.534, allocations: 3.968 MB / 0.8994 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/1.534, allocations: 11.41 kB / 0.8994 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009548/1.543, allocations: 1.469 MB / 0.9008 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005168/1.548, allocations: 2.059 MB / 0.9028 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001957/1.549, allocations: 177.4 kB / 0.903 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004684/1.549, allocations: 233.1 kB / 0.9032 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008538/1.558, allocations: 3.482 MB / 0.9066 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.543e-05/1.558, allocations: 6.719 kB / 0.9066 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002931/1.558, allocations: 90.91 kB / 0.9067 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.719e-05/1.558, allocations: 95.64 kB / 0.9068 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00955/1.568, allocations: 3.542 MB / 0.9103 GB, free: 10.03 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02653/1.594, allocations: 14.38 MB / 0.9243 GB, free: 18.29 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00566/1.6, allocations: 1.916 MB / 0.9262 GB, free: 18.23 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001631/1.602, allocations: 0.7844 MB / 0.9269 GB, free: 18.2 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004031/1.602, allocations: 138.7 kB / 0.9271 GB, free: 18.1 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.535e-05/1.602, allocations: 56.94 kB / 0.9271 GB, free: 18.06 MB / 0.67 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001648/1.604, allocations: 217.5 kB / 0.9273 GB, free: 17.95 MB / 0.67 GB Notification: Performance of pre-optimization done (n=106): time 4.889e-06/1.604, allocations: 0 / 0.9273 GB, free: 17.95 MB / 0.67 GB Notification: Performance of matching and sorting (n=106): time 0.009253/1.613, allocations: 2.955 MB / 0.9302 GB, free: 17.73 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.482e-05/1.613, allocations: 119.6 kB / 0.9303 GB, free: 17.6 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006165/1.619, allocations: 2.593 MB / 0.9329 GB, free: 17.33 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003737/1.62, allocations: 59.86 kB / 0.9329 GB, free: 17.3 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/1.621, allocations: 1.34 MB / 0.9342 GB, free: 16.78 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003902/1.621, allocations: 393.2 kB / 0.9346 GB, free: 16.54 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008178/1.622, allocations: 419.5 kB / 0.935 GB, free: 16.49 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001093/1.622, allocations: 309.9 kB / 0.9353 GB, free: 16.19 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003078/1.625, allocations: 1.122 MB / 0.9364 GB, free: 16.15 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003217/1.629, allocations: 1.724 MB / 0.9381 GB, free: 15.41 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005682/1.634, allocations: 2.699 MB / 0.9407 GB, free: 14.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.837e-05/1.634, allocations: 4.875 kB / 0.9407 GB, free: 14.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=230) (initialization): time 0.008849/1.643, allocations: 3.311 MB / 0.944 GB, free: 14.16 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001978/1.643, allocations: 192.5 kB / 0.9441 GB, free: 13.97 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.856e-05/1.643, allocations: 15.22 kB / 0.9442 GB, free: 13.97 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.71e-05/1.644, allocations: 23.56 kB / 0.9442 GB, free: 13.97 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01118/1.655, allocations: 1.914 MB / 0.946 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01553/1.67, allocations: 7.726 MB / 0.9536 GB, free: 8.188 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004628/1.675, allocations: 334.1 kB / 0.9539 GB, free: 8.168 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004445/1.675, allocations: 103.5 kB / 0.954 GB, free: 8.168 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003931/1.679, allocations: 1.473 MB / 0.9555 GB, free: 8.066 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00312/1.683, allocations: 1.618 MB / 0.957 GB, free: 7.336 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00499/1.688, allocations: 2.494 MB / 0.9595 GB, free: 6.531 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.918e-06/1.688, allocations: 6.812 kB / 0.9595 GB, free: 6.531 MB / 0.67 GB Notification: Performance of matching and sorting (n=230) (initialization_lambda0): time 0.007208/1.695, allocations: 3.104 MB / 0.9625 GB, free: 6.094 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001381/1.695, allocations: 185 kB / 0.9627 GB, free: 5.906 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.634e-05/1.695, allocations: 13.38 kB / 0.9627 GB, free: 5.906 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.632e-05/1.695, allocations: 24.5 kB / 0.9627 GB, free: 5.906 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/1.698, allocations: 0.5567 MB / 0.9633 GB, free: 5.895 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.379e-05/1.698, allocations: 33.42 kB / 0.9633 GB, free: 5.895 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003629/1.701, allocations: 298 kB / 0.9636 GB, free: 5.879 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001983/1.701, allocations: 100.5 kB / 0.9637 GB, free: 5.879 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 8 (senMas2.i_x,senMas1.i_x,senMas4.i_x,senMas3.i_x,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 (228): * Single equations (assignments): 218 * Array equations: 0 * Algorithm blocks: 6 * 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.0007142/1.702, allocations: 307.9 kB / 0.964 GB, free: 5.688 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008083/1.703, allocations: 272.2 kB / 0.9642 GB, free: 5.543 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005562/1.709, allocations: 2.084 MB / 0.9663 GB, free: 5.418 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/1.709, allocations: 7.625 kB / 0.9663 GB, free: 5.418 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/1.709, allocations: 0 / 0.9663 GB, free: 5.418 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.698e-05/1.709, allocations: 7.641 kB / 0.9663 GB, free: 5.418 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01873/1.727, allocations: 5.255 MB / 0.9714 GB, free: 4.855 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.388e-05/1.727, allocations: 3.969 kB / 0.9714 GB, free: 4.855 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009944/1.737, allocations: 1.635 MB / 0.973 GB, free: 4.809 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.593e-05/1.737, allocations: 9.719 kB / 0.973 GB, free: 4.809 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002702/1.738, allocations: 35.23 kB / 0.9731 GB, free: 4.809 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01443/1.752, allocations: 7.57 MB / 0.9804 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/1.752, allocations: 5.781 kB / 0.9804 GB, free: 15.09 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006881/1.759, allocations: 2.189 MB / 0.9826 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002261/1.761, allocations: 0.5426 MB / 0.9831 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001166/1.763, allocations: 25.69 kB / 0.9831 GB, free: 13.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004106/1.767, allocations: 228.7 kB / 0.9834 GB, free: 13.01 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00048/1.767, allocations: 85.48 kB / 0.9834 GB, free: 12.94 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004254/1.768, allocations: 65.25 kB / 0.9835 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.005845/1.773, allocations: 1.776 MB / 0.9852 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of sort global known variables: time 5.51e-07/1.774, allocations: 0 / 0.9852 GB, free: 11.6 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00923/1.783, allocations: 1.396 MB / 0.9866 GB, free: 10.29 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (106): * Single equations (assignments): 102 * 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.001578/1.784, allocations: 348 kB / 0.9869 GB, free: 10.01 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.02156/1.806, allocations: 5.778 MB / 0.9926 GB, free: 5.082 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/1.806, allocations: 6.484 kB / 0.9926 GB, free: 5.078 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.01817/1.824, allocations: 3.134 MB / 0.9956 GB, free: 2.18 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0091/1.833, allocations: 1.297 MB / 0.9969 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/1.845, allocations: 4.435 MB / 1.001 GB, free: 13 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/1.848, allocations: 1.704 MB / 1.003 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004294/1.852, allocations: 0.7901 MB / 1.004 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006942/1.853, allocations: 190.5 kB / 1.004 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of SimCode: time 1.954e-06/1.853, allocations: 4 kB / 1.004 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of Templates: time 0.09104/1.944, allocations: 49.89 MB / 1.053 GB, free: 9.09 MB / 0.7481 GB make -j1 -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.makefile (rm -f Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; mkfifo Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe >> ../files/Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.sim & ./Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Fluid.Interfaces.Examples.ReverseFlowMassExchanger.pipe 2>&1)