Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.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.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",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.0008575/0.0008576, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.0009377/0.0009379, allocations: 172.7 kB / 15.95 MB, free: 192 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.519/1.519, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04003/0.04003, allocations: 8.105 MB / 278.5 MB, free: 13.21 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.0005343/0.0005346, allocations: 19.44 kB / 338.4 MB, free: 26.93 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1082, allocations: 49.28 MB / 387.7 MB, free: 9.594 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.0008935/0.1092, allocations: 270.1 kB / 387.9 MB, free: 9.332 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003956/0.1096, allocations: 123.6 kB / 388 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.341e-05/0.1097, allocations: 0 / 388 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.098e-05/0.1098, allocations: 3.938 kB / 388 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.042e-05/0.1099, allocations: 3.938 kB / 388 MB, free: 9.203 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.1101, allocations: 23.98 kB / 388.1 MB, free: 9.18 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001601/0.1102, allocations: 59.84 kB / 388.1 MB, free: 9.121 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.1104, allocations: 39.97 kB / 388.2 MB, free: 9.082 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.146e-05/0.1105, allocations: 27.91 kB / 388.2 MB, free: 9.055 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1106, allocations: 31.78 kB / 388.2 MB, free: 9.023 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.1106, allocations: 4 kB / 388.2 MB, free: 9.02 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.178e-05/0.1107, allocations: 8 kB / 388.2 MB, free: 9.012 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.1107, allocations: 7.984 kB / 388.2 MB, free: 9.004 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.843e-05/0.1108, allocations: 41.64 kB / 388.3 MB, free: 8.957 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.1109, allocations: 71.83 kB / 388.4 MB, free: 8.887 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.1109, allocations: 0 / 388.4 MB, free: 8.887 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.435e-06/0.1109, allocations: 0 / 388.4 MB, free: 8.887 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.484e-06/0.1109, allocations: 0 / 388.4 MB, free: 8.887 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005962/0.1116, allocations: 371.6 kB / 388.7 MB, free: 8.473 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.1116, allocations: 8.031 kB / 388.7 MB, free: 8.465 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.666e-05/0.1117, allocations: 46.55 kB / 388.8 MB, free: 8.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.817e-05/0.1117, allocations: 7.906 kB / 388.8 MB, free: 8.402 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002209/0.112, allocations: 186.8 kB / 389 MB, free: 8.18 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.112, allocations: 8.188 kB / 389 MB, free: 8.172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.177e-05/0.112, allocations: 15.95 kB / 389 MB, free: 8.156 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002188/0.1123, allocations: 91.09 kB / 389.1 MB, free: 8.062 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.1123, allocations: 8 kB / 389.1 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.1123, allocations: 4 kB / 389.1 MB, free: 8.051 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1123, allocations: 0 / 389.1 MB, free: 8.051 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/0.1124, allocations: 52.53 kB / 389.1 MB, free: 8 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006478/0.1131, allocations: 405.4 kB / 389.5 MB, free: 7.555 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1133, allocations: 82.5 kB / 389.6 MB, free: 7.465 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.821e-05/0.1134, allocations: 41 kB / 389.7 MB, free: 7.422 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.1134, allocations: 7.984 kB / 389.7 MB, free: 7.414 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.945e-05/0.1134, allocations: 30.56 kB / 389.7 MB, free: 7.375 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.212e-06/0.1134, allocations: 0 / 389.7 MB, free: 7.375 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002785/0.1137, allocations: 101.6 kB / 389.8 MB, free: 7.27 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.609e-05/0.1138, allocations: 55.41 kB / 389.8 MB, free: 7.203 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.955e-05/0.1139, allocations: 117.7 kB / 390 MB, free: 7.078 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1139, allocations: 25.7 kB / 390 MB, free: 7.047 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.114, allocations: 104 kB / 390.1 MB, free: 6.941 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.105e-05/0.114, allocations: 31.5 kB / 390.1 MB, free: 6.91 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-06/0.114, allocations: 0 / 390.1 MB, free: 6.91 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001526/0.1142, allocations: 322.8 kB / 390.4 MB, free: 6.586 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.795e-05/0.1142, allocations: 12 kB / 390.4 MB, free: 6.574 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.1143, allocations: 27.98 kB / 390.5 MB, free: 6.547 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.983e-05/0.1143, allocations: 24 kB / 390.5 MB, free: 6.523 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.1143, allocations: 0 / 390.5 MB, free: 6.523 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001363/0.1145, allocations: 89.53 kB / 390.6 MB, free: 6.43 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.1145, allocations: 8 kB / 390.6 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1145, allocations: 0 / 390.6 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.1145, allocations: 0 / 390.6 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001245/0.1146, allocations: 27.92 kB / 390.6 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.1147, allocations: 0 / 390.6 MB, free: 6.395 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.1147, allocations: 7.938 kB / 390.6 MB, free: 6.387 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.1147, allocations: 8 kB / 390.6 MB, free: 6.379 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 (10): * Single equations (assignments): 10 * 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.0001063/0.1148, allocations: 117.8 kB / 390.7 MB, free: 6.254 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.1149, allocations: 3.906 kB / 390.7 MB, free: 6.25 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.219e-05/0.1149, allocations: 16.31 kB / 390.8 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1149, allocations: 0 / 390.8 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.976e-06/0.1149, allocations: 3.953 kB / 390.8 MB, free: 6.227 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.1149, allocations: 3.984 kB / 390.8 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002333/0.1152, allocations: 205.6 kB / 391 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.1152, allocations: 0 / 391 MB, free: 5.973 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.598e-05/0.1153, allocations: 19.98 kB / 391 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.1153, allocations: 0 / 391 MB, free: 5.953 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.485e-05/0.1153, allocations: 8.281 kB / 391 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.1153, allocations: 0 / 391 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.1153, allocations: 0 / 391 MB, free: 5.945 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.1156, allocations: 215.3 kB / 391.2 MB, free: 5.719 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.488e-05/0.1157, allocations: 85.05 kB / 391.3 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.755e-05/0.1157, allocations: 0 / 391.3 MB, free: 5.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.403e-05/0.1158, allocations: 8.062 kB / 391.3 MB, free: 5.609 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.931e-05/0.1158, allocations: 7.984 kB / 391.3 MB, free: 5.602 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.244e-06/0.1158, allocations: 4 kB / 391.3 MB, free: 5.598 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.544e-05/0.1159, allocations: 87.97 kB / 391.4 MB, free: 5.512 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1159, allocations: 0 / 391.4 MB, free: 5.512 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002292/0.1161, allocations: 19.89 kB / 391.4 MB, free: 5.492 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.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 (8): * Single equations (assignments): 8 * 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.0005978/0.1167, allocations: 0.7475 MB / 392.2 MB, free: 4.715 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001413/0.1169, allocations: 56.3 kB / 392.2 MB, free: 4.66 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1169, allocations: 0 / 392.2 MB, free: 4.66 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.656e-05/0.117, allocations: 31.92 kB / 392.3 MB, free: 4.629 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003451/0.1173, allocations: 11.98 kB / 392.3 MB, free: 4.617 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009349/0.1182, allocations: 0.5737 MB / 392.8 MB, free: 4 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003374/0.1186, allocations: 0.7004 MB / 393.5 MB, free: 3.273 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.856e-05/0.1186, allocations: 11.78 kB / 393.6 MB, free: 3.262 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.431e-05/0.1187, allocations: 27.48 kB / 393.6 MB, free: 3.238 MB / 286.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1187, allocations: 0 / 393.6 MB, free: 3.238 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01343/0.1321, allocations: 1.648 MB / 395.2 MB, free: 1.715 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/0.1324, allocations: 233.3 kB / 395.5 MB, free: 1.461 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.685/1.817, allocations: 0 / 395.5 MB, free: 1.461 MB / 286.1 MB (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) Environment - environmentSimulation: