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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3199/0.3199, allocations: 54.4 MB / 61.68 MB, free: 11.16 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.001137/0.001138, allocations: 184.5 kB / 75.37 MB, free: 1.516 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.458/1.458, allocations: 194.2 MB / 283.2 MB, free: 3.559 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.001861/0.001861, allocations: 111.9 kB / 341.3 MB, free: 9.434 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.135e-06/8.156e-06, allocations: 4 kB / 404.9 MB, free: 27.69 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1474, allocations: 57.64 MB / 462.6 MB, free: 1.977 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.253/5.401, allocations: 2.15 GB / 2.601 GB, free: 49.91 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000411/5.401, allocations: 91.95 kB / 2.601 GB, free: 49.82 MB / 0.4948 GB Notification: Performance of FrontEnd: time 11.11/16.51, allocations: 2.707 GB / 5.308 GB, free: 26.77 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0005701/16.51, allocations: 72.36 kB / 5.308 GB, free: 26.76 MB / 0.6042 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.01619/16.53, allocations: 3.704 MB / 5.312 GB, free: 24.8 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/16.53, allocations: 14.88 kB / 5.312 GB, free: 24.79 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01213/16.54, allocations: 1.536 MB / 5.313 GB, free: 24.62 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009248/16.55, allocations: 2.224 MB / 5.316 GB, free: 24.07 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001747/16.55, allocations: 389.2 kB / 5.316 GB, free: 24.05 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00151/16.55, allocations: 138.2 kB / 5.316 GB, free: 24.05 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009565/16.56, allocations: 2.659 MB / 5.319 GB, free: 24.04 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/16.57, allocations: 2.503 MB / 5.321 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000131/16.57, allocations: 5.656 kB / 5.321 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008512/16.57, allocations: 4.312 kB / 5.321 GB, free: 23.62 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002137/16.57, allocations: 97.19 kB / 5.321 GB, free: 23.61 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03203/16.6, allocations: 14.14 MB / 5.335 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002603/16.61, allocations: 1.186 MB / 5.336 GB, free: 14.04 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/16.61, allocations: 0.5495 MB / 5.337 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006523/16.61, allocations: 455.7 kB / 5.337 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.948e-05/16.61, allocations: 46.25 kB / 5.337 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=102): time 5.32e-06/16.61, allocations: 0 / 5.337 GB, free: 13.31 MB / 0.6042 GB Notification: Performance of matching and sorting (n=102): time 0.006261/16.61, allocations: 1.689 MB / 5.339 GB, free: 12.79 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.001e-05/16.62, allocations: 119.8 kB / 5.339 GB, free: 12.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005181/16.62, allocations: 1.652 MB / 5.341 GB, free: 11.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003864/16.62, allocations: 37.64 kB / 5.341 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.001223/16.62, allocations: 1.112 MB / 5.342 GB, free: 10.21 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005215/16.62, allocations: 368.5 kB / 5.342 GB, free: 9.887 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/16.62, allocations: 4 kB / 5.342 GB, free: 9.883 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0002151/16.62, allocations: 393.9 kB / 5.342 GB, free: 9.52 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001372/16.62, allocations: 0.6969 MB / 5.343 GB, free: 8.871 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001881/16.63, allocations: 1.715 MB / 5.345 GB, free: 6.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003092/16.63, allocations: 1.29 MB / 5.346 GB, free: 5.695 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.38e-05/16.63, allocations: 8 kB / 5.346 GB, free: 5.688 MB / 0.6042 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.00672/16.64, allocations: 2.704 MB / 5.349 GB, free: 3.332 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.00686/16.64, allocations: 12.75 MB / 5.361 GB, free: 5.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001368/16.64, allocations: 28 kB / 5.361 GB, free: 5.527 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001208/16.64, allocations: 48.52 kB / 5.361 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01538/16.66, allocations: 2.41 MB / 5.364 GB, free: 3.617 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006477/16.67, allocations: 3.24 MB / 5.367 GB, free: 0.5039 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007442/16.67, allocations: 0.6135 MB / 5.367 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001959/16.67, allocations: 183.7 kB / 5.368 GB, free: 0 / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/16.67, allocations: 5.719 kB / 5.368 GB, free: 0 / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008137/16.68, allocations: 2.401 MB / 5.37 GB, free: 13.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001434/16.68, allocations: 33 kB / 5.37 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.095e-05/16.68, allocations: 55.84 kB / 5.37 GB, free: 13.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003173/16.69, allocations: 0.6323 MB / 5.371 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.85e-05/16.69, allocations: 70.17 kB / 5.371 GB, free: 13.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004752/16.69, allocations: 420 kB / 5.371 GB, free: 12.92 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005507/16.69, allocations: 124.7 kB / 5.371 GB, free: 12.8 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.001175/16.69, allocations: 196 kB / 5.371 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001085/16.69, allocations: 229.1 kB / 5.372 GB, free: 12.38 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00449/16.7, allocations: 1.506 MB / 5.373 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/16.7, allocations: 16 kB / 5.373 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.335e-05/16.7, allocations: 0.7031 kB / 5.373 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.984e-05/16.7, allocations: 5.062 kB / 5.373 GB, free: 11.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01988/16.72, allocations: 4.744 MB / 5.378 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.708e-05/16.72, allocations: 6.812 kB / 5.378 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01212/16.73, allocations: 1.965 MB / 5.38 GB, free: 4.559 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.514e-05/16.73, allocations: 8 kB / 5.38 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003485/16.73, allocations: 11.98 kB / 5.38 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5423/17.27, allocations: 6.376 MB / 5.386 GB, free: 92.92 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-06/17.27, allocations: 3.812 kB / 5.386 GB, free: 92.92 MB / 0.6355 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003698/17.28, allocations: 1.991 MB / 5.388 GB, free: 92.2 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001535/17.28, allocations: 489.5 kB / 5.388 GB, free: 92.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000401/17.28, allocations: 7.609 kB / 5.388 GB, free: 92.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002622/17.28, allocations: 283.7 kB / 5.389 GB, free: 92.09 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/17.28, allocations: 60.33 kB / 5.389 GB, free: 92.09 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/17.28, allocations: 56.03 kB / 5.389 GB, free: 92.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 0.002257/17.28, allocations: 1.164 MB / 5.39 GB, free: 91.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.008807/17.29, allocations: 1.788 MB / 5.392 GB, free: 91.86 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.01306/17.31, allocations: 8.264 MB / 5.4 GB, free: 87.71 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.02582/17.33, allocations: 6.085 MB / 5.406 GB, free: 87.31 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.128e-05/17.33, allocations: 3.031 kB / 5.406 GB, free: 87.31 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.02257/17.36, allocations: 4.186 MB / 5.41 GB, free: 87.3 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004806/17.36, allocations: 0.723 MB / 5.41 GB, free: 87.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008098/17.37, allocations: 3.206 MB / 5.414 GB, free: 86.36 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002014/17.37, allocations: 1.956 MB / 5.415 GB, free: 85.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.693e-06/17.37, allocations: 0 / 5.415 GB, free: 85.6 MB / 0.6355 GB Notification: Performance of Templates: time 0.1509/17.52, allocations: 80.37 MB / 5.494 GB, free: 79.86 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)