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.001022/0.001022, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001272/0.001273, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.523/1.523, allocations: 205.4 MB / 222.1 MB, free: 5.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.05745/0.05745, allocations: 8.106 MB / 278.5 MB, free: 13.11 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.0005088/0.0005088, allocations: 23.12 kB / 338.3 MB, free: 26.95 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.101, allocations: 49.27 MB / 387.6 MB, free: 9.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.001249/0.1023, allocations: 0.8171 MB / 388.4 MB, free: 8.805 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000558/0.1029, allocations: 362.8 kB / 388.8 MB, free: 8.449 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.53e-05/0.103, allocations: 12 kB / 388.8 MB, free: 8.438 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.847e-05/0.1031, allocations: 31.62 kB / 388.8 MB, free: 8.406 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.1032, allocations: 35.83 kB / 388.9 MB, free: 8.371 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002184/0.1035, allocations: 87.84 kB / 388.9 MB, free: 8.285 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000295/0.1038, allocations: 219.5 kB / 389.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.1041, allocations: 182.4 kB / 389.3 MB, free: 7.887 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.709e-05/0.1042, allocations: 119.4 kB / 389.5 MB, free: 7.77 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001625/0.1043, allocations: 143.2 kB / 389.6 MB, free: 7.629 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.359e-05/0.1044, allocations: 31.94 kB / 389.6 MB, free: 7.598 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.063e-05/0.1044, allocations: 24 kB / 389.6 MB, free: 7.574 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.06e-05/0.1045, allocations: 71.75 kB / 389.7 MB, free: 7.504 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 8.059e-05/0.1046, allocations: 97.45 kB / 389.8 MB, free: 7.402 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003988/0.105, allocations: 466.8 kB / 390.3 MB, free: 6.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.105, allocations: 0 / 390.3 MB, free: 6.945 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.105, allocations: 0 / 390.3 MB, free: 6.945 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.276e-06/0.105, allocations: 4 kB / 390.3 MB, free: 6.941 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008419/0.1059, allocations: 0.6239 MB / 390.9 MB, free: 6.27 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.1059, allocations: 8.031 kB / 390.9 MB, free: 6.262 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.972e-05/0.106, allocations: 78.53 kB / 391 MB, free: 6.176 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.054e-05/0.1061, allocations: 63.33 kB / 391 MB, free: 6.113 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003736/0.1065, allocations: 326.2 kB / 391.4 MB, free: 5.754 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.682e-05/0.1065, allocations: 29 kB / 391.4 MB, free: 5.727 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.1066, allocations: 51.95 kB / 391.4 MB, free: 5.676 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006258/0.1072, allocations: 413.8 kB / 391.8 MB, free: 5.254 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.172e-05/0.1073, allocations: 7.906 kB / 391.9 MB, free: 5.246 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/0.1073, allocations: 20 kB / 391.9 MB, free: 5.227 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.315e-05/0.1073, allocations: 12 kB / 391.9 MB, free: 5.215 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004009/0.1077, allocations: 264.8 kB / 392.1 MB, free: 4.957 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001862/0.1096, allocations: 1.456 MB / 393.6 MB, free: 3.438 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.1102, allocations: 350.6 kB / 393.9 MB, free: 3.059 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.035e-05/0.1102, allocations: 12.08 kB / 394 MB, free: 3.047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.566e-05/0.1102, allocations: 38.56 kB / 394 MB, free: 3 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.1102, allocations: 4 kB / 394 MB, free: 2.996 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006181/0.1109, allocations: 354.2 kB / 394.3 MB, free: 2.645 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/0.1109, allocations: 132.5 kB / 394.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.1112, allocations: 263 kB / 394.7 MB, free: 2.215 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.1112, allocations: 33.7 kB / 394.8 MB, free: 2.176 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.1114, allocations: 239.9 kB / 395 MB, free: 1.934 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.813e-05/0.1115, allocations: 118.3 kB / 395.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.389e-05/0.1115, allocations: 8 kB / 395.1 MB, free: 1.809 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.1116, allocations: 342.8 kB / 395.5 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001472/0.1118, allocations: 96.83 kB / 395.5 MB, free: 1.367 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/0.112, allocations: 182.6 kB / 395.7 MB, free: 1.152 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.1122, allocations: 131.8 kB / 395.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.1122, allocations: 0 / 395.9 MB, free: 1.023 MB / 286.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004925/0.1127, allocations: 369.1 kB / 396.2 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1127, allocations: 4 kB / 396.2 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.1128, allocations: 4 kB / 396.2 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.1128, allocations: 4 kB / 396.2 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003604/0.1131, allocations: 83.89 kB / 396.3 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.159e-05/0.1132, allocations: 4 kB / 396.3 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.1133, allocations: 31.69 kB / 396.3 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.1133, allocations: 16 kB / 396.4 MB, free: 0.5117 MB / 286.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002198/0.1136, allocations: 185.8 kB / 396.5 MB, free: 328 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.1137, allocations: 31.62 kB / 396.6 MB, free: 296 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.579e-05/0.1138, allocations: 41.73 kB / 396.6 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.003e-06/0.1138, allocations: 4 kB / 396.6 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.177e-06/0.1138, allocations: 0 / 396.6 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.186e-06/0.1138, allocations: 4 kB / 396.6 MB, free: 248 kB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006642/0.1145, allocations: 457.2 kB / 397.1 MB, free: 15.75 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.1145, allocations: 3.953 kB / 397.1 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003085/0.1148, allocations: 71.89 kB / 397.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.484e-05/0.1148, allocations: 4 kB / 397.1 MB, free: 15.67 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.1148, allocations: 4 kB / 397.1 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.889e-06/0.1149, allocations: 4 kB / 397.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.1149, allocations: 160 / 397.2 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007738/0.1156, allocations: 0.7528 MB / 397.9 MB, free: 14.86 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.775e-05/0.1157, allocations: 108.7 kB / 398 MB, free: 14.74 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.1158, allocations: 11.94 kB / 398 MB, free: 14.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002135/0.116, allocations: 12 kB / 398 MB, free: 14.71 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.116, allocations: 23.92 kB / 398.1 MB, free: 14.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1161, allocations: 12 kB / 398.1 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001784/0.1163, allocations: 194 kB / 398.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1163, allocations: 0 / 398.3 MB, free: 14.49 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004484/0.1167, allocations: 83.69 kB / 398.3 MB, free: 14.41 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001153/0.1179, allocations: 1.489 MB / 399.8 MB, free: 12.88 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004177/0.1183, allocations: 268.4 kB / 400.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.1183, allocations: 0 / 400.1 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.1185, allocations: 120.3 kB / 400.2 MB, free: 12.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005515/0.1191, allocations: 60.78 kB / 400.3 MB, free: 12.44 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003624/0.1227, allocations: 3.701 MB / 404 MB, free: 8.625 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000446/0.1232, allocations: 0.8232 MB / 404.8 MB, free: 7.773 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001589/0.1233, allocations: 31.89 kB / 404.8 MB, free: 7.742 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.1235, allocations: 135.4 kB / 405 MB, free: 7.609 MB / 302.1 MB Notification: Performance of SimCode: time 1.242e-06/0.1235, allocations: 4 kB / 405 MB, free: 7.605 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.1438, allocations: 5.832 MB / 410.8 MB, free: 1.91 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.144, allocations: 210.3 kB / 411 MB, free: 1.672 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.87/2.015, allocations: 0 / 411 MB, free: 1.672 MB / 302.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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations.fmu > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1) Environment - environmentSimulation: