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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001708/0.001708, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002074/0.002074, allocations: 193.2 kB / 20.08 MB, free: 2.848 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.455/1.455, allocations: 207.6 MB / 230.5 MB, free: 4.016 MB / 174.1 MB " [Timeout remaining time 178] 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.05316/0.05316, allocations: 8.216 MB / 290.5 MB, free: 8.121 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.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.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: 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.002297/0.002297, allocations: 75.88 kB / 406.4 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2328, allocations: 50.89 MB / 457.2 MB, free: 3.941 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002087/0.2349, allocations: 1.226 MB / 458.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005047/0.2354, allocations: 379.9 kB / 458.8 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00011/0.2355, allocations: 7.875 kB / 458.8 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001141/0.2356, allocations: 52.73 kB / 458.9 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001604/0.2358, allocations: 61.7 kB / 459 MB, free: 2.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.236, allocations: 136.3 kB / 459.1 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003127/0.2363, allocations: 395.3 kB / 459.5 MB, free: 2.199 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002766/0.2366, allocations: 177.8 kB / 459.7 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.2367, allocations: 176.3 kB / 459.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.2368, allocations: 188.8 kB / 460 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.996e-05/0.2369, allocations: 58.34 kB / 460.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.134e-05/0.237, allocations: 58.94 kB / 460.1 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.4e-05/0.237, allocations: 120 kB / 460.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001162/0.2371, allocations: 218.7 kB / 460.5 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004122/0.2375, allocations: 0.5961 MB / 461.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.2375, allocations: 0 / 461.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2375, allocations: 0 / 461.1 MB, free: 1.012 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.644e-06/0.2376, allocations: 1.719 kB / 461.1 MB, free: 1.012 MB / 318.1 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.0008242/0.2384, allocations: 0.7284 MB / 461.8 MB, free: 380 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.043e-05/0.2384, allocations: 12.27 kB / 461.8 MB, free: 376 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.134e-05/0.2385, allocations: 56.02 kB / 461.8 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002762/0.2388, allocations: 346.1 kB / 462.2 MB, free: 4 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.765e-05/0.2388, allocations: 33.95 kB / 462.2 MB, free: 15.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.078e-05/0.2389, allocations: 46.62 kB / 462.3 MB, free: 15.96 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007091/0.2396, allocations: 426.2 kB / 462.7 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/0.2396, allocations: 5.516 kB / 462.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.615e-05/0.2397, allocations: 24.06 kB / 462.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.909e-06/0.2397, allocations: 11 kB / 462.7 MB, free: 15.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004763/0.2402, allocations: 261.2 kB / 463 MB, free: 15.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002157/0.2423, allocations: 1.429 MB / 464.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006121/0.2429, allocations: 343.3 kB / 464.7 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002229/0.2432, allocations: 152 kB / 464.9 MB, free: 14.05 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.2432, allocations: 8.438 kB / 464.9 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.708e-05/0.2432, allocations: 45.72 kB / 464.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.673e-06/0.2432, allocations: 1.094 kB / 464.9 MB, free: 13.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.0007242/0.2439, allocations: 354.1 kB / 465.3 MB, free: 13.8 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.096e-05/0.244, allocations: 136.3 kB / 465.4 MB, free: 13.64 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003044/0.2443, allocations: 272.3 kB / 465.7 MB, free: 13.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.2444, allocations: 37.2 kB / 465.7 MB, free: 13.42 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001684/0.2445, allocations: 234.9 kB / 466 MB, free: 13.21 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.2446, allocations: 128.9 kB / 466.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.2448, allocations: 71.72 kB / 466.1 MB, free: 13.04 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.2449, allocations: 346.6 kB / 466.5 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.2451, allocations: 97.06 kB / 466.6 MB, free: 12.66 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.2454, allocations: 191.4 kB / 466.8 MB, free: 12.49 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004221/0.2458, allocations: 306.2 kB / 467.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2458, allocations: 1.156 kB / 467.1 MB, free: 12.27 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005635/0.2463, allocations: 366.3 kB / 467.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2464, allocations: 6.281 kB / 467.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.2464, allocations: 2.5 kB / 467.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/0.2464, allocations: 4.719 kB / 467.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003592/0.2467, allocations: 84.08 kB / 467.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.546e-05/0.2468, allocations: 4.656 kB / 467.5 MB, free: 12.05 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001241/0.2469, allocations: 35.25 kB / 467.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.375e-05/0.2469, allocations: 15.84 kB / 467.6 MB, free: 12.02 MB / 334.1 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.0001837/0.2471, allocations: 176.8 kB / 467.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.2472, allocations: 39.84 kB / 467.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001047/0.2473, allocations: 40.58 kB / 467.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.2473, allocations: 4.625 kB / 467.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.2473, allocations: 1.781 kB / 467.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.398e-05/0.2473, allocations: 8.828 kB / 467.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006962/0.248, allocations: 454.4 kB / 468.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.248, allocations: 4 kB / 468.3 MB, free: 11.41 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003582/0.2484, allocations: 68.19 kB / 468.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2484, allocations: 2.188 kB / 468.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.483e-05/0.2484, allocations: 7.938 kB / 468.4 MB, free: 11.39 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.2484, allocations: 6.109 kB / 468.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.2484, allocations: 1.219 kB / 468.4 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007307/0.2492, allocations: 0.7088 MB / 469.1 MB, free: 10.84 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.2493, allocations: 109.9 kB / 469.2 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.819e-05/0.2493, allocations: 15.69 kB / 469.2 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.2496, allocations: 6.25 kB / 469.2 MB, free: 10.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.2496, allocations: 21.5 kB / 469.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.912e-05/0.2496, allocations: 12.47 kB / 469.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.2498, allocations: 191.9 kB / 469.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2498, allocations: 0 / 469.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004756/0.2503, allocations: 87.8 kB / 469.5 MB, free: 10.52 MB / 334.1 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.0001204/0.2504, allocations: 108.7 kB / 469.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004201/0.2508, allocations: 255.7 kB / 469.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.2508, allocations: 0 / 469.9 MB, free: 10.31 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.251, allocations: 118 kB / 470 MB, free: 10.26 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007402/0.2517, allocations: 70.3 kB / 470.1 MB, free: 10.22 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001281/0.253, allocations: 0.7708 MB / 470.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000464/0.2535, allocations: 0.806 MB / 471.6 MB, free: 8.902 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.01e-05/0.2536, allocations: 34 kB / 471.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2536, allocations: 0 / 471.7 MB, free: 8.891 MB / 334.1 MB Notification: Performance of Templates: time 0.007042/0.2606, allocations: 4.259 MB / 475.9 MB, free: 5.375 MB / 334.1 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: 7.019680778961629] Failed to read output from testmodel.py, exit status != 0: 0.2684669198933989 0.28213988300000004 0.04167934 Calling exit ...