Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.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.001706/0.001706, allocations: 105 kB / 16.45 MB, free: 6.449 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.002278/0.002278, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.793/1.793, allocations: 207.6 MB / 229.8 MB, free: 11.41 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.05165/0.05165, allocations: 8.192 MB / 289.9 MB, free: 14.88 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.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) [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.002345/0.002345, allocations: 75.83 kB / 405.2 MB, free: 47.52 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.111, allocations: 50.89 MB / 456.1 MB, free: 14.98 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.002469/0.1135, allocations: 0.7224 MB / 456.9 MB, free: 14.26 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005027/0.114, allocations: 183.3 kB / 457 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.429e-05/0.1141, allocations: 3.938 kB / 457 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.224e-05/0.1141, allocations: 15.81 kB / 457.1 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.1142, allocations: 15.81 kB / 457.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002166/0.1145, allocations: 55.88 kB / 457.1 MB, free: 13.99 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002298/0.1147, allocations: 139.7 kB / 457.3 MB, free: 13.85 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002142/0.1149, allocations: 65.64 kB / 457.3 MB, free: 13.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.006e-05/0.115, allocations: 63.72 kB / 457.4 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001209/0.1151, allocations: 75.59 kB / 457.5 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.021e-05/0.1151, allocations: 20 kB / 457.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.955e-05/0.1152, allocations: 20 kB / 457.5 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.868e-05/0.1152, allocations: 43.84 kB / 457.5 MB, free: 13.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.236e-05/0.1153, allocations: 71.61 kB / 457.6 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002637/0.1156, allocations: 191.5 kB / 457.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1156, allocations: 7.938 kB / 457.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1156, allocations: 0 / 457.8 MB, free: 13.3 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.683e-06/0.1156, allocations: 0 / 457.8 MB, free: 13.3 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.000741/0.1163, allocations: 471.1 kB / 458.3 MB, free: 12.79 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/0.1164, allocations: 8.031 kB / 458.3 MB, free: 12.78 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.115e-05/0.1164, allocations: 58.73 kB / 458.3 MB, free: 12.71 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.1165, allocations: 20.8 kB / 458.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.1167, allocations: 216.1 kB / 458.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.1168, allocations: 16.75 kB / 458.6 MB, free: 12.43 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.231e-05/0.1168, allocations: 20.31 kB / 458.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003254/0.1171, allocations: 168.9 kB / 458.8 MB, free: 12.24 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.1172, allocations: 7.891 kB / 458.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.1172, allocations: 8 kB / 458.8 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.1172, allocations: 8 kB / 458.8 MB, free: 12.22 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.1174, allocations: 111.6 kB / 458.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.1184, allocations: 0.5743 MB / 459.5 MB, free: 11.48 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002753/0.1187, allocations: 118.5 kB / 459.6 MB, free: 11.36 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001242/0.1188, allocations: 68.83 kB / 459.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.1189, allocations: 0 / 459.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.315e-05/0.1189, allocations: 42.5 kB / 459.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.1189, allocations: 0 / 459.7 MB, free: 11.24 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004201/0.1193, allocations: 173.6 kB / 459.9 MB, free: 11.06 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.098e-05/0.1194, allocations: 55.39 kB / 459.9 MB, free: 11 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.1195, allocations: 132.2 kB / 460 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.096e-05/0.1195, allocations: 29.7 kB / 460.1 MB, free: 10.82 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001096/0.1197, allocations: 132.4 kB / 460.2 MB, free: 10.69 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.884e-05/0.1197, allocations: 55.58 kB / 460.3 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.159e-05/0.1198, allocations: 33.7 kB / 460.3 MB, free: 10.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1199, allocations: 322.8 kB / 460.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.911e-05/0.12, allocations: 39.98 kB / 460.6 MB, free: 10.23 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.534e-05/0.1201, allocations: 43.92 kB / 460.7 MB, free: 10.19 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.1203, allocations: 102.4 kB / 460.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.448e-06/0.1203, allocations: 4 kB / 460.8 MB, free: 10.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002351/0.1205, allocations: 155.3 kB / 460.9 MB, free: 9.93 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.1205, allocations: 4 kB / 460.9 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.1205, allocations: 0 / 460.9 MB, free: 9.926 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.1205, allocations: 4 kB / 461 MB, free: 9.922 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.1207, allocations: 39.92 kB / 461 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.1208, allocations: 0 / 461 MB, free: 9.883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.1208, allocations: 7.938 kB / 461 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.1208, allocations: 3.984 kB / 461 MB, free: 9.871 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 (18): * Single equations (assignments): 18 * 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.0001505/0.121, allocations: 125.8 kB / 461.1 MB, free: 9.738 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.785e-05/0.121, allocations: 15.91 kB / 461.1 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.971e-05/0.1211, allocations: 16.5 kB / 461.2 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.1211, allocations: 8 kB / 461.2 MB, free: 9.699 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.1211, allocations: 4 kB / 461.2 MB, free: 9.695 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1211, allocations: 3.938 kB / 461.2 MB, free: 9.691 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/0.1214, allocations: 273.5 kB / 461.4 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1214, allocations: 3.938 kB / 461.4 MB, free: 9.371 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002068/0.1217, allocations: 27.92 kB / 461.5 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1217, allocations: 0 / 461.5 MB, free: 9.344 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.1217, allocations: 4 kB / 461.5 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1217, allocations: 0 / 461.5 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1217, allocations: 0 / 461.5 MB, free: 9.34 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004147/0.1221, allocations: 303.3 kB / 461.8 MB, free: 9.027 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.816e-05/0.1222, allocations: 85.06 kB / 461.9 MB, free: 8.926 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/0.1222, allocations: 4 kB / 461.9 MB, free: 8.922 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.132e-05/0.1223, allocations: 7.938 kB / 461.9 MB, free: 8.914 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.748e-05/0.1223, allocations: 11.92 kB / 461.9 MB, free: 8.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.396e-05/0.1223, allocations: 8 kB / 461.9 MB, free: 8.895 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.637e-05/0.1224, allocations: 98.78 kB / 462 MB, free: 8.801 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1224, allocations: 4 kB / 462 MB, free: 8.797 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002705/0.1226, allocations: 35.84 kB / 462 MB, free: 8.762 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.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 (15): * Single equations (assignments): 15 * 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.00081/0.1235, allocations: 0.8256 MB / 462.8 MB, free: 7.91 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002662/0.1237, allocations: 102.9 kB / 462.9 MB, free: 7.812 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.1237, allocations: 3.984 kB / 463 MB, free: 7.809 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.54e-05/0.1238, allocations: 59.92 kB / 463 MB, free: 7.75 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004558/0.1243, allocations: 23.94 kB / 463 MB, free: 7.727 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002125/0.1264, allocations: 1.762 MB / 464.8 MB, free: 5.883 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000417/0.1268, allocations: 0.7234 MB / 465.5 MB, free: 5.133 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.747e-05/0.1269, allocations: 12.88 kB / 465.5 MB, free: 5.117 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.323e-05/0.127, allocations: 47.42 kB / 465.6 MB, free: 5.07 MB / 334.1 MB Notification: Performance of SimCode: time 7.81e-07/0.127, allocations: 0 / 465.6 MB, free: 5.07 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03094/0.1579, allocations: 2.676 MB / 468.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.374/8.532, allocations: 11.45 kB / 468.3 MB, free: 2.48 MB / 334.1 MB " [Timeout remaining time 651] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.761845348999486] Failed to read output from testmodel.py, exit status != 0: 8.613232401999994 8.637899193 8.517699253 Calling exit ...