Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.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.0007183/0.0007183, allocations: 76.55 kB / 19.93 MB, free: 4.617 MB / 18.57 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.000751/0.000751, allocations: 177.9 kB / 23.22 MB, free: 1.332 MB / 18.57 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 0.7783/0.7783, allocations: 158.6 MB / 185 MB, free: 3.027 MB / 170.7 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.02354/0.02354, allocations: 6.399 MB / 243.6 MB, free: 9.074 MB / 234.7 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.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations") translateModel(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations") [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 Notification: Performance of FrontEnd - loaded program: time 2.395e-06/2.395e-06, allocations: 0 / 361 MB, free: 3.977 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.327e-05/2.567e-05, allocations: 5.375 kB / 361.1 MB, free: 3.973 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.001251/0.001277, allocations: 1.085 MB / 362.1 MB, free: 2.883 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004287/0.001706, allocations: 370.6 kB / 362.5 MB, free: 2.52 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.165e-05/0.001787, allocations: 8 kB / 362.5 MB, free: 2.512 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.277e-05/0.00185, allocations: 51.38 kB / 362.6 MB, free: 2.461 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001166/0.001967, allocations: 59.36 kB / 362.6 MB, free: 2.402 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001891/0.002156, allocations: 143.8 kB / 362.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000226/0.002382, allocations: 395.1 kB / 363.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001995/0.002581, allocations: 169.4 kB / 363.3 MB, free: 1.707 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001217/0.002703, allocations: 267.4 kB / 363.6 MB, free: 1.445 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.002804, allocations: 123.5 kB / 363.7 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.498e-05/0.002849, allocations: 60 kB / 363.7 MB, free: 1.266 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.989e-05/0.002879, allocations: 56 kB / 363.8 MB, free: 1.211 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.136e-05/0.00292, allocations: 123.5 kB / 363.9 MB, free: 1.09 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.947e-05/0.002979, allocations: 143.6 kB / 364.1 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002604/0.00324, allocations: 0.5881 MB / 364.7 MB, free: 368 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.763e-06/0.003242, allocations: 4 kB / 364.7 MB, free: 364 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.031e-06/0.003243, allocations: 7.938 kB / 364.7 MB, free: 356 kB / 282.7 MB Notification: Performance of Transformations before backend: time 6.582e-06/0.003249, allocations: 0 / 364.7 MB, free: 356 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0006393/0.003889, allocations: 0.6495 MB / 365.3 MB, free: 15.66 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.459e-05/0.003923, allocations: 11.98 kB / 365.3 MB, free: 15.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.433e-05/0.003987, allocations: 56.61 kB / 365.4 MB, free: 15.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002781/0.004266, allocations: 272.5 kB / 365.6 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.315e-05/0.004289, allocations: 37.36 kB / 365.7 MB, free: 15.26 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.86e-05/0.004337, allocations: 44.38 kB / 365.7 MB, free: 15.22 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004895/0.004827, allocations: 0.6172 MB / 366.3 MB, free: 14.54 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.004844, allocations: 8.125 kB / 366.4 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.004871, allocations: 20.38 kB / 366.4 MB, free: 14.51 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.004879, allocations: 16.38 kB / 366.4 MB, free: 14.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002955/0.005175, allocations: 265.9 kB / 366.6 MB, free: 14.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001148/0.006323, allocations: 1.206 MB / 367.9 MB, free: 12.99 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003536/0.006676, allocations: 338.3 kB / 368.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001384/0.006815, allocations: 159.3 kB / 368.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.006831, allocations: 4 kB / 368.3 MB, free: 12.45 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.64e-05/0.006857, allocations: 46.5 kB / 368.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.933e-06/0.006859, allocations: 0 / 368.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004389/0.007298, allocations: 353.8 kB / 368.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.283e-05/0.007351, allocations: 136.5 kB / 368.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001847/0.007536, allocations: 276.1 kB / 369.1 MB, free: 11.6 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.249e-05/0.007558, allocations: 29.7 kB / 369.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001056/0.007664, allocations: 236.5 kB / 369.4 MB, free: 11.33 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.572e-05/0.00772, allocations: 119 kB / 369.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.589e-05/0.007785, allocations: 78.14 kB / 369.6 MB, free: 11.13 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.461e-05/0.00788, allocations: 342.8 kB / 369.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.007985, allocations: 96.95 kB / 370 MB, free: 10.69 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001434/0.008128, allocations: 195.1 kB / 370.2 MB, free: 10.46 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002676/0.008396, allocations: 306 kB / 370.5 MB, free: 10.13 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.0084, allocations: 4 kB / 370.5 MB, free: 10.12 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003319/0.008732, allocations: 361.1 kB / 370.9 MB, free: 9.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.008747, allocations: 4 kB / 370.9 MB, free: 9.762 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.008753, allocations: 4 kB / 370.9 MB, free: 9.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.00877, allocations: 4 kB / 370.9 MB, free: 9.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002027/0.008973, allocations: 92.14 kB / 371 MB, free: 9.664 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.008981, allocations: 7.938 kB / 371 MB, free: 9.656 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.076e-05/0.009042, allocations: 32.11 kB / 371 MB, free: 9.625 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.345e-05/0.009055, allocations: 16 kB / 371 MB, free: 9.609 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (48): * Single equations (assignments): 48 * 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.0001308/0.009186, allocations: 173.7 kB / 371.2 MB, free: 9.43 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.009246, allocations: 31.81 kB / 371.2 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.191e-05/0.009298, allocations: 45.73 kB / 371.3 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.009302, allocations: 4 kB / 371.3 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.009308, allocations: 0 / 371.3 MB, free: 9.344 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.009313, allocations: 4 kB / 371.3 MB, free: 9.34 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.009941, allocations: 333 kB / 371.6 MB, free: 8.984 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.009944, allocations: 4 kB / 371.6 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.01019, allocations: 55.91 kB / 371.7 MB, free: 8.926 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.01019, allocations: 4 kB / 371.7 MB, free: 8.922 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.792e-05/0.01021, allocations: 8 kB / 371.7 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.01021, allocations: 0 / 371.7 MB, free: 8.914 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.01021, allocations: 4 kB / 371.7 MB, free: 8.91 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004847/0.0107, allocations: 0.702 MB / 372.4 MB, free: 8.188 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.146e-05/0.01073, allocations: 35.73 kB / 372.4 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.393e-05/0.01075, allocations: 16 kB / 372.4 MB, free: 8.137 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.01088, allocations: 8 kB / 372.4 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.613e-05/0.01091, allocations: 15.97 kB / 372.4 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.313e-05/0.01092, allocations: 15.98 kB / 372.5 MB, free: 8.098 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000114/0.01103, allocations: 191.1 kB / 372.7 MB, free: 7.914 MB / 298.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.01103, allocations: 0 / 372.7 MB, free: 7.914 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003021/0.01133, allocations: 91.61 kB / 372.7 MB, free: 7.824 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (A.rabbit_population.population,A.fox_population.population,B.rabbit_population.population,B.fox_population.population,C.rabbit_population.population,C.fox_population.population,D.rabbit_population.population,D.fox_population.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 (32): * Single equations (assignments): 32 * 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.0001045/0.01144, allocations: 115.2 kB / 372.9 MB, free: 7.703 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002982/0.01174, allocations: 264.2 kB / 373.1 MB, free: 7.445 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.01174, allocations: 0 / 373.1 MB, free: 7.445 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.01185, allocations: 120.5 kB / 373.2 MB, free: 7.328 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005345/0.01238, allocations: 72.09 kB / 373.3 MB, free: 7.258 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00082/0.0132, allocations: 0.7345 MB / 374 MB, free: 6.48 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001448/0.01335, allocations: 207.9 kB / 374.2 MB, free: 6.25 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.266e-05/0.01341, allocations: 28.5 kB / 374.3 MB, free: 6.223 MB / 298.7 MB Notification: Performance of SimCode: time 6.41e-07/0.01341, allocations: 0 / 374.3 MB, free: 6.223 MB / 298.7 MB Notification: Performance of Templates: time 0.004659/0.01807, allocations: 4.434 MB / 378.7 MB, free: 1.797 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.makefile [Timeout 660] (rm -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe >> ../files/ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.sim & ./ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.9068641662597656] Failed to read output from testmodel.py, exit status != 0: 0.023616374470293522 0.03611741 0.030627008 Calling exit ...