Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.conf.json 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/ModelicaByExample 0.6.0/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 ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/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) Running command: "" <> buildModelFMU(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001646/0.001646, allocations: 181.3 kB / 12.74 MB, free: 2.578 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.31/1.31, allocations: 194.3 MB / 207.5 MB, free: 3.445 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03508/0.03508, allocations: 7.903 MB / 260.4 MB, free: 13.78 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.001672/0.001672, allocations: 116.4 kB / 307.2 MB, free: 14.89 MB / 266.7 MB Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 Notification: Performance of FrontEnd - loaded program: time 2.615e-05/2.617e-05, allocations: 0 / 361.3 MB, free: 8.617 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2003, allocations: 46.2 MB / 407.5 MB, free: 67.03 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.07343/0.2738, allocations: 71.16 MB / 478.7 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001836/0.2741, allocations: 51.97 kB / 478.7 MB, free: 11.72 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01329/0.2874, allocations: 5.757 MB / 484.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2874, allocations: 0 / 484.5 MB, free: 5.957 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.246e-05/0.2874, allocations: 11.94 kB / 484.5 MB, free: 5.945 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008362/0.2883, allocations: 0.5997 MB / 485.1 MB, free: 5.301 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.2884, allocations: 8.031 kB / 485.1 MB, free: 5.293 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.817e-05/0.2885, allocations: 82.47 kB / 485.2 MB, free: 5.203 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.681e-05/0.2885, allocations: 51.44 kB / 485.3 MB, free: 5.152 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004311/0.289, allocations: 346.1 kB / 485.6 MB, free: 4.777 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.289, allocations: 29 kB / 485.6 MB, free: 4.75 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.366e-05/0.2891, allocations: 48 kB / 485.7 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006955/0.2898, allocations: 413.8 kB / 486.1 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.249e-05/0.2898, allocations: 8 kB / 486.1 MB, free: 4.27 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.231e-05/0.2899, allocations: 16 kB / 486.1 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.921e-05/0.2899, allocations: 12 kB / 486.1 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004408/0.2904, allocations: 247.9 kB / 486.3 MB, free: 4 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.2924, allocations: 1.444 MB / 487.8 MB, free: 2.492 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005425/0.293, allocations: 362.4 kB / 488.1 MB, free: 2.102 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002043/0.2932, allocations: 163.4 kB / 488.3 MB, free: 1.93 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.2932, allocations: 4 kB / 488.3 MB, free: 1.926 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.2933, allocations: 42.56 kB / 488.4 MB, free: 1.875 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 4.578e-06/0.2933, allocations: 0 / 488.4 MB, free: 1.875 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.000479/0.2938, allocations: 273.4 kB / 488.6 MB, free: 1.602 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.052e-05/0.2938, allocations: 132.5 kB / 488.7 MB, free: 1.441 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002426/0.2941, allocations: 235.5 kB / 489 MB, free: 1.199 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.497e-05/0.2941, allocations: 29.7 kB / 489 MB, free: 1.164 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000125/0.2942, allocations: 232 kB / 489.2 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.734e-05/0.2943, allocations: 114.3 kB / 489.3 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.526e-05/0.2943, allocations: 16 kB / 489.4 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.2945, allocations: 342.8 kB / 489.7 MB, free: 472 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.2946, allocations: 88.88 kB / 489.8 MB, free: 384 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002027/0.2948, allocations: 186.6 kB / 490 MB, free: 160 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002067/0.295, allocations: 123.9 kB / 490.1 MB, free: 36 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.2951, allocations: 3.953 kB / 490.1 MB, free: 32 kB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004831/0.2955, allocations: 361.1 kB / 490.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.995e-05/0.2956, allocations: 4 kB / 490.4 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.476e-06/0.2956, allocations: 4 kB / 490.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.2956, allocations: 4 kB / 490.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003349/0.2959, allocations: 83.89 kB / 490.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.621e-05/0.296, allocations: 8.188 kB / 490.5 MB, free: 15.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.2961, allocations: 35.69 kB / 490.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.266e-05/0.2961, allocations: 16 kB / 490.6 MB, free: 15.52 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.671e-05/0.2962, allocations: 124.9 kB / 490.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001035/0.2963, allocations: 39.56 kB / 490.8 MB, free: 15.35 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.36e-05/0.2964, allocations: 37.86 kB / 490.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.16e-06/0.2964, allocations: 4 kB / 490.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.2964, allocations: 0 / 490.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.2965, allocations: 0 / 490.8 MB, free: 15.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000597/0.2971, allocations: 461.1 kB / 491.2 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.2971, allocations: 4 kB / 491.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003117/0.2974, allocations: 71.84 kB / 491.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.666e-06/0.2974, allocations: 0 / 491.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.196e-05/0.2974, allocations: 8 kB / 491.3 MB, free: 14.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.2974, allocations: 4 kB / 491.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2974, allocations: 0 / 491.3 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006581/0.2981, allocations: 0.7293 MB / 492.1 MB, free: 13.95 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.795e-05/0.2982, allocations: 108.7 kB / 492.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.663e-05/0.2982, allocations: 8 kB / 492.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.2984, allocations: 8 kB / 492.2 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.468e-05/0.2985, allocations: 23.97 kB / 492.2 MB, free: 13.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.2985, allocations: 19.95 kB / 492.2 MB, free: 13.77 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001562/0.2987, allocations: 187.1 kB / 492.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2987, allocations: 0 / 492.4 MB, free: 13.59 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004949/0.2992, allocations: 79.59 kB / 492.5 MB, free: 13.51 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (A.rabbit_population.population,A.fox_population.population,B.rabbit_population.population,B.fox_population.population,C.rabbit_population.population,C.fox_population.population,D.rabbit_population.population,D.fox_population.population) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009836/0.3002, allocations: 1.49 MB / 494 MB, free: 11.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003863/0.3006, allocations: 249.1 kB / 494.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.3006, allocations: 0 / 494.2 MB, free: 11.74 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001535/0.3008, allocations: 128.8 kB / 494.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.3012, allocations: 75.55 kB / 494.4 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.3025, allocations: 0.6647 MB / 495.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.3028, allocations: 0.8156 MB / 495.9 MB, free: 9.977 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0001701/0.303, allocations: 42.38 kB / 495.9 MB, free: 9.941 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001555/0.3032, allocations: 135.3 kB / 496.1 MB, free: 9.812 MB / 346.7 MB Notification: Performance of SimCode: time 8.51e-07/0.3032, allocations: 0 / 496.1 MB, free: 9.812 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01667/0.3199, allocations: 5.949 MB / 0.4903 GB, free: 4.008 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002631/0.3202, allocations: 193.2 kB / 0.4904 GB, free: 3.773 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.864/2.185, allocations: 0 / 0.4904 GB, free: 3.773 MB / 346.7 MB (rm -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe >> ../files/ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations.fmu > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1)