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.001262/0.001262, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001164/0.001165, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.505/1.505, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.09232/0.09232, allocations: 8.11 MB / 277.4 MB, free: 13.37 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.001314/0.001314, allocations: 71.88 kB / 336.6 MB, free: 26.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08454/0.08586, allocations: 48.3 MB / 384.9 MB, free: 10.51 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001717/0.08762, allocations: 0.6219 MB / 385.5 MB, free: 9.887 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002616/0.0879, allocations: 115.6 kB / 385.6 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.293e-05/0.08795, allocations: 0 / 385.6 MB, free: 9.773 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.841e-05/0.08801, allocations: 11.92 kB / 385.7 MB, free: 9.762 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.791e-05/0.08807, allocations: 3.938 kB / 385.7 MB, free: 9.758 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.08822, allocations: 19.98 kB / 385.7 MB, free: 9.738 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000108/0.08833, allocations: 63.84 kB / 385.7 MB, free: 9.676 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.08846, allocations: 43.95 kB / 385.8 MB, free: 9.633 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.145e-05/0.0885, allocations: 31.86 kB / 385.8 MB, free: 9.602 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.429e-05/0.08857, allocations: 35.78 kB / 385.9 MB, free: 9.566 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.618e-05/0.0886, allocations: 8 kB / 385.9 MB, free: 9.559 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.711e-05/0.08862, allocations: 11.94 kB / 385.9 MB, free: 9.547 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.08865, allocations: 11.98 kB / 385.9 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.0887, allocations: 35.75 kB / 385.9 MB, free: 9.5 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001074/0.08881, allocations: 87.72 kB / 386 MB, free: 9.414 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.08882, allocations: 3.984 kB / 386 MB, free: 9.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 7.72e-07/0.08882, allocations: 0 / 386 MB, free: 9.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.906e-06/0.08883, allocations: 0 / 386 MB, free: 9.41 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.0004706/0.08931, allocations: 387.8 kB / 386.4 MB, free: 8.98 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.08935, allocations: 12.03 kB / 386.4 MB, free: 8.969 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.956e-05/0.0894, allocations: 38.73 kB / 386.4 MB, free: 8.922 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.185e-05/0.08943, allocations: 16.75 kB / 386.5 MB, free: 8.906 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.08961, allocations: 188.2 kB / 386.6 MB, free: 8.684 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.193e-05/0.08962, allocations: 12.5 kB / 386.6 MB, free: 8.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.423e-05/0.08965, allocations: 8.375 kB / 386.7 MB, free: 8.664 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.08984, allocations: 93.78 kB / 386.7 MB, free: 8.566 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.08986, allocations: 4 kB / 386.8 MB, free: 8.562 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.43e-05/0.08988, allocations: 8 kB / 386.8 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.08989, allocations: 0 / 386.8 MB, free: 8.555 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.939e-05/0.08999, allocations: 55.91 kB / 386.8 MB, free: 8.5 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.09054, allocations: 404.6 kB / 387.2 MB, free: 8.055 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.09072, allocations: 86.56 kB / 387.3 MB, free: 7.961 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.696e-05/0.0908, allocations: 40.84 kB / 387.3 MB, free: 7.918 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.185e-05/0.09082, allocations: 0 / 387.3 MB, free: 7.918 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/0.09085, allocations: 34.56 kB / 387.4 MB, free: 7.875 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 9.62e-07/0.09086, allocations: 0 / 387.4 MB, free: 7.875 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002078/0.09107, allocations: 105.7 kB / 387.5 MB, free: 7.766 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.09111, allocations: 59.41 kB / 387.5 MB, free: 7.695 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.47e-05/0.09119, allocations: 117.7 kB / 387.6 MB, free: 7.57 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.09121, allocations: 25.7 kB / 387.7 MB, free: 7.539 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.18e-05/0.09127, allocations: 103.9 kB / 387.8 MB, free: 7.434 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.88e-05/0.0913, allocations: 27.56 kB / 387.8 MB, free: 7.406 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.09134, allocations: 29.7 kB / 387.8 MB, free: 7.371 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.388e-05/0.09144, allocations: 314.8 kB / 388.1 MB, free: 7.055 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.947e-05/0.09149, allocations: 23.98 kB / 388.2 MB, free: 7.031 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.236e-05/0.09153, allocations: 24 kB / 388.2 MB, free: 7.008 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.009e-05/0.09161, allocations: 56.78 kB / 388.2 MB, free: 6.949 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.09162, allocations: 0 / 388.2 MB, free: 6.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001166/0.09174, allocations: 89.62 kB / 388.3 MB, free: 6.855 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.09176, allocations: 6.188 kB / 388.3 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.09177, allocations: 0 / 388.3 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.09178, allocations: 0 / 388.3 MB, free: 6.852 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.09189, allocations: 20 kB / 388.3 MB, free: 6.832 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.0919, allocations: 3.938 kB / 388.4 MB, free: 6.828 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.502e-05/0.09193, allocations: 7.844 kB / 388.4 MB, free: 6.82 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.09195, allocations: 11.98 kB / 388.4 MB, free: 6.809 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.174e-05/0.09202, allocations: 117.8 kB / 388.5 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.493e-05/0.09205, allocations: 0 / 388.5 MB, free: 6.684 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.167e-05/0.09209, allocations: 12.38 kB / 388.5 MB, free: 6.668 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.0921, allocations: 4.219 kB / 388.5 MB, free: 6.664 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.09211, allocations: 3.938 kB / 388.5 MB, free: 6.66 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.09212, allocations: 3.938 kB / 388.5 MB, free: 6.656 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000184/0.0923, allocations: 209.5 kB / 388.7 MB, free: 6.402 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.09232, allocations: 4 kB / 388.7 MB, free: 6.398 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-05/0.09241, allocations: 19.98 kB / 388.7 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.09242, allocations: 0 / 388.7 MB, free: 6.379 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/0.09244, allocations: 8 kB / 388.7 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.09244, allocations: 0.625 kB / 388.7 MB, free: 6.371 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.09245, allocations: 3.938 kB / 388.8 MB, free: 6.367 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.09267, allocations: 211.4 kB / 389 MB, free: 6.145 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.09271, allocations: 77.11 kB / 389 MB, free: 6.051 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.781e-05/0.09273, allocations: 4 kB / 389 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.238e-05/0.0928, allocations: 12 kB / 389 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.719e-05/0.09282, allocations: 11.91 kB / 389.1 MB, free: 6.023 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.09283, allocations: 4 kB / 389.1 MB, free: 6.02 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.668e-05/0.09287, allocations: 83.28 kB / 389.1 MB, free: 5.938 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.09288, allocations: 0 / 389.1 MB, free: 5.938 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002139/0.0931, allocations: 23.84 kB / 389.2 MB, free: 5.914 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 (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.0003874/0.09349, allocations: 0.7359 MB / 389.9 MB, free: 5.148 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001203/0.09362, allocations: 63.89 kB / 390 MB, free: 5.086 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.09363, allocations: 0 / 390 MB, free: 5.086 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.854e-05/0.09367, allocations: 27.94 kB / 390 MB, free: 5.059 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003073/0.09398, allocations: 19.92 kB / 390 MB, free: 5.039 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.09518, allocations: 1.451 MB / 391.5 MB, free: 3.504 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.09542, allocations: 0.6926 MB / 392.2 MB, free: 2.785 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 3.454e-05/0.09546, allocations: 15.7 kB / 392.2 MB, free: 2.77 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.09551, allocations: 23.44 kB / 392.2 MB, free: 2.75 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.09552, allocations: 0 / 392.2 MB, free: 2.75 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01806/0.1136, allocations: 1.714 MB / 393.9 MB, free: 1.129 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002984/0.1139, allocations: 246.3 kB / 394.1 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/1.754, allocations: 4 kB / 394.2 MB, free: 0.8594 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/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)