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: translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009856/0.0009861, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007383/0.007383, allocations: 169.2 kB / 16.26 MB, free: 6.652 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.678/1.678, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04051/0.04051, allocations: 8.114 MB / 278.8 MB, free: 13.1 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.0005396/0.0005398, allocations: 12 kB / 338.9 MB, free: 26.68 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09655, allocations: 49.28 MB / 388.2 MB, free: 9.355 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.0009791/0.09759, allocations: 289.9 kB / 388.4 MB, free: 9.074 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004423/0.09808, allocations: 119.6 kB / 388.6 MB, free: 8.957 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.078e-05/0.0982, allocations: 0 / 388.6 MB, free: 8.957 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.09e-05/0.09825, allocations: 7.938 kB / 388.6 MB, free: 8.949 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.759e-05/0.09836, allocations: 3.938 kB / 388.6 MB, free: 8.945 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002309/0.0986, allocations: 23.98 kB / 388.6 MB, free: 8.922 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000199/0.09881, allocations: 71.83 kB / 388.7 MB, free: 8.852 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002115/0.09903, allocations: 31.97 kB / 388.7 MB, free: 8.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.061e-05/0.0991, allocations: 27.86 kB / 388.7 MB, free: 8.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.99e-05/0.0992, allocations: 31.78 kB / 388.8 MB, free: 8.762 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.255e-05/0.09923, allocations: 8 kB / 388.8 MB, free: 8.754 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.994e-05/0.09926, allocations: 8 kB / 388.8 MB, free: 8.746 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.823e-05/0.09929, allocations: 11.92 kB / 388.8 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000102/0.0994, allocations: 61.5 kB / 388.8 MB, free: 8.668 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001734/0.09958, allocations: 87.64 kB / 388.9 MB, free: 8.582 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.0996, allocations: 0 / 388.9 MB, free: 8.582 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.09961, allocations: 0 / 388.9 MB, free: 8.582 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.09962, allocations: 0 / 388.9 MB, free: 8.582 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.0005901/0.1002, allocations: 363.8 kB / 389.3 MB, free: 8.176 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.1003, allocations: 16.03 kB / 389.3 MB, free: 8.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.304e-05/0.1004, allocations: 8.844 kB / 389.3 MB, free: 8.152 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.1006, allocations: 192.2 kB / 389.5 MB, free: 7.926 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.921e-05/0.1006, allocations: 8.562 kB / 389.5 MB, free: 7.918 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.97e-05/0.1007, allocations: 8.375 kB / 389.5 MB, free: 7.91 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000271/0.101, allocations: 97.91 kB / 389.6 MB, free: 7.809 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.101, allocations: 0 / 389.6 MB, free: 7.809 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.38e-05/0.101, allocations: 8 kB / 389.6 MB, free: 7.801 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.091e-06/0.101, allocations: 0 / 389.6 MB, free: 7.801 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001203/0.1012, allocations: 47.98 kB / 389.7 MB, free: 7.754 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006443/0.1018, allocations: 412.5 kB / 390.1 MB, free: 7.301 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001797/0.102, allocations: 90.47 kB / 390.1 MB, free: 7.203 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.956e-05/0.1021, allocations: 40.86 kB / 390.2 MB, free: 7.16 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.332e-05/0.1021, allocations: 0 / 390.2 MB, free: 7.16 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.897e-05/0.1021, allocations: 42.55 kB / 390.2 MB, free: 7.109 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 8.71e-07/0.1021, allocations: 3.938 kB / 390.2 MB, free: 7.105 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002266/0.1024, allocations: 97.73 kB / 390.3 MB, free: 7.004 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.1024, allocations: 55.41 kB / 390.4 MB, free: 6.938 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.283e-05/0.1025, allocations: 109.8 kB / 390.5 MB, free: 6.82 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/0.1025, allocations: 29.7 kB / 390.5 MB, free: 6.785 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.738e-05/0.1026, allocations: 104 kB / 390.6 MB, free: 6.68 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.143e-05/0.1026, allocations: 35.48 kB / 390.7 MB, free: 6.645 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.416e-05/0.1026, allocations: 13.72 kB / 390.7 MB, free: 6.625 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001702/0.1028, allocations: 322.8 kB / 391 MB, free: 6.301 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.579e-05/0.1029, allocations: 16 kB / 391 MB, free: 6.285 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.397e-05/0.1029, allocations: 23.98 kB / 391 MB, free: 6.262 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.157e-05/0.103, allocations: 52.98 kB / 391.1 MB, free: 6.207 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.103, allocations: 0 / 391.1 MB, free: 6.207 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001274/0.1031, allocations: 97.53 kB / 391.2 MB, free: 6.105 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.1032, allocations: 4 kB / 391.2 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.1032, allocations: 0 / 391.2 MB, free: 6.102 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.1032, allocations: 4 kB / 391.2 MB, free: 6.098 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001073/0.1033, allocations: 15.98 kB / 391.2 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.412e-06/0.1033, allocations: 0 / 391.2 MB, free: 6.082 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.1034, allocations: 11.88 kB / 391.2 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-06/0.1034, allocations: 7.938 kB / 391.2 MB, free: 6.062 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 0.0001005/0.1035, allocations: 113.8 kB / 391.3 MB, free: 5.941 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.1035, allocations: 11.91 kB / 391.3 MB, free: 5.93 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.743e-05/0.1036, allocations: 8.375 kB / 391.3 MB, free: 5.922 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/0.1036, allocations: 4 kB / 391.3 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1036, allocations: 0 / 391.3 MB, free: 5.918 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.1036, allocations: 7.922 kB / 391.4 MB, free: 5.91 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002439/0.1038, allocations: 209.6 kB / 391.6 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1039, allocations: 0 / 391.6 MB, free: 5.656 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001008/0.104, allocations: 15.98 kB / 391.6 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.104, allocations: 0 / 391.6 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.104, allocations: 0 / 391.6 MB, free: 5.641 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.104, allocations: 4 kB / 391.6 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.104, allocations: 0 / 391.6 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002684/0.1043, allocations: 215.3 kB / 391.8 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.1043, allocations: 85.05 kB / 391.9 MB, free: 5.309 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.602e-05/0.1044, allocations: 3.938 kB / 391.9 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.696e-05/0.1044, allocations: 0 / 391.9 MB, free: 5.305 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.662e-05/0.1045, allocations: 16.02 kB / 391.9 MB, free: 5.289 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.37e-06/0.1045, allocations: 3.938 kB / 391.9 MB, free: 5.285 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.258e-05/0.1045, allocations: 87.34 kB / 392 MB, free: 5.199 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1046, allocations: 0 / 392 MB, free: 5.199 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002556/0.1048, allocations: 23.92 kB / 392 MB, free: 5.176 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.0001216/0.1049, allocations: 95.25 kB / 392.1 MB, free: 5.07 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001499/0.1051, allocations: 59.92 kB / 392.2 MB, free: 5.012 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1051, allocations: 0 / 392.2 MB, free: 5.012 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.71e-05/0.1052, allocations: 27.98 kB / 392.2 MB, free: 4.984 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.1055, allocations: 19.92 kB / 392.2 MB, free: 4.965 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004603/0.106, allocations: 244.5 kB / 392.4 MB, free: 4.703 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.1063, allocations: 0.7043 MB / 393.1 MB, free: 3.973 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.134e-05/0.1063, allocations: 7.781 kB / 393.2 MB, free: 3.965 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.1064, allocations: 11.44 kB / 393.2 MB, free: 3.953 MB / 286.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1064, allocations: 0 / 393.2 MB, free: 3.953 MB / 286.1 MB Notification: Performance of Templates: time 0.003033/0.1094, allocations: 0.6537 MB / 393.8 MB, free: 3.312 MB / 286.1 MB make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.makefile Environment - environmentSimulation: (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 & ./ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) Environment - environmentSimulation: