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.005072/0.005072, allocations: 97.73 kB / 15.73 MB, free: 6.047 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.001347/0.001347, allocations: 198.2 kB / 16.68 MB, free: 5.969 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.556/1.556, allocations: 205.1 MB / 222.6 MB, free: 4.504 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.05112/0.05112, allocations: 8.118 MB / 278 MB, free: 13.06 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.002411/0.002411, allocations: 76.44 kB / 386.2 MB, free: 9.555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3271, allocations: 48.29 MB / 434.5 MB, free: 7.477 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001888/0.329, allocations: 0.5662 MB / 435 MB, free: 7.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002731/0.3293, allocations: 115.1 kB / 435.1 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.008e-05/0.3294, allocations: 6.156 kB / 435.2 MB, free: 7.035 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.582e-05/0.3294, allocations: 9.422 kB / 435.2 MB, free: 7.027 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 6.893e-05/0.3295, allocations: 9.984 kB / 435.2 MB, free: 7.02 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001422/0.3296, allocations: 32.28 kB / 435.2 MB, free: 7 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001244/0.3298, allocations: 68.22 kB / 435.3 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.3299, allocations: 44.55 kB / 435.3 MB, free: 6.945 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.33, allocations: 28.48 kB / 435.3 MB, free: 6.93 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.934e-05/0.33, allocations: 33.45 kB / 435.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.328e-05/0.3301, allocations: 9.094 kB / 435.4 MB, free: 6.91 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.915e-05/0.3301, allocations: 13.03 kB / 435.4 MB, free: 6.906 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 2.599e-05/0.3301, allocations: 25.67 kB / 435.4 MB, free: 6.887 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.3302, allocations: 39.23 kB / 435.5 MB, free: 6.859 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001435/0.3303, allocations: 91.59 kB / 435.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3303, allocations: 1.438 kB / 435.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.3303, allocations: 0 / 435.5 MB, free: 6.824 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.3303, allocations: 0 / 435.5 MB, free: 6.824 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.0004114/0.3308, allocations: 386.5 kB / 435.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.3308, allocations: 10.44 kB / 435.9 MB, free: 6.434 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.233e-05/0.3309, allocations: 52.3 kB / 436 MB, free: 6.379 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.107e-05/0.3309, allocations: 14.81 kB / 436 MB, free: 6.371 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.331, allocations: 185.4 kB / 436.2 MB, free: 6.164 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.3311, allocations: 8.531 kB / 436.2 MB, free: 6.16 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.615e-05/0.3311, allocations: 10.56 kB / 436.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.3313, allocations: 92.88 kB / 436.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.3313, allocations: 0 / 436.3 MB, free: 6.102 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.3313, allocations: 5.375 kB / 436.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3313, allocations: 2.562 kB / 436.3 MB, free: 6.098 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.963e-05/0.3314, allocations: 49.7 kB / 436.3 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.3319, allocations: 412.2 kB / 436.8 MB, free: 5.734 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001628/0.3321, allocations: 84.25 kB / 436.8 MB, free: 5.688 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.744e-05/0.3322, allocations: 38.12 kB / 436.9 MB, free: 5.668 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.653e-05/0.3322, allocations: 5.297 kB / 436.9 MB, free: 5.664 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.829e-05/0.3322, allocations: 43.78 kB / 436.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.3322, allocations: 0 / 436.9 MB, free: 5.613 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002193/0.3324, allocations: 104.1 kB / 437 MB, free: 5.551 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.3325, allocations: 52.53 kB / 437.1 MB, free: 5.488 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.3326, allocations: 111.1 kB / 437.2 MB, free: 5.383 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.075e-05/0.3326, allocations: 26.89 kB / 437.2 MB, free: 5.352 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.756e-05/0.3326, allocations: 111.7 kB / 437.3 MB, free: 5.246 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.3326, allocations: 29.78 kB / 437.3 MB, free: 5.223 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.907e-05/0.3327, allocations: 25.61 kB / 437.4 MB, free: 5.199 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.111e-05/0.3327, allocations: 322.3 kB / 437.7 MB, free: 4.879 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.049e-05/0.3328, allocations: 17.25 kB / 437.7 MB, free: 4.875 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.584e-05/0.3328, allocations: 21.16 kB / 437.7 MB, free: 4.867 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.188e-05/0.3329, allocations: 58.27 kB / 437.8 MB, free: 4.832 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.3329, allocations: 0 / 437.8 MB, free: 4.832 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001248/0.3331, allocations: 93.25 kB / 437.9 MB, free: 4.773 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.3331, allocations: 5.031 kB / 437.9 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3331, allocations: 0 / 437.9 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.3331, allocations: 1.578 kB / 437.9 MB, free: 4.773 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001158/0.3332, allocations: 20.19 kB / 437.9 MB, free: 4.77 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.3332, allocations: 5.672 kB / 437.9 MB, free: 4.766 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.3333, allocations: 9.828 kB / 437.9 MB, free: 4.758 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/0.3333, allocations: 2.812 kB / 437.9 MB, free: 4.758 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 6.307e-05/0.3334, allocations: 126 kB / 438 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.657e-05/0.3334, allocations: 3.625 kB / 438 MB, free: 4.629 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.3334, allocations: 10.25 kB / 438.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3334, allocations: 1.672 kB / 438.1 MB, free: 4.621 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.3335, allocations: 7.938 kB / 438.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.3335, allocations: 1.859 kB / 438.1 MB, free: 4.613 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.3337, allocations: 204.4 kB / 438.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.3337, allocations: 0 / 438.3 MB, free: 4.402 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.3338, allocations: 30.45 kB / 438.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3338, allocations: 1.156 kB / 438.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.3338, allocations: 0.8438 kB / 438.3 MB, free: 4.387 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3338, allocations: 5.234 kB / 438.3 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.3338, allocations: 4.547 kB / 438.3 MB, free: 4.379 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002318/0.3341, allocations: 204.7 kB / 438.5 MB, free: 4.215 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.402e-05/0.3341, allocations: 92.31 kB / 438.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.3341, allocations: 1.844 kB / 438.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.153e-05/0.3342, allocations: 0 / 438.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.3342, allocations: 8.531 kB / 438.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.113e-06/0.3342, allocations: 2.281 kB / 438.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.163e-05/0.3343, allocations: 91.72 kB / 438.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3343, allocations: 1.031 kB / 438.7 MB, free: 4.023 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002305/0.3345, allocations: 27.33 kB / 438.7 MB, free: 4.008 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.0003762/0.3349, allocations: 0.7321 MB / 439.5 MB, free: 3.32 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001544/0.3351, allocations: 60.95 kB / 439.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3351, allocations: 0 / 439.5 MB, free: 3.297 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 4.275e-05/0.3351, allocations: 27.31 kB / 439.5 MB, free: 3.289 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.3355, allocations: 20.89 kB / 439.6 MB, free: 3.277 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.3367, allocations: 1.426 MB / 441 MB, free: 1.996 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001482/0.3369, allocations: 0.6958 MB / 441.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.34e-05/0.3369, allocations: 4.875 kB / 441.7 MB, free: 1.301 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.884e-05/0.337, allocations: 25.25 kB / 441.7 MB, free: 1.281 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.337, allocations: 0 / 441.7 MB, free: 1.281 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02555/0.3625, allocations: 1.887 MB / 443.6 MB, free: 0.793 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.423, allocations: 25.03 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)