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.0014/0.0014, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001368/0.001368, allocations: 192 kB / 16.14 MB, free: 6.598 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.518/1.518, allocations: 205.1 MB / 222 MB, free: 4.734 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04591/0.04591, allocations: 8.114 MB / 277.4 MB, free: 13.35 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.001242/0.001242, allocations: 67.91 kB / 336.6 MB, free: 26.87 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08529/0.08654, allocations: 48.29 MB / 384.9 MB, free: 10.53 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001782/0.08835, allocations: 0.7698 MB / 385.7 MB, free: 9.754 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002987/0.08866, allocations: 175.4 kB / 385.8 MB, free: 9.582 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.613e-05/0.08872, allocations: 4 kB / 385.8 MB, free: 9.578 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.946e-05/0.08878, allocations: 11.88 kB / 385.9 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.836e-05/0.08884, allocations: 7.938 kB / 385.9 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001391/0.08899, allocations: 55.88 kB / 385.9 MB, free: 9.504 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001436/0.08914, allocations: 127.8 kB / 386 MB, free: 9.379 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.08928, allocations: 62.06 kB / 386.1 MB, free: 9.312 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.549e-05/0.08934, allocations: 55.78 kB / 386.2 MB, free: 9.258 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.86e-05/0.08943, allocations: 71.56 kB / 386.2 MB, free: 9.188 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.241e-05/0.08946, allocations: 12 kB / 386.2 MB, free: 9.176 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.903e-05/0.08948, allocations: 12 kB / 386.3 MB, free: 9.164 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.299e-05/0.08952, allocations: 39.84 kB / 386.3 MB, free: 9.125 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.702e-05/0.08958, allocations: 75.53 kB / 386.4 MB, free: 9.051 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.08973, allocations: 179.4 kB / 386.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.08974, allocations: 0 / 386.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of FrontEnd: time 6.21e-07/0.08975, allocations: 0 / 386.5 MB, free: 8.875 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.286e-06/0.08975, allocations: 0 / 386.5 MB, free: 8.875 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.0004768/0.09024, allocations: 471.6 kB / 387 MB, free: 8.359 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.09028, allocations: 16.03 kB / 387 MB, free: 8.344 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.709e-05/0.09033, allocations: 50.73 kB / 387.1 MB, free: 8.285 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.606e-05/0.09037, allocations: 24.66 kB / 387.1 MB, free: 8.262 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.09054, allocations: 215.8 kB / 387.3 MB, free: 8.016 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.09056, allocations: 12.75 kB / 387.3 MB, free: 8.004 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.864e-05/0.09059, allocations: 24.36 kB / 387.3 MB, free: 7.98 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.09085, allocations: 164.9 kB / 387.5 MB, free: 7.816 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.09087, allocations: 7.938 kB / 387.5 MB, free: 7.809 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.667e-05/0.09089, allocations: 7.984 kB / 387.5 MB, free: 7.801 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.0909, allocations: 4 kB / 387.5 MB, free: 7.797 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001765/0.09108, allocations: 119.7 kB / 387.6 MB, free: 7.68 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007481/0.09184, allocations: 0.5857 MB / 388.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.09206, allocations: 130.5 kB / 388.4 MB, free: 6.906 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001025/0.09217, allocations: 76.84 kB / 388.4 MB, free: 6.828 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.09219, allocations: 4 kB / 388.4 MB, free: 6.824 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.09222, allocations: 30.56 kB / 388.5 MB, free: 6.785 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.122e-06/0.09222, allocations: 0 / 388.5 MB, free: 6.785 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003034/0.09253, allocations: 185.7 kB / 388.6 MB, free: 6.598 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.806e-05/0.09257, allocations: 55.41 kB / 388.7 MB, free: 6.531 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.45e-05/0.09267, allocations: 129.8 kB / 388.8 MB, free: 6.395 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.92e-05/0.09269, allocations: 29.7 kB / 388.9 MB, free: 6.359 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.423e-05/0.09276, allocations: 124.2 kB / 389 MB, free: 6.234 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.122e-05/0.09282, allocations: 67.08 kB / 389 MB, free: 6.168 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-05/0.09287, allocations: 33.72 kB / 389.1 MB, free: 6.129 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.659e-05/0.09297, allocations: 318.8 kB / 389.4 MB, free: 5.809 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.749e-05/0.09305, allocations: 43.98 kB / 389.4 MB, free: 5.766 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.067e-05/0.09311, allocations: 46.33 kB / 389.5 MB, free: 5.723 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.09325, allocations: 100.8 kB / 389.6 MB, free: 5.621 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.09326, allocations: 0 / 389.6 MB, free: 5.621 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.000193/0.09346, allocations: 148.2 kB / 389.7 MB, free: 5.473 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.09347, allocations: 8 kB / 389.7 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.09348, allocations: 0 / 389.7 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.666e-06/0.0935, allocations: 4 kB / 389.7 MB, free: 5.461 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.09367, allocations: 31.97 kB / 389.8 MB, free: 5.43 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.09368, allocations: 8 kB / 389.8 MB, free: 5.422 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.792e-05/0.09372, allocations: 11.84 kB / 389.8 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.09374, allocations: 4 kB / 389.8 MB, free: 5.406 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.0001036/0.09384, allocations: 129.8 kB / 389.9 MB, free: 5.27 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.09388, allocations: 7.906 kB / 389.9 MB, free: 5.262 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.126e-05/0.09393, allocations: 12.5 kB / 389.9 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.09393, allocations: 4 kB / 389.9 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.09394, allocations: 0 / 389.9 MB, free: 5.246 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.09395, allocations: 7.922 kB / 389.9 MB, free: 5.238 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.09425, allocations: 277.4 kB / 390.2 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.09426, allocations: 0 / 390.2 MB, free: 4.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.09443, allocations: 27.98 kB / 390.2 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.09444, allocations: 0 / 390.2 MB, free: 4.891 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.09446, allocations: 11.92 kB / 390.2 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.09446, allocations: 0 / 390.2 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.09447, allocations: 0 / 390.2 MB, free: 4.879 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003217/0.0948, allocations: 303.1 kB / 390.5 MB, free: 4.57 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.397e-05/0.09485, allocations: 85.02 kB / 390.6 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.248e-05/0.09488, allocations: 0 / 390.6 MB, free: 4.469 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.09501, allocations: 7.938 kB / 390.6 MB, free: 4.461 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.622e-05/0.09505, allocations: 11.97 kB / 390.6 MB, free: 4.449 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.09507, allocations: 4 kB / 390.6 MB, free: 4.445 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.669e-05/0.09515, allocations: 103.2 kB / 390.8 MB, free: 4.344 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.09516, allocations: 3.938 kB / 390.8 MB, free: 4.34 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000429/0.09559, allocations: 35.75 kB / 390.8 MB, free: 4.305 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.0005594/0.09616, allocations: 0.8217 MB / 391.6 MB, free: 3.453 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.09635, allocations: 115.8 kB / 391.7 MB, free: 3.34 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 1.644e-06/0.09636, allocations: 0 / 391.7 MB, free: 3.34 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.438e-05/0.09644, allocations: 63.58 kB / 391.8 MB, free: 3.281 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.09676, allocations: 31.86 kB / 391.8 MB, free: 3.25 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001512/0.09828, allocations: 1.812 MB / 393.6 MB, free: 1.355 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.09852, allocations: 0.7236 MB / 394.4 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.187e-05/0.09858, allocations: 17.05 kB / 394.4 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.325e-05/0.09865, allocations: 43.42 kB / 394.4 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.09866, allocations: 0 / 394.4 MB, free: 0.5508 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01239/0.1111, allocations: 2.466 MB / 396.9 MB, free: 14.16 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002121/0.1113, allocations: 228.7 kB / 397.1 MB, free: 13.9 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.677/1.789, allocations: 3.938 kB / 397.1 MB, free: 13.9 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)