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.001646/0.001646, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.002089/0.002089, allocations: 216.6 kB / 23.03 MB, free: 4.949 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.424/1.424, allocations: 207.7 MB / 233.9 MB, free: 9.773 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.04958/0.04958, allocations: 8.196 MB / 294.3 MB, free: 13.48 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="cs",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.003669/0.003669, allocations: 67.81 kB / 411.2 MB, free: 46.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09517/0.09884, allocations: 50.94 MB / 462.1 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.00208/0.1009, allocations: 0.6598 MB / 462.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004836/0.1014, allocations: 171.3 kB / 463 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.627e-05/0.1015, allocations: 4 kB / 463 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.534e-05/0.1016, allocations: 27.73 kB / 463 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001092/0.1017, allocations: 15.81 kB / 463 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002025/0.1019, allocations: 51.94 kB / 463.1 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1021, allocations: 139.7 kB / 463.2 MB, free: 12.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001899/0.1023, allocations: 61.75 kB / 463.3 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.348e-05/0.1024, allocations: 59.78 kB / 463.3 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001173/0.1025, allocations: 79.61 kB / 463.4 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.318e-05/0.1025, allocations: 20 kB / 463.4 MB, free: 12.03 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.605e-05/0.1025, allocations: 19.94 kB / 463.4 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.413e-05/0.1026, allocations: 39.91 kB / 463.5 MB, free: 11.97 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 7.282e-05/0.1027, allocations: 71.59 kB / 463.6 MB, free: 11.9 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002456/0.1029, allocations: 187.5 kB / 463.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1029, allocations: 0 / 463.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1029, allocations: 0 / 463.7 MB, free: 11.72 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.881e-06/0.1029, allocations: 0 / 463.7 MB, free: 11.72 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.0006208/0.1035, allocations: 394 kB / 464.1 MB, free: 11.3 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1036, allocations: 15.98 kB / 464.1 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.088e-05/0.1036, allocations: 8.562 kB / 464.1 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.225e-05/0.1037, allocations: 50.73 kB / 464.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.792e-05/0.1037, allocations: 24.8 kB / 464.2 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002088/0.1039, allocations: 158.2 kB / 464.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.1039, allocations: 12.75 kB / 464.4 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.638e-05/0.104, allocations: 20.38 kB / 464.4 MB, free: 10.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.1043, allocations: 250 kB / 464.6 MB, free: 10.71 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.711e-05/0.1043, allocations: 7.953 kB / 464.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.1044, allocations: 4 kB / 464.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.1044, allocations: 4 kB / 464.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.1046, allocations: 115.3 kB / 464.8 MB, free: 10.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008539/0.1054, allocations: 0.4953 MB / 465.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003136/0.1057, allocations: 122.5 kB / 465.4 MB, free: 9.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001517/0.1059, allocations: 68.83 kB / 465.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.1059, allocations: 0 / 465.5 MB, free: 9.848 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/0.1059, allocations: 38.5 kB / 465.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.1059, allocations: 0 / 465.5 MB, free: 9.801 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0004693/0.1064, allocations: 177.7 kB / 465.7 MB, free: 9.621 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.1065, allocations: 63.39 kB / 465.7 MB, free: 9.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.1066, allocations: 127.3 kB / 465.9 MB, free: 9.414 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.343e-05/0.1066, allocations: 29.7 kB / 465.9 MB, free: 9.379 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.445e-05/0.1067, allocations: 132.5 kB / 466 MB, free: 9.246 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.188e-05/0.1067, allocations: 55.52 kB / 466.1 MB, free: 9.191 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.624e-05/0.1068, allocations: 33.7 kB / 466.1 MB, free: 9.152 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1069, allocations: 322.8 kB / 466.4 MB, free: 8.828 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.218e-05/0.107, allocations: 39.98 kB / 466.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.895e-05/0.1071, allocations: 43.98 kB / 466.5 MB, free: 8.746 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001574/0.1072, allocations: 100.9 kB / 466.6 MB, free: 8.648 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1072, allocations: 4 kB / 466.6 MB, free: 8.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002318/0.1075, allocations: 153.4 kB / 466.8 MB, free: 8.488 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.1075, allocations: 4 kB / 466.8 MB, free: 8.484 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.1075, allocations: 4 kB / 466.8 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1075, allocations: 4 kB / 466.8 MB, free: 8.477 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.1077, allocations: 31.98 kB / 466.8 MB, free: 8.445 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.1077, allocations: 3.938 kB / 466.8 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.728e-05/0.1077, allocations: 4 kB / 466.8 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1077, allocations: 7.938 kB / 466.8 MB, free: 8.43 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.0001274/0.1079, allocations: 133.8 kB / 466.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.817e-05/0.1079, allocations: 15.91 kB / 467 MB, free: 8.273 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.893e-05/0.108, allocations: 16.44 kB / 467 MB, free: 8.254 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.108, allocations: 4 kB / 467 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.108, allocations: 3.938 kB / 467 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.108, allocations: 0 / 467 MB, free: 8.246 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002904/0.1083, allocations: 224.6 kB / 467.2 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.1083, allocations: 0 / 467.2 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001694/0.1084, allocations: 31.98 kB / 467.2 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1084, allocations: 0 / 467.2 MB, free: 7.953 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.1084, allocations: 4 kB / 467.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.1084, allocations: 0 / 467.2 MB, free: 7.949 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.1085, allocations: 3.938 kB / 467.2 MB, free: 7.945 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/0.1089, allocations: 306.1 kB / 467.5 MB, free: 7.633 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.436e-05/0.1089, allocations: 7.953 kB / 467.5 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.1089, allocations: 0 / 467.5 MB, free: 7.625 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.143e-05/0.109, allocations: 8 kB / 467.6 MB, free: 7.617 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.109, allocations: 7.969 kB / 467.6 MB, free: 7.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.397e-06/0.109, allocations: 4 kB / 467.6 MB, free: 7.605 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.8e-05/0.1091, allocations: 99.27 kB / 467.7 MB, free: 7.508 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1091, allocations: 3.938 kB / 467.7 MB, free: 7.504 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002459/0.1093, allocations: 43.84 kB / 467.7 MB, free: 7.461 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.0007055/0.11, allocations: 0.8256 MB / 468.5 MB, free: 6.613 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002168/0.1102, allocations: 103.9 kB / 468.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.1102, allocations: 0 / 468.6 MB, free: 6.512 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 9.671e-05/0.1103, allocations: 59.92 kB / 468.7 MB, free: 6.453 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003306/0.1107, allocations: 20.7 kB / 468.7 MB, free: 6.434 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/0.1126, allocations: 1.768 MB / 470.5 MB, free: 4.586 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001093/0.1128, allocations: 115.3 kB / 470.6 MB, free: 4.453 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.595e-05/0.1128, allocations: 8.969 kB / 470.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.342e-05/0.1129, allocations: 51.36 kB / 470.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1129, allocations: 0 / 470.7 MB, free: 4.391 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0229/0.1358, allocations: 2.91 MB / 473.6 MB, free: 1.539 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.88/11.01, allocations: 11.89 kB / 473.6 MB, free: 1.527 MB / 334.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 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: 13.649339572992176] Failed to read output from testmodel.py, exit status != 0: 11.168196688056923 11.183267944 11.077292095 Calling exit ...