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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0058/0.005805, allocations: 95.78 kB / 15.73 MB, free: 6.031 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.001142/0.001143, allocations: 194.6 kB / 16.68 MB, free: 5.961 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.453/1.453, allocations: 205.1 MB / 222.6 MB, free: 4.512 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04224/0.04224, allocations: 8.125 MB / 278 MB, free: 13.07 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 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.001428/0.001428, allocations: 72.53 kB / 386.2 MB, free: 9.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3113/0.3127, allocations: 48.3 MB / 434.5 MB, free: 7.336 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002371/0.3152, allocations: 1.213 MB / 435.7 MB, free: 6.508 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006285/0.3158, allocations: 378.7 kB / 436 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001184/0.3159, allocations: 6.906 kB / 436.1 MB, free: 6.223 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 9.343e-05/0.316, allocations: 53.42 kB / 436.1 MB, free: 6.18 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.3162, allocations: 55.59 kB / 436.2 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.3165, allocations: 143.4 kB / 436.3 MB, free: 6.043 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003929/0.3169, allocations: 395.1 kB / 436.7 MB, free: 5.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.3173, allocations: 250.1 kB / 436.9 MB, free: 5.715 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.3175, allocations: 173.2 kB / 437.1 MB, free: 5.605 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002051/0.3177, allocations: 197 kB / 437.3 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-05/0.3178, allocations: 59.69 kB / 437.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.832e-05/0.3179, allocations: 57.91 kB / 437.4 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.246e-05/0.318, allocations: 112.7 kB / 437.5 MB, free: 5.398 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.3181, allocations: 227.6 kB / 437.7 MB, free: 5.227 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006267/0.3188, allocations: 0.5816 MB / 438.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.3188, allocations: 0 / 438.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3188, allocations: 0 / 438.3 MB, free: 4.988 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.47e-05/0.3188, allocations: 1.375 kB / 438.3 MB, free: 4.988 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001037/0.3198, allocations: 0.7342 MB / 439.1 MB, free: 4.395 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3199, allocations: 9.875 kB / 439.1 MB, free: 4.395 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.172e-05/0.32, allocations: 86.39 kB / 439.2 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001/0.3201, allocations: 56.2 kB / 439.2 MB, free: 4.297 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003662/0.3205, allocations: 339.5 kB / 439.5 MB, free: 3.992 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.919e-05/0.3205, allocations: 35.5 kB / 439.6 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.333e-05/0.3206, allocations: 41.53 kB / 439.6 MB, free: 3.961 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000694/0.3213, allocations: 431.4 kB / 440 MB, free: 3.746 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.3213, allocations: 8.891 kB / 440 MB, free: 3.738 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.248e-05/0.3214, allocations: 25.19 kB / 440.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.672e-05/0.3214, allocations: 10.75 kB / 440.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004551/0.3219, allocations: 266.3 kB / 440.3 MB, free: 3.617 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002017/0.3239, allocations: 1.429 MB / 441.8 MB, free: 2.672 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006103/0.3245, allocations: 366.3 kB / 442.1 MB, free: 2.457 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002586/0.3248, allocations: 174.5 kB / 442.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.3248, allocations: 3.438 kB / 442.3 MB, free: 2.359 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.3249, allocations: 39.97 kB / 442.3 MB, free: 2.316 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.763e-06/0.3249, allocations: 4 kB / 442.3 MB, free: 2.312 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006168/0.3255, allocations: 352.8 kB / 442.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.3255, allocations: 137.2 kB / 442.8 MB, free: 1.988 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002539/0.3258, allocations: 271.2 kB / 443.1 MB, free: 1.832 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.279e-05/0.3258, allocations: 36.05 kB / 443.1 MB, free: 1.793 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/0.3259, allocations: 234.1 kB / 443.3 MB, free: 1.602 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.883e-05/0.326, allocations: 131.2 kB / 443.5 MB, free: 1.496 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/0.3261, allocations: 70.12 kB / 443.5 MB, free: 1.453 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.451e-05/0.3262, allocations: 348.5 kB / 443.9 MB, free: 1.121 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.3264, allocations: 94.69 kB / 444 MB, free: 1.086 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002055/0.3266, allocations: 189.9 kB / 444.2 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.327, allocations: 306.6 kB / 444.5 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.327, allocations: 2.078 kB / 444.5 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005384/0.3275, allocations: 361 kB / 444.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3276, allocations: 5.5 kB / 444.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.026e-06/0.3276, allocations: 4.125 kB / 444.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.3276, allocations: 4.375 kB / 444.8 MB, free: 0.543 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003568/0.328, allocations: 91.55 kB / 444.9 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.328, allocations: 11.53 kB / 444.9 MB, free: 0.5273 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.3281, allocations: 30.59 kB / 445 MB, free: 0.5039 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/0.3281, allocations: 16.38 kB / 445 MB, free: 0.5 MB / 318.1 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.3283, allocations: 172.5 kB / 445.1 MB, free: 352 kB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000112/0.3284, allocations: 36.5 kB / 445.2 MB, free: 332 kB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.387e-05/0.3285, allocations: 40.69 kB / 445.2 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/0.3285, allocations: 8.625 kB / 445.2 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.3285, allocations: 1.438 kB / 445.2 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.415e-06/0.3285, allocations: 7.312 kB / 445.2 MB, free: 292 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007101/0.3293, allocations: 454.5 kB / 445.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.3293, allocations: 1.344 kB / 445.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003379/0.3296, allocations: 69.67 kB / 445.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.3296, allocations: 6.438 kB / 445.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.538e-05/0.3297, allocations: 8.312 kB / 445.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.3297, allocations: 2.719 kB / 445.8 MB, free: 15.96 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.3297, allocations: 7.938 kB / 445.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008908/0.3306, allocations: 0.6978 MB / 446.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.811e-05/0.3307, allocations: 116.1 kB / 446.6 MB, free: 15.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.999e-05/0.3307, allocations: 7.922 kB / 446.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.331, allocations: 7.781 kB / 446.6 MB, free: 15.31 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.166e-05/0.331, allocations: 32.44 kB / 446.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.125e-05/0.331, allocations: 8.531 kB / 446.6 MB, free: 15.29 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002316/0.3313, allocations: 193.7 kB / 446.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.254e-06/0.3313, allocations: 1.031 kB / 446.8 MB, free: 15.18 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004862/0.3318, allocations: 84.3 kB / 446.9 MB, free: 15.14 MB / 334.1 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 () * Number of clocked 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 (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.001217/0.333, allocations: 1.262 MB / 448.2 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005394/0.3336, allocations: 258.7 kB / 448.4 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.3336, allocations: 1.125 kB / 448.4 MB, free: 14 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002116/0.3338, allocations: 128 kB / 448.6 MB, free: 13.95 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008393/0.3346, allocations: 79.53 kB / 448.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004552/0.3392, allocations: 3.396 MB / 452 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/0.3398, allocations: 0.8067 MB / 452.8 MB, free: 10.78 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002025/0.3401, allocations: 37.42 kB / 452.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002377/0.3403, allocations: 129.5 kB / 453 MB, free: 10.67 MB / 334.1 MB Notification: Performance of SimCode: time 1.152e-06/0.3403, allocations: 0 / 453 MB, free: 10.67 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.3673, allocations: 5.835 MB / 458.8 MB, free: 7.855 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.266/8.633, allocations: 13.89 kB / 458.8 MB, free: 7.848 MB / 334.1 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 & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.016 ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations.fmu > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1)