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.001287/0.001287, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001499/0.001499, allocations: 216.8 kB / 22.26 MB, free: 5.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.469/1.469, allocations: 207.6 MB / 233 MB, free: 9.996 MB / 190.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.05044/0.05044, allocations: 8.194 MB / 293.5 MB, free: 13.66 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: "" <> buildModelFMU(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 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.002236/0.002236, allocations: 84.94 kB / 410.4 MB, free: 46.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0979/0.1001, allocations: 50.93 MB / 461.4 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.003536/0.1037, allocations: 1.22 MB / 462.6 MB, free: 12.3 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1047, allocations: 386.6 kB / 463 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.1049, allocations: 4 kB / 463 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.105, allocations: 51.38 kB / 463 MB, free: 11.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002671/0.1053, allocations: 55.42 kB / 463.1 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000426/0.1057, allocations: 143.9 kB / 463.2 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006748/0.1064, allocations: 391.1 kB / 463.6 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004817/0.1069, allocations: 181.4 kB / 463.8 MB, free: 11.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002513/0.1071, allocations: 175.2 kB / 463.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003295/0.1075, allocations: 199 kB / 464.1 MB, free: 10.74 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001112/0.1076, allocations: 60 kB / 464.2 MB, free: 10.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.1077, allocations: 60 kB / 464.2 MB, free: 10.62 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.1078, allocations: 115.6 kB / 464.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002933/0.1081, allocations: 226.8 kB / 464.6 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009485/0.1091, allocations: 0.584 MB / 465.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.1091, allocations: 0 / 465.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1091, allocations: 0 / 465.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.218e-06/0.1091, allocations: 0 / 465.2 MB, free: 9.699 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001454/0.1106, allocations: 0.6572 MB / 465.8 MB, free: 9.008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/0.1106, allocations: 15.98 kB / 465.8 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001288/0.1107, allocations: 78.72 kB / 465.9 MB, free: 8.906 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001326/0.1109, allocations: 56.61 kB / 466 MB, free: 8.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.1114, allocations: 281.2 kB / 466.2 MB, free: 8.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.482e-05/0.1115, allocations: 33.38 kB / 466.3 MB, free: 8.52 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/0.1116, allocations: 48.38 kB / 466.3 MB, free: 8.473 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.1126, allocations: 422.4 kB / 466.7 MB, free: 8.043 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.534e-05/0.1126, allocations: 7.891 kB / 466.7 MB, free: 8.035 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.039e-05/0.1127, allocations: 20 kB / 466.8 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.88e-05/0.1127, allocations: 12 kB / 466.8 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000673/0.1134, allocations: 259.8 kB / 467 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003126/0.1165, allocations: 1.393 MB / 468.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008885/0.1174, allocations: 338.1 kB / 468.7 MB, free: 5.934 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.1178, allocations: 159.4 kB / 468.9 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.818e-05/0.1178, allocations: 7.984 kB / 468.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.77e-05/0.1178, allocations: 46.44 kB / 469 MB, free: 5.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 3.366e-06/0.1179, allocations: 0 / 469 MB, free: 5.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.001052/0.1189, allocations: 349.9 kB / 469.3 MB, free: 5.355 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001306/0.119, allocations: 144.4 kB / 469.4 MB, free: 5.184 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004458/0.1195, allocations: 276.1 kB / 469.7 MB, free: 4.906 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.114e-05/0.1195, allocations: 33.7 kB / 469.7 MB, free: 4.867 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002842/0.1198, allocations: 232.5 kB / 470 MB, free: 4.633 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.12, allocations: 130.9 kB / 470.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001815/0.1202, allocations: 70.09 kB / 470.2 MB, free: 4.43 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.1204, allocations: 346.8 kB / 470.5 MB, free: 4.082 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.1207, allocations: 92.84 kB / 470.6 MB, free: 3.992 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003705/0.121, allocations: 186.6 kB / 470.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006748/0.1217, allocations: 310 kB / 471.1 MB, free: 3.43 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.1217, allocations: 4 kB / 471.1 MB, free: 3.426 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0008442/0.1225, allocations: 357.1 kB / 471.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.229e-05/0.1226, allocations: 11.98 kB / 471.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.1226, allocations: 4 kB / 471.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.654e-05/0.1226, allocations: 4 kB / 471.5 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005596/0.1232, allocations: 84.14 kB / 471.5 MB, free: 2.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.1232, allocations: 9.25 kB / 471.5 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001992/0.1234, allocations: 39.72 kB / 471.6 MB, free: 2.922 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.1234, allocations: 16 kB / 471.6 MB, free: 2.906 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.0003195/0.1237, allocations: 165.7 kB / 471.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001941/0.1239, allocations: 40.14 kB / 471.8 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001189/0.1241, allocations: 37.73 kB / 471.8 MB, free: 2.66 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.1241, allocations: 4 kB / 471.8 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.217e-05/0.1241, allocations: 4 kB / 471.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.1241, allocations: 11.86 kB / 471.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.1252, allocations: 428.3 kB / 472.3 MB, free: 2.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/0.1252, allocations: 4 kB / 472.3 MB, free: 2.176 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004502/0.1256, allocations: 63.91 kB / 472.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.001e-06/0.1256, allocations: 0 / 472.3 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.1256, allocations: 8 kB / 472.3 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.007e-06/0.1257, allocations: 11.92 kB / 472.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1257, allocations: 0 / 472.4 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001108/0.1268, allocations: 0.7047 MB / 473.1 MB, free: 1.367 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.1268, allocations: 35.73 kB / 473.1 MB, free: 1.332 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.891e-05/0.1269, allocations: 8 kB / 473.1 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003396/0.1272, allocations: 8 kB / 473.1 MB, free: 1.316 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.022e-05/0.1273, allocations: 27.89 kB / 473.1 MB, free: 1.289 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.838e-05/0.1273, allocations: 8 kB / 473.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003042/0.1276, allocations: 195.1 kB / 473.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1276, allocations: 0 / 473.3 MB, free: 1.09 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0007973/0.1284, allocations: 91.67 kB / 473.4 MB, free: 1 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.001563/0.13, allocations: 1.262 MB / 474.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000657/0.1306, allocations: 243.7 kB / 474.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1306, allocations: 0 / 474.9 MB, free: 15.47 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002564/0.1309, allocations: 119.9 kB / 475 MB, free: 15.35 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001146/0.132, allocations: 72.73 kB / 475.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006228/0.1383, allocations: 3.393 MB / 478.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007342/0.139, allocations: 0.8074 MB / 479.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002336/0.1392, allocations: 34.58 kB / 479.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002757/0.1395, allocations: 131.4 kB / 479.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of SimCode: time 1.843e-06/0.1395, allocations: 3.938 kB / 479.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04394/0.1835, allocations: 6.164 MB / 485.6 MB, free: 4.629 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.6/11.78, allocations: 15.92 kB / 485.7 MB, free: 4.613 MB / 350.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.016 ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations.fmu > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.46810409599857] Failed to read output from testmodel.py, exit status != 0: 11.888498350999726 11.905233309 11.792692037 Calling exit ...