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/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/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/Annex60 1.0.0/package.mo): time 0.2829/0.2829, allocations: 54.33 MB / 66.89 MB, free: 6.098 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001096/0.001096, allocations: 184.8 kB / 80.71 MB, free: 15.4 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.395/1.395, allocations: 194.2 MB / 288.6 MB, free: 15.06 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001621/0.001622, allocations: 116.3 kB / 346.9 MB, free: 4.789 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.057e-05/3.06e-05, allocations: 7.984 kB / 412.4 MB, free: 21.48 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1282, allocations: 57.64 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.573/5.701, allocations: 2.15 GB / 2.609 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/5.701, allocations: 91.5 kB / 2.609 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 11.25/16.96, allocations: 2.704 GB / 5.314 GB, free: 41.43 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.336e-06/16.96, allocations: 0.9375 kB / 5.314 GB, free: 41.43 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0003989/16.96, allocations: 73.75 kB / 5.314 GB, free: 41.43 MB / 0.6198 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.01574/16.97, allocations: 3.639 MB / 5.317 GB, free: 40.06 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.876e-05/16.97, allocations: 11.38 kB / 5.317 GB, free: 40.06 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01041/16.98, allocations: 1.177 MB / 5.318 GB, free: 39.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008077/16.99, allocations: 2.205 MB / 5.321 GB, free: 39.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001691/16.99, allocations: 439.2 kB / 5.321 GB, free: 39.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001465/16.99, allocations: 232.8 kB / 5.321 GB, free: 39.48 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00791/17, allocations: 3.158 MB / 5.324 GB, free: 39.08 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.91e-05/17, allocations: 2.844 kB / 5.324 GB, free: 39.08 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003366/17, allocations: 94.88 kB / 5.324 GB, free: 39.08 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001025/17, allocations: 93.22 kB / 5.325 GB, free: 39.07 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006372/17.01, allocations: 2.993 MB / 5.327 GB, free: 39.04 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02751/17.04, allocations: 14.45 MB / 5.342 GB, free: 31.01 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003193/17.04, allocations: 1.489 MB / 5.343 GB, free: 30.98 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008959/17.04, allocations: 0.56 MB / 5.344 GB, free: 30.97 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/17.04, allocations: 124.7 kB / 5.344 GB, free: 30.88 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.811e-05/17.04, allocations: 47.5 kB / 5.344 GB, free: 30.84 MB / 0.6198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002315/17.04, allocations: 179.6 kB / 5.344 GB, free: 30.76 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=102): time 9.388e-06/17.04, allocations: 0 / 5.344 GB, free: 30.76 MB / 0.6198 GB Notification: Performance of matching and sorting (n=102): time 0.005253/17.05, allocations: 1.676 MB / 5.346 GB, free: 30.58 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.948e-05/17.05, allocations: 117 kB / 5.346 GB, free: 30.45 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003194/17.05, allocations: 1.876 MB / 5.347 GB, free: 30.19 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0002455/17.05, allocations: 52.77 kB / 5.348 GB, free: 30.16 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009471/17.05, allocations: 1.434 MB / 5.349 GB, free: 29.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/17.05, allocations: 371.9 kB / 5.349 GB, free: 29.28 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/17.05, allocations: 50.44 kB / 5.349 GB, free: 29.28 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001242/17.05, allocations: 391 kB / 5.35 GB, free: 28.97 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001199/17.06, allocations: 0.7344 MB / 5.35 GB, free: 28.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001698/17.06, allocations: 1.757 MB / 5.352 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001498/17.06, allocations: 1.146 MB / 5.353 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.679e-05/17.06, allocations: 14.12 kB / 5.353 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004442/17.06, allocations: 2.816 MB / 5.356 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.004161/17.07, allocations: 13.02 MB / 5.369 GB, free: 29.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-05/17.07, allocations: 35.12 kB / 5.369 GB, free: 29.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.785e-05/17.07, allocations: 52.95 kB / 5.369 GB, free: 29.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01079/17.08, allocations: 2.184 MB / 5.371 GB, free: 29.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004855/17.08, allocations: 3.067 MB / 5.374 GB, free: 27.22 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005426/17.09, allocations: 0.5264 MB / 5.374 GB, free: 27.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005561/17.09, allocations: 128.6 kB / 5.375 GB, free: 27.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/17.09, allocations: 6.688 kB / 5.375 GB, free: 27.18 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003897/17.09, allocations: 2.578 MB / 5.377 GB, free: 26.97 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/17.09, allocations: 31.44 kB / 5.377 GB, free: 26.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.691e-05/17.09, allocations: 48.53 kB / 5.377 GB, free: 26.97 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002394/17.1, allocations: 0.6303 MB / 5.378 GB, free: 26.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.417e-05/17.1, allocations: 66.75 kB / 5.378 GB, free: 26.96 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003639/17.1, allocations: 385.9 kB / 5.378 GB, free: 26.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002322/17.1, allocations: 125.7 kB / 5.378 GB, free: 26.94 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 141 * Number of states: 0 () * Number of discrete variables: 8 (masExcFor.i1_w,masExcFor.i2_w,masExcRev.i1_w,masExcRev.i2_w,senMas3.i_x,senMas4.i_x,senMas1.i_x,senMas2.i_x) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (280): * Single equations (assignments): 270 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007307/17.1, allocations: 262.7 kB / 5.379 GB, free: 26.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005168/17.1, allocations: 237.9 kB / 5.379 GB, free: 26.69 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00273/17.1, allocations: 1.409 MB / 5.38 GB, free: 26.61 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/17.1, allocations: 9.719 kB / 5.38 GB, free: 26.61 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/17.1, allocations: 5.047 kB / 5.38 GB, free: 26.6 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/17.1, allocations: 6.516 kB / 5.38 GB, free: 26.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/17.12, allocations: 4.801 MB / 5.385 GB, free: 26.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-05/17.12, allocations: 7.375 kB / 5.385 GB, free: 26.12 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009417/17.13, allocations: 1.862 MB / 5.387 GB, free: 26.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.063e-05/17.13, allocations: 15.52 kB / 5.387 GB, free: 26.11 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002061/17.13, allocations: 31.44 kB / 5.387 GB, free: 26.11 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01018/17.14, allocations: 6.421 MB / 5.393 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.786e-06/17.14, allocations: 8.781 kB / 5.393 GB, free: 20.85 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004252/17.14, allocations: 1.905 MB / 5.395 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/17.14, allocations: 482.6 kB / 5.395 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/17.15, allocations: 26.64 kB / 5.395 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003345/17.15, allocations: 285.5 kB / 5.396 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/17.15, allocations: 84.59 kB / 5.396 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001768/17.15, allocations: 53.7 kB / 5.396 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.002757/17.15, allocations: 1.365 MB / 5.397 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.7e-07/17.15, allocations: 0 / 5.397 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.009332/17.16, allocations: 2.047 MB / 5.399 GB, free: 19.43 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01195/17.17, allocations: 7.622 MB / 5.407 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01887/17.19, allocations: 5.228 MB / 5.412 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.861e-05/17.19, allocations: 4 kB / 5.412 GB, free: 14.41 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01549/17.21, allocations: 3.06 MB / 5.415 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006162/17.21, allocations: 0.8908 MB / 5.416 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008939/17.22, allocations: 3.121 MB / 5.419 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002225/17.23, allocations: 1.753 MB / 5.42 GB, free: 12.65 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.006122/17.23, allocations: 0.9173 MB / 5.421 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006318/17.23, allocations: 135.7 kB / 5.421 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.452e-06/17.23, allocations: 0 / 5.421 GB, free: 12.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.7407/17.97, allocations: 121.9 MB / 5.54 GB, free: 88.41 MB / 0.6667 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)