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.3118/0.3118, allocations: 55.02 MB / 69.97 MB, free: 8.676 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.001468/0.001468, allocations: 190.8 kB / 83.98 MB, free: 10.84 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.63/1.63, allocations: 194.4 MB / 292.3 MB, free: 3.582 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001639/0.001639, allocations: 118.9 kB / 350.7 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000367/0.0003671, allocations: 23.98 kB / 418.9 MB, free: 37.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1384/0.1388, allocations: 57.64 MB / 476.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.767/5.906, allocations: 2.15 GB / 2.616 GB, free: 146 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/5.906, allocations: 102.5 kB / 2.616 GB, free: 146 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 11.65/17.56, allocations: 2.707 GB / 5.323 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 4.819e-06/17.56, allocations: 0 / 5.323 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.000386/17.56, allocations: 74.73 kB / 5.323 GB, free: 27.68 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.02009/17.58, allocations: 4.035 MB / 5.327 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 6.438e-05/17.58, allocations: 12.03 kB / 5.327 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01051/17.59, allocations: 1.185 MB / 5.328 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00747/17.6, allocations: 2.206 MB / 5.33 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001324/17.6, allocations: 440.3 kB / 5.33 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/17.6, allocations: 232 kB / 5.331 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01042/17.61, allocations: 3.577 MB / 5.334 GB, free: 17.52 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.267e-05/17.61, allocations: 7.953 kB / 5.334 GB, free: 17.51 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004627/17.61, allocations: 96 kB / 5.334 GB, free: 17.41 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001077/17.61, allocations: 96.25 kB / 5.334 GB, free: 17.32 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01057/17.62, allocations: 3.697 MB / 5.338 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03599/17.66, allocations: 14.42 MB / 5.352 GB, free: 14.01 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006825/17.67, allocations: 1.887 MB / 5.354 GB, free: 12.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005607/17.67, allocations: 118.2 kB / 5.354 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.742e-05/17.67, allocations: 51.56 kB / 5.354 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002897/17.67, allocations: 176.1 kB / 5.354 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=102): time 1.43e-05/17.67, allocations: 0 / 5.354 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=102): time 0.01105/17.68, allocations: 2.73 MB / 5.357 GB, free: 9.016 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/17.68, allocations: 119.8 kB / 5.357 GB, free: 8.875 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00699/17.69, allocations: 1.994 MB / 5.359 GB, free: 6.867 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0006224/17.69, allocations: 53.7 kB / 5.359 GB, free: 6.809 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.002098/17.69, allocations: 1.45 MB / 5.36 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007811/17.69, allocations: 371 kB / 5.361 GB, free: 4.973 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004332/17.69, allocations: 44 kB / 5.361 GB, free: 4.93 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0003362/17.69, allocations: 390.3 kB / 5.361 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003681/17.7, allocations: 1.086 MB / 5.362 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004928/17.7, allocations: 2.113 MB / 5.364 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.777/18.48, allocations: 1.495 MB / 5.366 GB, free: 52.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.48e-05/18.48, allocations: 10.84 kB / 5.366 GB, free: 52.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.01201/18.49, allocations: 3.529 MB / 5.369 GB, free: 51.98 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.003576/18.49, allocations: 13.02 MB / 5.382 GB, free: 38.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.286e-05/18.49, allocations: 30.22 kB / 5.382 GB, free: 38.48 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001133/18.49, allocations: 49.44 kB / 5.382 GB, free: 38.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01237/18.51, allocations: 2.185 MB / 5.384 GB, free: 38.48 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006098/18.51, allocations: 3.379 MB / 5.387 GB, free: 36.15 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006015/18.52, allocations: 0.5366 MB / 5.388 GB, free: 36.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008803/18.52, allocations: 131.6 kB / 5.388 GB, free: 36.14 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.377e-05/18.52, allocations: 3.688 kB / 5.388 GB, free: 36.14 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009258/18.53, allocations: 3.079 MB / 5.391 GB, free: 35.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001359/18.53, allocations: 34.41 kB / 5.391 GB, free: 35.93 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.401e-05/18.53, allocations: 50.72 kB / 5.391 GB, free: 35.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003183/18.53, allocations: 0.6279 MB / 5.392 GB, free: 35.93 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001079/18.53, allocations: 66.05 kB / 5.392 GB, free: 35.93 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004155/18.54, allocations: 381.4 kB / 5.392 GB, free: 35.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000361/18.54, allocations: 124.9 kB / 5.392 GB, free: 35.93 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 () * Number of clocked 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.002806/18.54, allocations: 0.6877 MB / 5.393 GB, free: 35.74 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/18.54, allocations: 246.4 kB / 5.393 GB, free: 35.66 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006111/18.55, allocations: 1.887 MB / 5.395 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.967e-05/18.55, allocations: 10.3 kB / 5.395 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.018e-05/18.55, allocations: 2.031 kB / 5.395 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.877e-05/18.55, allocations: 8.156 kB / 5.395 GB, free: 35.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02037/18.57, allocations: 5.293 MB / 5.4 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.288e-05/18.57, allocations: 5.906 kB / 5.4 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01066/18.58, allocations: 1.864 MB / 5.402 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.99e-05/18.58, allocations: 14.73 kB / 5.402 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/18.58, allocations: 28.88 kB / 5.402 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01477/18.59, allocations: 7.631 MB / 5.41 GB, free: 29.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.101e-05/18.59, allocations: 14.92 kB / 5.41 GB, free: 29.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006367/18.6, allocations: 2.383 MB / 5.412 GB, free: 28.92 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002244/18.6, allocations: 479.6 kB / 5.412 GB, free: 28.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003965/18.6, allocations: 24.83 kB / 5.412 GB, free: 28.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00254/18.6, allocations: 295.7 kB / 5.413 GB, free: 28.69 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00026/18.61, allocations: 78.14 kB / 5.413 GB, free: 28.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001349/18.61, allocations: 55.34 kB / 5.413 GB, free: 28.69 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.003306/18.61, allocations: 1.502 MB / 5.414 GB, free: 28.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.863e-06/18.61, allocations: 0 / 5.414 GB, free: 28.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.01114/18.62, allocations: 2.036 MB / 5.416 GB, free: 28.47 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 () * Number of clocked 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.01592/18.64, allocations: 7.611 MB / 5.424 GB, free: 24.27 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02284/18.66, allocations: 6.019 MB / 5.43 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.428e-05/18.66, allocations: 3.094 kB / 5.43 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01759/18.68, allocations: 3.296 MB / 5.433 GB, free: 23.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00758/18.68, allocations: 0.8916 MB / 5.434 GB, free: 23.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01346/18.7, allocations: 5.084 MB / 5.439 GB, free: 21.13 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001826/18.7, allocations: 1.748 MB / 5.44 GB, free: 20.38 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.005122/18.7, allocations: 0.7741 MB / 5.441 GB, free: 20.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006289/18.71, allocations: 169.2 kB / 5.441 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of SimCode: time 4.198e-06/18.71, allocations: 2.656 kB / 5.441 GB, free: 20.35 MB / 0.6355 GB Notification: Performance of Templates: time 0.1783/18.88, allocations: 104 MB / 5.543 GB, free: 12.11 MB / 0.6355 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)