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.001286/0.001286, allocations: 99.62 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.001747/0.001747, allocations: 177.3 kB / 15.95 MB, free: 216 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.673/1.673, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04066/0.04066, allocations: 8.097 MB / 278.5 MB, free: 13.22 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.0005048/0.0005048, allocations: 12 kB / 338.3 MB, free: 26.95 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1032, allocations: 49.28 MB / 387.6 MB, free: 9.625 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.0007949/0.1041, allocations: 272.4 kB / 387.9 MB, free: 9.359 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002969/0.1044, allocations: 121.4 kB / 388 MB, free: 9.242 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.89e-05/0.1045, allocations: 0 / 388 MB, free: 9.242 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.052e-05/0.1045, allocations: 3.938 kB / 388 MB, free: 9.238 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 8.127e-05/0.1046, allocations: 4 kB / 388 MB, free: 9.234 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001786/0.1048, allocations: 27.91 kB / 388 MB, free: 9.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001277/0.1049, allocations: 35.97 kB / 388.1 MB, free: 9.172 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1051, allocations: 35.95 kB / 388.1 MB, free: 9.137 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.1051, allocations: 19.88 kB / 388.1 MB, free: 9.117 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.1052, allocations: 31.84 kB / 388.1 MB, free: 9.086 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.1052, allocations: 8 kB / 388.2 MB, free: 9.078 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.539e-05/0.1052, allocations: 4 kB / 388.2 MB, free: 9.074 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.245e-05/0.1053, allocations: 19.86 kB / 388.2 MB, free: 9.055 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.38e-05/0.1053, allocations: 41.64 kB / 388.2 MB, free: 9.008 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.605e-05/0.1054, allocations: 67.83 kB / 388.3 MB, free: 8.941 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.1054, allocations: 0 / 388.3 MB, free: 8.941 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1054, allocations: 3.938 kB / 388.3 MB, free: 8.938 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.1054, allocations: 0 / 388.3 MB, free: 8.938 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.0004553/0.1059, allocations: 371.6 kB / 388.7 MB, free: 8.523 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.106, allocations: 8.031 kB / 388.7 MB, free: 8.516 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.238e-05/0.106, allocations: 38.56 kB / 388.7 MB, free: 8.469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.1061, allocations: 11.91 kB / 388.7 MB, free: 8.457 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002032/0.1063, allocations: 198.8 kB / 388.9 MB, free: 8.223 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1063, allocations: 4.188 kB / 388.9 MB, free: 8.219 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.1063, allocations: 15.95 kB / 388.9 MB, free: 8.203 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000184/0.1065, allocations: 91.16 kB / 389 MB, free: 8.109 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1065, allocations: 0 / 389 MB, free: 8.109 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.1065, allocations: 4 kB / 389 MB, free: 8.105 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1066, allocations: 8 kB / 389 MB, free: 8.098 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000133/0.1067, allocations: 48.55 kB / 389.1 MB, free: 8.051 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005671/0.1073, allocations: 405.3 kB / 389.5 MB, free: 7.605 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002068/0.1075, allocations: 86.55 kB / 389.5 MB, free: 7.512 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/0.1075, allocations: 0 / 389.5 MB, free: 7.512 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.236e-05/0.1076, allocations: 38.56 kB / 389.6 MB, free: 7.465 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 1.263e-06/0.1076, allocations: 0 / 389.6 MB, free: 7.465 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002902/0.1079, allocations: 101.7 kB / 389.7 MB, free: 7.359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.516e-05/0.1079, allocations: 59.39 kB / 389.7 MB, free: 7.289 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.1081, allocations: 109.8 kB / 389.9 MB, free: 7.172 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.1081, allocations: 29.7 kB / 389.9 MB, free: 7.137 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.647e-05/0.1082, allocations: 104 kB / 390 MB, free: 7.031 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.714e-05/0.1082, allocations: 31.55 kB / 390 MB, free: 7 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.02e-06/0.1083, allocations: 0 / 390 MB, free: 7 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001797/0.1084, allocations: 322.8 kB / 390.3 MB, free: 6.676 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.735e-05/0.1085, allocations: 12 kB / 390.3 MB, free: 6.664 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.001e-05/0.1085, allocations: 23.98 kB / 390.4 MB, free: 6.641 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.816e-05/0.1086, allocations: 28.12 kB / 390.4 MB, free: 6.613 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.1086, allocations: 0 / 390.4 MB, free: 6.613 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000153/0.1088, allocations: 97.53 kB / 390.5 MB, free: 6.512 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.1088, allocations: 4 kB / 390.5 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.1088, allocations: 0 / 390.5 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.1088, allocations: 0 / 390.5 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.109, allocations: 19.94 kB / 390.5 MB, free: 6.488 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.287e-05/0.109, allocations: 11.88 kB / 390.5 MB, free: 6.477 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.129e-05/0.109, allocations: 3.938 kB / 390.5 MB, free: 6.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.109, allocations: 8 kB / 390.5 MB, free: 6.465 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.0001375/0.1092, allocations: 113.8 kB / 390.6 MB, free: 6.344 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.1092, allocations: 11.91 kB / 390.7 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.1093, allocations: 8.375 kB / 390.7 MB, free: 6.32 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.1093, allocations: 0 / 390.7 MB, free: 6.32 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.1093, allocations: 0 / 390.7 MB, free: 6.32 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.1093, allocations: 7.953 kB / 390.7 MB, free: 6.312 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002615/0.1096, allocations: 201.6 kB / 390.9 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1096, allocations: 0 / 390.9 MB, free: 6.066 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.1097, allocations: 19.98 kB / 390.9 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1097, allocations: 0 / 390.9 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.1097, allocations: 0 / 390.9 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1097, allocations: 4 kB / 390.9 MB, free: 6.043 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.1097, allocations: 0 / 390.9 MB, free: 6.043 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003107/0.1101, allocations: 219.3 kB / 391.1 MB, free: 5.812 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.1101, allocations: 81.02 kB / 391.2 MB, free: 5.715 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1102, allocations: 0 / 391.2 MB, free: 5.715 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.1102, allocations: 8.031 kB / 391.2 MB, free: 5.707 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.483e-05/0.1103, allocations: 7.984 kB / 391.2 MB, free: 5.699 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-06/0.1103, allocations: 4 kB / 391.2 MB, free: 5.695 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.835e-05/0.1104, allocations: 87.34 kB / 391.3 MB, free: 5.609 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1104, allocations: 0 / 391.3 MB, free: 5.609 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002313/0.1106, allocations: 15.94 kB / 391.3 MB, free: 5.594 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.0005731/0.1112, allocations: 0.7445 MB / 392.1 MB, free: 4.82 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1114, allocations: 63.89 kB / 392.1 MB, free: 4.758 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1114, allocations: 4.062 kB / 392.1 MB, free: 4.754 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.267e-05/0.1114, allocations: 28 kB / 392.1 MB, free: 4.727 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000309/0.1118, allocations: 11.98 kB / 392.2 MB, free: 4.715 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008748/0.1126, allocations: 0.5738 MB / 392.7 MB, free: 4.098 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.113, allocations: 0.6965 MB / 393.4 MB, free: 3.375 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.997e-05/0.113, allocations: 11.77 kB / 393.4 MB, free: 3.363 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.1131, allocations: 23.44 kB / 393.5 MB, free: 3.344 MB / 286.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1131, allocations: 0 / 393.5 MB, free: 3.344 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01379/0.1269, allocations: 1.638 MB / 395.1 MB, free: 1.828 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002293/0.1271, allocations: 212 kB / 395.3 MB, free: 1.586 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.698/1.825, allocations: 0 / 395.3 MB, free: 1.586 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: