Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.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.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",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.001082/0.001082, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008059/0.008059, allocations: 170.1 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.045/2.045, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04385/0.04385, allocations: 8.111 MB / 278.8 MB, free: 13.33 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.0006093/0.0006092, allocations: 12 kB / 339 MB, free: 26.6 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1447, allocations: 49.27 MB / 388.3 MB, free: 9.281 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.00106/0.1458, allocations: 433.3 kB / 388.7 MB, free: 8.859 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006459/0.1465, allocations: 175.3 kB / 388.9 MB, free: 8.688 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000144/0.1467, allocations: 4 kB / 388.9 MB, free: 8.684 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.974e-05/0.1467, allocations: 11.88 kB / 388.9 MB, free: 8.672 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001615/0.1469, allocations: 7.938 kB / 388.9 MB, free: 8.664 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002989/0.1472, allocations: 43.95 kB / 388.9 MB, free: 8.621 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002939/0.1475, allocations: 131.8 kB / 389 MB, free: 8.492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002753/0.1478, allocations: 66 kB / 389.1 MB, free: 8.422 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.732e-05/0.1479, allocations: 47.8 kB / 389.2 MB, free: 8.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001447/0.1481, allocations: 63.61 kB / 389.2 MB, free: 8.312 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.794e-05/0.1481, allocations: 12 kB / 389.2 MB, free: 8.301 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.041e-05/0.1482, allocations: 8 kB / 389.2 MB, free: 8.293 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.306e-05/0.1482, allocations: 31.84 kB / 389.3 MB, free: 8.262 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001406/0.1484, allocations: 89.31 kB / 389.4 MB, free: 8.168 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002462/0.1486, allocations: 171.3 kB / 389.5 MB, free: 8 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1486, allocations: 0 / 389.5 MB, free: 8 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.485e-06/0.1487, allocations: 3.938 kB / 389.5 MB, free: 7.996 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.317e-06/0.1487, allocations: 4 kB / 389.5 MB, free: 7.992 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007674/0.1494, allocations: 431.6 kB / 390 MB, free: 7.516 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.1495, allocations: 8.031 kB / 390 MB, free: 7.508 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.65e-05/0.1496, allocations: 54.73 kB / 390 MB, free: 7.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.874e-05/0.1497, allocations: 16.75 kB / 390 MB, free: 7.43 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.15, allocations: 224 kB / 390.3 MB, free: 7.172 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.441e-05/0.15, allocations: 16.75 kB / 390.3 MB, free: 7.156 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.15, allocations: 24.31 kB / 390.3 MB, free: 7.133 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.1504, allocations: 164.9 kB / 390.5 MB, free: 6.969 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.1504, allocations: 3.938 kB / 390.5 MB, free: 6.965 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.566e-05/0.1505, allocations: 12 kB / 390.5 MB, free: 6.953 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.1505, allocations: 4 kB / 390.5 MB, free: 6.949 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.1507, allocations: 115.6 kB / 390.6 MB, free: 6.836 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.1517, allocations: 0.5858 MB / 391.2 MB, free: 6.199 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.152, allocations: 126.5 kB / 391.3 MB, free: 6.066 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001305/0.1522, allocations: 84.77 kB / 391.4 MB, free: 5.98 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1522, allocations: 4 kB / 391.4 MB, free: 5.977 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.328e-05/0.1522, allocations: 38.55 kB / 391.4 MB, free: 5.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.673e-06/0.1523, allocations: 0 / 391.4 MB, free: 5.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004107/0.1527, allocations: 169.8 kB / 391.6 MB, free: 5.758 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.808e-05/0.1527, allocations: 51.41 kB / 391.6 MB, free: 5.695 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1529, allocations: 141.5 kB / 391.8 MB, free: 5.551 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.1529, allocations: 29.7 kB / 391.8 MB, free: 5.516 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.153, allocations: 132.2 kB / 391.9 MB, free: 5.383 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.38e-05/0.1531, allocations: 55.2 kB / 392 MB, free: 5.328 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.262e-05/0.1531, allocations: 17.72 kB / 392 MB, free: 5.305 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001846/0.1533, allocations: 322.8 kB / 392.3 MB, free: 4.98 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.52e-05/0.1534, allocations: 43.92 kB / 392.4 MB, free: 4.938 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.687e-05/0.1535, allocations: 42.64 kB / 392.4 MB, free: 4.898 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001732/0.1537, allocations: 104.8 kB / 392.5 MB, free: 4.793 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1537, allocations: 0 / 392.5 MB, free: 4.793 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002518/0.1539, allocations: 152.2 kB / 392.7 MB, free: 4.641 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.154, allocations: 7.938 kB / 392.7 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.605e-06/0.154, allocations: 0 / 392.7 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.154, allocations: 0 / 392.7 MB, free: 4.633 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002113/0.1542, allocations: 43.91 kB / 392.7 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.1542, allocations: 0 / 392.7 MB, free: 4.59 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.352e-05/0.1543, allocations: 7.938 kB / 392.7 MB, free: 4.582 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.699e-06/0.1543, allocations: 4 kB / 392.7 MB, free: 4.578 MB / 286.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 (18): * Single equations (assignments): 18 * 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 0.0001314/0.1545, allocations: 125.8 kB / 392.8 MB, free: 4.445 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.611e-05/0.1545, allocations: 11.81 kB / 392.9 MB, free: 4.434 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.056e-05/0.1546, allocations: 24.48 kB / 392.9 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.1546, allocations: 0 / 392.9 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.1546, allocations: 4 kB / 392.9 MB, free: 4.406 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.675e-06/0.1546, allocations: 3.938 kB / 392.9 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003272/0.1549, allocations: 265.5 kB / 393.1 MB, free: 4.094 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.1549, allocations: 7.875 kB / 393.1 MB, free: 4.086 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.1551, allocations: 31.97 kB / 393.2 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1551, allocations: 0 / 393.2 MB, free: 4.055 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.499e-05/0.1551, allocations: 8 kB / 393.2 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1552, allocations: 0 / 393.2 MB, free: 4.047 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.1552, allocations: 3.984 kB / 393.2 MB, free: 4.043 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003982/0.1556, allocations: 299.1 kB / 393.5 MB, free: 3.734 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.673e-05/0.1556, allocations: 85.02 kB / 393.6 MB, free: 3.633 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.1557, allocations: 4 kB / 393.6 MB, free: 3.629 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.1557, allocations: 4 kB / 393.6 MB, free: 3.625 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.762e-05/0.1558, allocations: 11.97 kB / 393.6 MB, free: 3.613 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.1558, allocations: 16 kB / 393.6 MB, free: 3.598 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.854e-05/0.1559, allocations: 95.2 kB / 393.7 MB, free: 3.504 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1559, allocations: 4 kB / 393.7 MB, free: 3.5 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002349/0.1561, allocations: 31.84 kB / 393.7 MB, free: 3.469 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.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 (15): * Single equations (assignments): 15 * 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.0006953/0.1568, allocations: 0.8291 MB / 394.6 MB, free: 2.613 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.1571, allocations: 108 kB / 394.7 MB, free: 2.508 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1571, allocations: 0 / 394.7 MB, free: 2.508 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 8.624e-05/0.1572, allocations: 63.92 kB / 394.7 MB, free: 2.445 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.1576, allocations: 23.92 kB / 394.8 MB, free: 2.422 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002079/0.1597, allocations: 1.838 MB / 396.6 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004345/0.1601, allocations: 0.7275 MB / 397.3 MB, free: 15.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.777e-05/0.1602, allocations: 5.078 kB / 397.3 MB, free: 15.74 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.1603, allocations: 47.42 kB / 397.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of SimCode: time 6.11e-07/0.1603, allocations: 0 / 397.4 MB, free: 15.7 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.1769, allocations: 2.393 MB / 399.8 MB, free: 13.41 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002821/0.1772, allocations: 216.1 kB / 400 MB, free: 13.16 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.918/2.095, allocations: 4 kB / 400 MB, free: 13.16 MB / 302.1 MB (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1)