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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 77.78 kB / 19.76 MB, free: 2.027 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001409/0.001409, allocations: 159.3 kB / 23.01 MB, free: 4.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.315/1.315, allocations: 158.6 MB / 184.8 MB, free: 6.18 MB / 174.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04971/0.04971, allocations: 6.429 MB / 243.4 MB, free: 12.71 MB / 238.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") translateModel(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.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.002604/0.002604, allocations: 79.88 kB / 360.8 MB, free: 11.16 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09485/0.09746, allocations: 50.89 MB / 411.7 MB, free: 8.172 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001844/0.0993, allocations: 0.5517 MB / 412.2 MB, free: 7.617 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003096/0.09961, allocations: 115.6 kB / 412.4 MB, free: 7.504 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.103e-05/0.09965, allocations: 4 kB / 412.4 MB, free: 7.5 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.809e-05/0.09969, allocations: 7.875 kB / 412.4 MB, free: 7.492 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 5.493e-05/0.09974, allocations: 11.86 kB / 412.4 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001226/0.09987, allocations: 27.97 kB / 412.4 MB, free: 7.453 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001329/0.1, allocations: 71.84 kB / 412.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.1001, allocations: 35.91 kB / 412.5 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.284e-05/0.1002, allocations: 31.84 kB / 412.5 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.005e-05/0.1002, allocations: 27.84 kB / 412.6 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.286e-05/0.1002, allocations: 12 kB / 412.6 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/0.1003, allocations: 8 kB / 412.6 MB, free: 7.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.458e-05/0.1003, allocations: 19.92 kB / 412.6 MB, free: 7.25 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.1003, allocations: 35.8 kB / 412.6 MB, free: 7.215 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.1005, allocations: 95.59 kB / 412.7 MB, free: 7.121 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1005, allocations: 0 / 412.7 MB, free: 7.121 MB / 334.1 MB Notification: Performance of FrontEnd: time 7.41e-07/0.1005, allocations: 0 / 412.7 MB, free: 7.121 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.1005, allocations: 4 kB / 412.7 MB, free: 7.117 MB / 334.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.0004312/0.1009, allocations: 306.3 kB / 413 MB, free: 6.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.1009, allocations: 11.98 kB / 413.1 MB, free: 6.773 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.101, allocations: 16.83 kB / 413.1 MB, free: 6.758 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001756/0.1012, allocations: 126.4 kB / 413.2 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.36e-05/0.1012, allocations: 8.562 kB / 413.2 MB, free: 6.602 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.807e-05/0.1012, allocations: 12.38 kB / 413.2 MB, free: 6.59 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002292/0.1014, allocations: 145.4 kB / 413.4 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.1014, allocations: 0 / 413.4 MB, free: 6.43 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/0.1015, allocations: 4 kB / 413.4 MB, free: 6.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.1015, allocations: 8 kB / 413.4 MB, free: 6.418 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1016, allocations: 47.98 kB / 413.4 MB, free: 6.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005706/0.1021, allocations: 332.3 kB / 413.7 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1023, allocations: 82.44 kB / 413.8 MB, free: 5.926 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.298e-05/0.1024, allocations: 36.84 kB / 413.9 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.123e-05/0.1024, allocations: 0 / 413.9 MB, free: 5.887 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1024, allocations: 38.56 kB / 413.9 MB, free: 5.84 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.1024, allocations: 0 / 413.9 MB, free: 5.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002225/0.1026, allocations: 105.6 kB / 414 MB, free: 5.73 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.218e-05/0.1027, allocations: 51.41 kB / 414 MB, free: 5.668 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.032e-05/0.1028, allocations: 106 kB / 414.1 MB, free: 5.555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1028, allocations: 29.7 kB / 414.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.191e-05/0.1028, allocations: 108 kB / 414.3 MB, free: 5.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.244e-05/0.1029, allocations: 27.75 kB / 414.3 MB, free: 5.383 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.944e-05/0.1029, allocations: 25.7 kB / 414.3 MB, free: 5.352 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1031, allocations: 322.8 kB / 414.6 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.1031, allocations: 15.98 kB / 414.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.06e-05/0.1031, allocations: 23.94 kB / 414.7 MB, free: 4.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.067e-05/0.1032, allocations: 56.8 kB / 414.7 MB, free: 4.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.1032, allocations: 4 kB / 414.7 MB, free: 4.926 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001467/0.1034, allocations: 89.64 kB / 414.8 MB, free: 4.832 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1034, allocations: 4 kB / 414.8 MB, free: 4.828 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.1034, allocations: 7.984 kB / 414.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1034, allocations: 0 / 414.8 MB, free: 4.82 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1035, allocations: 15.94 kB / 414.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.076e-06/0.1035, allocations: 0 / 414.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.1035, allocations: 7.953 kB / 414.9 MB, free: 4.797 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1036, allocations: 7.938 kB / 414.9 MB, free: 4.789 MB / 334.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 9.843e-05/0.1036, allocations: 125.8 kB / 415 MB, free: 4.656 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.771e-05/0.1037, allocations: 8 kB / 415 MB, free: 4.648 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.77e-05/0.1037, allocations: 12.44 kB / 415 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1037, allocations: 0 / 415 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1037, allocations: 0 / 415 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.1037, allocations: 0 / 415 MB, free: 4.637 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.1039, allocations: 145.2 kB / 415.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1039, allocations: 0 / 415.2 MB, free: 4.465 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.96e-05/0.104, allocations: 15.98 kB / 415.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.104, allocations: 0 / 415.2 MB, free: 4.449 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.104, allocations: 7.875 kB / 415.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.104, allocations: 8 kB / 415.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.104, allocations: 0 / 415.2 MB, free: 4.434 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002499/0.1043, allocations: 211.8 kB / 415.4 MB, free: 4.211 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.799e-06/0.1043, allocations: 3.953 kB / 415.4 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1043, allocations: 7.938 kB / 415.4 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.467e-05/0.1044, allocations: 4 kB / 415.4 MB, free: 4.195 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.835e-05/0.1044, allocations: 3.984 kB / 415.4 MB, free: 4.191 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.1044, allocations: 4 kB / 415.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.879e-05/0.1044, allocations: 83.98 kB / 415.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1044, allocations: 0 / 415.5 MB, free: 4.105 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002364/0.1047, allocations: 23.89 kB / 415.5 MB, free: 4.082 MB / 334.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 9.318e-05/0.1048, allocations: 107.2 kB / 415.6 MB, free: 3.969 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001318/0.1049, allocations: 56.2 kB / 415.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.1049, allocations: 0 / 415.7 MB, free: 3.914 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.612e-05/0.105, allocations: 31.92 kB / 415.7 MB, free: 3.883 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003006/0.1053, allocations: 19.92 kB / 415.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004089/0.1057, allocations: 198.6 kB / 415.9 MB, free: 3.641 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.459e-05/0.1058, allocations: 85.44 kB / 416 MB, free: 3.531 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.426e-05/0.1058, allocations: 7.984 kB / 416 MB, free: 3.523 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.486e-05/0.1058, allocations: 12.5 kB / 416 MB, free: 3.512 MB / 334.1 MB Notification: Performance of SimCode: time 4e-07/0.1058, allocations: 0 / 416 MB, free: 3.512 MB / 334.1 MB Notification: Performance of Templates: time 0.003044/0.1089, allocations: 0.6852 MB / 416.7 MB, free: 2.848 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.makefile [Timeout 660] (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 -s ida -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.211411469033919] Failed to read output from testmodel.py, exit status != 0: 0.11605319695081562 0.132006333 0.028383396 Calling exit ...