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.001554/0.001554, allocations: 110.6 kB / 17.08 MB, free: 6.012 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.001601/0.001601, allocations: 191.7 kB / 20.03 MB, free: 3.082 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.395/1.395, allocations: 205.1 MB / 227.9 MB, free: 4.406 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.05114/0.05114, allocations: 8.124 MB / 285.4 MB, free: 11 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.002231/0.002231, allocations: 75.88 kB / 396.1 MB, free: 6.812 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2295/0.2318, allocations: 48.3 MB / 444.3 MB, free: 8.777 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.001986/0.2338, allocations: 1.214 MB / 445.6 MB, free: 7.949 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005208/0.2343, allocations: 386.8 kB / 445.9 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001185/0.2345, allocations: 6.812 kB / 445.9 MB, free: 7.656 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.178e-05/0.2346, allocations: 52.62 kB / 446 MB, free: 7.613 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001513/0.2347, allocations: 49.64 kB / 446 MB, free: 7.57 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002365/0.235, allocations: 142.3 kB / 446.2 MB, free: 7.48 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.2353, allocations: 396 kB / 446.6 MB, free: 7.273 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003153/0.2356, allocations: 250.1 kB / 446.8 MB, free: 7.152 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001087/0.2357, allocations: 176.1 kB / 447 MB, free: 7.039 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000158/0.2359, allocations: 188.8 kB / 447.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.258e-05/0.236, allocations: 59 kB / 447.2 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.025e-05/0.236, allocations: 59.66 kB / 447.3 MB, free: 6.922 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.2361, allocations: 120.7 kB / 447.4 MB, free: 6.832 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.2362, allocations: 224.2 kB / 447.6 MB, free: 6.664 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005373/0.2368, allocations: 0.5819 MB / 448.2 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2368, allocations: 0.625 kB / 448.2 MB, free: 6.426 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2368, allocations: 0 / 448.2 MB, free: 6.426 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.2368, allocations: 0.5938 kB / 448.2 MB, free: 6.426 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.0009111/0.2377, allocations: 0.7313 MB / 448.9 MB, free: 5.836 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2377, allocations: 17.17 kB / 449 MB, free: 5.828 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001017/0.2379, allocations: 55.48 kB / 449 MB, free: 5.801 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003253/0.2382, allocations: 347.3 kB / 449.3 MB, free: 5.488 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.5e-05/0.2382, allocations: 35.92 kB / 449.4 MB, free: 5.469 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.053e-05/0.2383, allocations: 45.25 kB / 449.4 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005862/0.2389, allocations: 423.5 kB / 449.8 MB, free: 5.246 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.348e-05/0.2389, allocations: 5.516 kB / 449.8 MB, free: 5.242 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.733e-05/0.239, allocations: 32.75 kB / 449.9 MB, free: 5.215 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.057e-05/0.239, allocations: 14.94 kB / 449.9 MB, free: 5.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.2394, allocations: 254.9 kB / 450.1 MB, free: 5.121 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00165/0.2411, allocations: 1.426 MB / 451.6 MB, free: 4.18 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.2415, allocations: 367.1 kB / 451.9 MB, free: 3.965 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001867/0.2417, allocations: 165.9 kB / 452.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.392e-05/0.2418, allocations: 3.906 kB / 452.1 MB, free: 3.875 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.2418, allocations: 43.31 kB / 452.1 MB, free: 3.828 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/0.2418, allocations: 4 kB / 452.1 MB, free: 3.824 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.0005918/0.2424, allocations: 360.4 kB / 452.5 MB, free: 3.652 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.124e-05/0.2424, allocations: 134.2 kB / 452.6 MB, free: 3.496 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.2427, allocations: 270.5 kB / 452.9 MB, free: 3.34 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.186e-05/0.2427, allocations: 35.8 kB / 452.9 MB, free: 3.301 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.2428, allocations: 235.4 kB / 453.2 MB, free: 3.109 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.033e-05/0.2429, allocations: 126.8 kB / 453.3 MB, free: 3.008 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.756e-05/0.243, allocations: 74.28 kB / 453.3 MB, free: 2.961 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.013e-05/0.243, allocations: 347.8 kB / 453.7 MB, free: 2.629 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001384/0.2432, allocations: 94.94 kB / 453.8 MB, free: 2.594 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001734/0.2433, allocations: 190.2 kB / 454 MB, free: 2.441 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003184/0.2437, allocations: 307.1 kB / 454.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.2437, allocations: 0 / 454.3 MB, free: 2.223 MB / 318.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004549/0.2441, allocations: 365 kB / 454.6 MB, free: 2.047 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.48e-05/0.2442, allocations: 6.219 kB / 454.6 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.2442, allocations: 3.484 kB / 454.6 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.2442, allocations: 5.719 kB / 454.6 MB, free: 2.047 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003334/0.2445, allocations: 90.38 kB / 454.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.2446, allocations: 6.203 kB / 454.7 MB, free: 2.035 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.2447, allocations: 31.72 kB / 454.8 MB, free: 2.012 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.135e-05/0.2447, allocations: 16.31 kB / 454.8 MB, free: 2.008 MB / 318.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.0001291/0.2448, allocations: 168.3 kB / 454.9 MB, free: 1.855 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.2449, allocations: 39.83 kB / 455 MB, free: 1.832 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.318e-05/0.245, allocations: 36.89 kB / 455 MB, free: 1.805 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.245, allocations: 8.406 kB / 455 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.245, allocations: 2.656 kB / 455 MB, free: 1.801 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.245, allocations: 6.703 kB / 455 MB, free: 1.797 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005832/0.2456, allocations: 458.8 kB / 455.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.2456, allocations: 1.219 kB / 455.5 MB, free: 1.484 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.246, allocations: 61.59 kB / 455.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.246, allocations: 2.25 kB / 455.5 MB, free: 1.48 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.246, allocations: 7.344 kB / 455.6 MB, free: 1.477 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.246, allocations: 6.891 kB / 455.6 MB, free: 1.473 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.246, allocations: 5.062 kB / 455.6 MB, free: 1.469 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005572/0.2466, allocations: 0.7094 MB / 456.3 MB, free: 0.9453 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.381e-05/0.2466, allocations: 120.1 kB / 456.4 MB, free: 0.8203 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.331e-05/0.2467, allocations: 11.91 kB / 456.4 MB, free: 0.8125 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.2469, allocations: 7.25 kB / 456.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.791e-05/0.2469, allocations: 28.41 kB / 456.4 MB, free: 0.7969 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.802e-05/0.247, allocations: 11.91 kB / 456.4 MB, free: 0.793 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001362/0.2471, allocations: 194.6 kB / 456.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2471, allocations: 0 / 456.6 MB, free: 0.6641 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004445/0.2476, allocations: 80.27 kB / 456.7 MB, free: 0.6367 MB / 318.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 9.83e-05/0.2477, allocations: 113 kB / 456.8 MB, free: 0.5391 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0003675/0.248, allocations: 267 kB / 457.1 MB, free: 432 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.248, allocations: 1.125 kB / 457.1 MB, free: 432 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001409/0.2482, allocations: 131.5 kB / 457.2 MB, free: 372 kB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007172/0.2489, allocations: 73.16 kB / 457.3 MB, free: 328 kB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.25, allocations: 0.7637 MB / 458.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000481/0.2504, allocations: 0.8058 MB / 458.9 MB, free: 15 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.275e-05/0.2505, allocations: 28.62 kB / 458.9 MB, free: 15 MB / 334.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2505, allocations: 0 / 458.9 MB, free: 15 MB / 334.1 MB Notification: Performance of Templates: time 0.00674/0.2573, allocations: 4.248 MB / 463.1 MB, free: 12.73 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: 6.559902638895437] Failed to read output from testmodel.py, exit status != 0: 0.2639803299680352 0.276844023 0.037576868 Calling exit ...