Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.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/ModelicaByExample 0.6.0/package.mo", uses=false) 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.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: "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007522/0.007523, allocations: 101.8 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.001276/0.001276, allocations: 193.2 kB / 16.67 MB, free: 5.949 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.406/1.406, allocations: 205.1 MB / 222.5 MB, free: 4.277 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04415/0.04415, allocations: 8.125 MB / 278 MB, free: 12.94 MB / 238.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: ModelicaByExample 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.001714/0.001714, allocations: 79.88 kB / 386.2 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.303, allocations: 48.29 MB / 434.5 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001974/0.305, allocations: 0.561 MB / 435 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002923/0.3053, allocations: 124.8 kB / 435.1 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.912e-05/0.3054, allocations: 1.375 kB / 435.1 MB, free: 7.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.028e-05/0.3055, allocations: 9.25 kB / 435.2 MB, free: 7.016 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 7.657e-05/0.3056, allocations: 13.25 kB / 435.2 MB, free: 7.004 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001469/0.3057, allocations: 24.09 kB / 435.2 MB, free: 6.992 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.3058, allocations: 68.12 kB / 435.3 MB, free: 6.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.306, allocations: 44.86 kB / 435.3 MB, free: 6.938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.859e-05/0.306, allocations: 34.33 kB / 435.3 MB, free: 6.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.3061, allocations: 36.55 kB / 435.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.102e-05/0.3061, allocations: 9.188 kB / 435.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.728e-05/0.3062, allocations: 9.281 kB / 435.4 MB, free: 6.895 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.431e-05/0.3062, allocations: 16.95 kB / 435.4 MB, free: 6.883 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.3062, allocations: 39.47 kB / 435.4 MB, free: 6.855 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.3064, allocations: 97.55 kB / 435.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3064, allocations: 1.125 kB / 435.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.3064, allocations: 0 / 435.5 MB, free: 6.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.3064, allocations: 0 / 435.5 MB, free: 6.812 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004054/0.3068, allocations: 393.4 kB / 435.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.3069, allocations: 9.469 kB / 435.9 MB, free: 6.418 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.015e-05/0.3069, allocations: 40.23 kB / 436 MB, free: 6.375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.3069, allocations: 12.02 kB / 436 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001487/0.3071, allocations: 185.6 kB / 436.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.3071, allocations: 7.594 kB / 436.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.934e-05/0.3072, allocations: 11.09 kB / 436.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.3074, allocations: 99.55 kB / 436.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.3074, allocations: 0.75 kB / 436.3 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3074, allocations: 6.188 kB / 436.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3074, allocations: 1.938 kB / 436.3 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001184/0.3075, allocations: 49.59 kB / 436.3 MB, free: 6.074 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005864/0.3081, allocations: 404.5 kB / 436.7 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000183/0.3083, allocations: 91.88 kB / 436.8 MB, free: 5.68 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.74e-05/0.3084, allocations: 41.89 kB / 436.9 MB, free: 5.656 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.3084, allocations: 4.703 kB / 436.9 MB, free: 5.652 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.127e-05/0.3084, allocations: 41.03 kB / 436.9 MB, free: 5.605 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.3084, allocations: 0 / 436.9 MB, free: 5.605 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002293/0.3087, allocations: 99 kB / 437 MB, free: 5.547 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.3087, allocations: 52.72 kB / 437.1 MB, free: 5.484 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.15e-05/0.3088, allocations: 116.3 kB / 437.2 MB, free: 5.375 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.3088, allocations: 29.7 kB / 437.2 MB, free: 5.34 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.612e-05/0.3088, allocations: 107.3 kB / 437.3 MB, free: 5.238 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.3089, allocations: 34.25 kB / 437.3 MB, free: 5.211 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.3089, allocations: 22.34 kB / 437.4 MB, free: 5.191 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.29e-05/0.309, allocations: 322.1 kB / 437.7 MB, free: 4.871 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.083e-05/0.309, allocations: 21.5 kB / 437.7 MB, free: 4.863 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.138e-05/0.3091, allocations: 20.23 kB / 437.7 MB, free: 4.855 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.151e-05/0.3092, allocations: 50.08 kB / 437.8 MB, free: 4.828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3092, allocations: 0.8438 kB / 437.8 MB, free: 4.828 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001229/0.3093, allocations: 92.45 kB / 437.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.3093, allocations: 9.344 kB / 437.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3093, allocations: 1.281 kB / 437.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3093, allocations: 1.219 kB / 437.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001051/0.3094, allocations: 21.78 kB / 437.9 MB, free: 4.762 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3095, allocations: 3.938 kB / 437.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.511e-05/0.3095, allocations: 1.344 kB / 437.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.3095, allocations: 6.469 kB / 437.9 MB, free: 4.754 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.579e-05/0.3096, allocations: 122.3 kB / 438 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.856e-05/0.3096, allocations: 10.66 kB / 438 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.3096, allocations: 10.52 kB / 438 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.3096, allocations: 2.203 kB / 438 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.3096, allocations: 5.25 kB / 438.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.3097, allocations: 0.9844 kB / 438.1 MB, free: 4.609 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001807/0.3098, allocations: 203.5 kB / 438.2 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3098, allocations: 1.188 kB / 438.3 MB, free: 4.398 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.564e-05/0.3099, allocations: 18.31 kB / 438.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.31, allocations: 0 / 438.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.31, allocations: 1.656 kB / 438.3 MB, free: 4.395 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.31, allocations: 5.031 kB / 438.3 MB, free: 4.391 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.31, allocations: 4.906 kB / 438.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002221/0.3102, allocations: 217.3 kB / 438.5 MB, free: 4.211 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.02e-05/0.3102, allocations: 91.45 kB / 438.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.3103, allocations: 1.125 kB / 438.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.694e-05/0.3103, allocations: 1.219 kB / 438.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.3104, allocations: 11.91 kB / 438.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.3104, allocations: 2.422 kB / 438.6 MB, free: 4.098 MB / 318.1 MB Notification: Performance of sorting global known variables: time 3.309e-05/0.3104, allocations: 91.92 kB / 438.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3104, allocations: 0 / 438.7 MB, free: 4.016 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002304/0.3107, allocations: 11.94 kB / 438.7 MB, free: 4.016 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.population) * 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003691/0.311, allocations: 0.7404 MB / 439.4 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.3112, allocations: 56.16 kB / 439.5 MB, free: 3.301 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3112, allocations: 8.062 kB / 439.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.156e-05/0.3112, allocations: 28.31 kB / 439.5 MB, free: 3.285 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003453/0.3116, allocations: 16.02 kB / 439.5 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001522/0.3131, allocations: 1.431 MB / 441 MB, free: 1.992 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/0.3135, allocations: 0.6967 MB / 441.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 6.218e-05/0.3136, allocations: 3.797 kB / 441.7 MB, free: 1.297 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.3137, allocations: 29.02 kB / 441.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of SimCode: time 2.1e-07/0.3137, allocations: 0 / 441.7 MB, free: 1.273 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.3374, allocations: 1.9 MB / 443.6 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/7.997, allocations: 21.16 kB / 443.6 MB, free: 0.7695 MB / 318.1 MB (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1)