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.0009445/0.0009448, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.0009743/0.0009743, allocations: 172.7 kB / 15.95 MB, free: 208 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.557/1.557, allocations: 205.4 MB / 222.1 MB, free: 5.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03827/0.03827, allocations: 8.106 MB / 278.5 MB, free: 13.1 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.0005008/0.0005008, allocations: 19.12 kB / 338.4 MB, free: 26.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08928/0.08979, allocations: 49.28 MB / 387.7 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.001346/0.09118, allocations: 0.8054 MB / 388.5 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006214/0.09182, allocations: 366.7 kB / 388.8 MB, free: 8.395 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001071/0.09194, allocations: 8 kB / 388.8 MB, free: 8.387 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.872e-05/0.09201, allocations: 23.69 kB / 388.9 MB, free: 8.363 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.09215, allocations: 27.73 kB / 388.9 MB, free: 8.336 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.0924, allocations: 87.86 kB / 389 MB, free: 8.25 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003631/0.09277, allocations: 347.3 kB / 389.3 MB, free: 7.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003104/0.0931, allocations: 178.4 kB / 389.5 MB, free: 7.73 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.09322, allocations: 123.3 kB / 389.6 MB, free: 7.609 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001806/0.09341, allocations: 147.1 kB / 389.7 MB, free: 7.465 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.851e-05/0.09346, allocations: 24 kB / 389.8 MB, free: 7.441 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.112e-05/0.09351, allocations: 27.94 kB / 389.8 MB, free: 7.414 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 6.379e-05/0.09358, allocations: 75.7 kB / 389.9 MB, free: 7.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.951e-05/0.09367, allocations: 97.45 kB / 390 MB, free: 7.238 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003954/0.09407, allocations: 470.8 kB / 390.4 MB, free: 6.777 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.09408, allocations: 0 / 390.4 MB, free: 6.777 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.09409, allocations: 0 / 390.4 MB, free: 6.777 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.394e-06/0.0941, allocations: 0 / 390.4 MB, free: 6.777 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.0009108/0.09502, allocations: 0.6279 MB / 391.1 MB, free: 6.102 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.09508, allocations: 8.031 kB / 391.1 MB, free: 6.094 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001043/0.0952, allocations: 78.53 kB / 391.1 MB, free: 6.008 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.742e-05/0.09529, allocations: 51.34 kB / 391.2 MB, free: 5.957 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003828/0.09568, allocations: 334.2 kB / 391.5 MB, free: 5.59 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.09572, allocations: 29 kB / 391.5 MB, free: 5.562 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-05/0.09579, allocations: 51.95 kB / 391.6 MB, free: 5.512 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006454/0.09644, allocations: 421.9 kB / 392 MB, free: 5.082 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.358e-05/0.09647, allocations: 7.844 kB / 392 MB, free: 5.074 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.928e-05/0.09652, allocations: 16 kB / 392 MB, free: 5.059 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.09654, allocations: 12 kB / 392 MB, free: 5.047 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004059/0.09695, allocations: 256.9 kB / 392.3 MB, free: 4.797 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001792/0.09875, allocations: 1.464 MB / 393.8 MB, free: 3.27 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.0993, allocations: 354.6 kB / 394.1 MB, free: 2.887 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.09952, allocations: 167.4 kB / 394.3 MB, free: 2.711 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.518e-05/0.09956, allocations: 4 kB / 394.3 MB, free: 2.707 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.09959, allocations: 42.5 kB / 394.3 MB, free: 2.656 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 1.864e-06/0.0996, allocations: 3.938 kB / 394.3 MB, free: 2.652 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006202/0.1002, allocations: 358.4 kB / 394.7 MB, free: 2.297 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.1003, allocations: 140.5 kB / 394.8 MB, free: 2.129 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.1006, allocations: 263 kB / 395.1 MB, free: 1.859 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.1007, allocations: 37.7 kB / 395.1 MB, free: 1.816 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001422/0.1008, allocations: 232 kB / 395.3 MB, free: 1.582 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.982e-05/0.1009, allocations: 114.3 kB / 395.4 MB, free: 1.469 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.405e-05/0.1009, allocations: 8 kB / 395.4 MB, free: 1.461 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001241/0.101, allocations: 342.8 kB / 395.8 MB, free: 1.117 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/0.1012, allocations: 96.84 kB / 395.9 MB, free: 1.02 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.1015, allocations: 190.6 kB / 396.1 MB, free: 0.7969 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001883/0.1017, allocations: 127.9 kB / 396.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.1017, allocations: 0 / 396.2 MB, free: 0.6719 MB / 286.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005403/0.1022, allocations: 361.1 kB / 396.5 MB, free: 320 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.1023, allocations: 8 kB / 396.5 MB, free: 312 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.1023, allocations: 4.25 kB / 396.5 MB, free: 308 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.1023, allocations: 8 kB / 396.6 MB, free: 300 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/0.1027, allocations: 87.89 kB / 396.6 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.498e-06/0.1027, allocations: 4 kB / 396.6 MB, free: 208 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.1028, allocations: 27.69 kB / 396.7 MB, free: 180 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.318e-05/0.1028, allocations: 16 kB / 396.7 MB, free: 164 kB / 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.0001932/0.103, allocations: 177.7 kB / 396.9 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.1031, allocations: 39.56 kB / 396.9 MB, free: 15.94 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.157e-05/0.1032, allocations: 41.73 kB / 396.9 MB, free: 15.9 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.47e-06/0.1032, allocations: 4 kB / 396.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.1032, allocations: 4 kB / 396.9 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.1032, allocations: 4 kB / 397 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/0.1039, allocations: 461.1 kB / 397.4 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.1039, allocations: 4 kB / 397.4 MB, free: 15.38 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003038/0.1042, allocations: 67.89 kB / 397.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.1042, allocations: 0 / 397.5 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.1042, allocations: 8 kB / 397.5 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.16e-06/0.1043, allocations: 4 kB / 397.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1043, allocations: 7.938 kB / 397.5 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.105, allocations: 0.7009 MB / 398.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000142/0.1051, allocations: 116.6 kB / 398.3 MB, free: 14.44 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.484e-05/0.1052, allocations: 11.98 kB / 398.3 MB, free: 14.43 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.1054, allocations: 8 kB / 398.3 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.37e-05/0.1054, allocations: 19.98 kB / 398.3 MB, free: 14.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.722e-05/0.1054, allocations: 8 kB / 398.4 MB, free: 14.39 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001602/0.1056, allocations: 194 kB / 398.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1056, allocations: 0 / 398.5 MB, free: 14.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004611/0.1061, allocations: 75.69 kB / 398.6 MB, free: 14.13 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.000956/0.107, allocations: 1.266 MB / 399.9 MB, free: 12.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0004282/0.1075, allocations: 256.4 kB / 400.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.1075, allocations: 384 / 400.1 MB, free: 12.58 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.1077, allocations: 124.3 kB / 400.3 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006875/0.1084, allocations: 61.88 kB / 400.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.1115, allocations: 2.06 MB / 402.4 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.112, allocations: 0.8154 MB / 403.2 MB, free: 9.398 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001396/0.1122, allocations: 26.97 kB / 403.2 MB, free: 9.371 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.1123, allocations: 131.4 kB / 403.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of SimCode: time 7.01e-07/0.1123, allocations: 0 / 403.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0183/0.1307, allocations: 5.875 MB / 409.2 MB, free: 3.508 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001848/0.1309, allocations: 220.2 kB / 409.4 MB, free: 3.266 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.836/1.967, allocations: 0 / 409.4 MB, free: 3.266 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: