Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.06725/0.06725, allocations: 11.16 MB / 30.5 MB, free: 4.945 MB / 24.77 MB " [Timeout remaining time 180] 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.0008399/0.0008399, allocations: 99.64 kB / 38.14 MB, free: 7.211 MB / 33.03 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.001123/0.001123, allocations: 156.5 kB / 45.84 MB, free: 10.61 MB / 44.04 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8865/0.8865, allocations: 177.2 MB / 230.6 MB, free: 4.762 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.09839/0.09839, allocations: 17.62 MB / 309.1 MB, free: 8.668 MB / 282.7 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Using package Chemical with version 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 389.9 MB, free: 47.05 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.278e-05/2.477e-05, allocations: 3.406 kB / 389.9 MB, free: 47.04 MB / 330.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003955/0.00398, allocations: 2.269 MB / 392.2 MB, free: 44.8 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004782/0.004458, allocations: 141.6 kB / 392.3 MB, free: 44.66 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001293/0.004587, allocations: 9.719 kB / 392.3 MB, free: 44.65 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001417/0.004729, allocations: 23.78 kB / 392.3 MB, free: 44.63 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.004854, allocations: 60.3 kB / 392.4 MB, free: 44.57 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000169/0.005023, allocations: 32.48 kB / 392.4 MB, free: 44.54 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002357/0.005259, allocations: 190.9 kB / 392.6 MB, free: 44.35 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001944/0.005453, allocations: 43.52 kB / 392.7 MB, free: 44.31 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000145/0.005598, allocations: 87.84 kB / 392.8 MB, free: 44.23 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.005719, allocations: 56.47 kB / 392.8 MB, free: 44.17 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.391e-05/0.005753, allocations: 12.59 kB / 392.8 MB, free: 44.16 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.197e-05/0.005775, allocations: 16 kB / 392.8 MB, free: 44.14 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.005806, allocations: 24.67 kB / 392.9 MB, free: 44.12 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 5.917e-05/0.005865, allocations: 55.84 kB / 392.9 MB, free: 44.07 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002549/0.00612, allocations: 156.5 kB / 393.1 MB, free: 43.91 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.006126, allocations: 0 / 393.1 MB, free: 43.91 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.006128, allocations: 0 / 393.1 MB, free: 43.91 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.795e-06/0.006135, allocations: 0.5 kB / 393.1 MB, free: 43.91 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0004964/0.006632, allocations: 367.5 kB / 393.4 MB, free: 43.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.48e-05/0.006677, allocations: 12.03 kB / 393.4 MB, free: 43.51 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.126e-05/0.006718, allocations: 46.73 kB / 393.5 MB, free: 43.46 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.849e-05/0.006776, allocations: 24.84 kB / 393.5 MB, free: 43.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.007022, allocations: 155.1 kB / 393.7 MB, free: 43.26 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.008e-05/0.007042, allocations: 12.38 kB / 393.7 MB, free: 43.25 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.408e-05/0.007066, allocations: 12.38 kB / 393.7 MB, free: 43.24 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002099/0.007276, allocations: 118.2 kB / 393.8 MB, free: 43.12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.00729, allocations: 1.922 kB / 393.8 MB, free: 43.12 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.007305, allocations: 4.375 kB / 393.8 MB, free: 43.11 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.007311, allocations: 10.75 kB / 393.8 MB, free: 43.11 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.007446, allocations: 71.91 kB / 393.9 MB, free: 43.04 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007528/0.008198, allocations: 391.5 kB / 394.3 MB, free: 42.61 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002591/0.008457, allocations: 106.7 kB / 394.4 MB, free: 42.5 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.283e-05/0.00854, allocations: 44.59 kB / 394.4 MB, free: 42.45 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.867e-05/0.008559, allocations: 7.875 kB / 394.4 MB, free: 42.45 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.989e-05/0.008589, allocations: 38.56 kB / 394.5 MB, free: 42.4 MB / 330.7 MB Notification: Performance of pre-optimization done (n=12): time 4.839e-06/0.008594, allocations: 2.156 kB / 394.5 MB, free: 42.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003411/0.008935, allocations: 140.6 kB / 394.6 MB, free: 42.26 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.639e-05/0.008961, allocations: 51.41 kB / 394.7 MB, free: 42.2 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.009077, allocations: 153.6 kB / 394.8 MB, free: 42.04 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.378e-06/0.009086, allocations: 25.7 kB / 394.8 MB, free: 42.01 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.251e-05/0.009139, allocations: 127.3 kB / 395 MB, free: 41.88 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.161e-05/0.00917, allocations: 47.58 kB / 395 MB, free: 41.84 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.238e-05/0.009223, allocations: 37.3 kB / 395 MB, free: 41.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.085e-05/0.009264, allocations: 322.8 kB / 395.3 MB, free: 41.47 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.00933, allocations: 28 kB / 395.4 MB, free: 41.45 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.009385, allocations: 39.86 kB / 395.4 MB, free: 41.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003911/0.009776, allocations: 145.8 kB / 395.6 MB, free: 41.26 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.009779, allocations: 0 / 395.6 MB, free: 41.26 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002039/0.009983, allocations: 148 kB / 395.7 MB, free: 41.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.01, allocations: 4 kB / 395.7 MB, free: 41.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.01001, allocations: 0 / 395.7 MB, free: 41.11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.01003, allocations: 3.938 kB / 395.7 MB, free: 41.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001469/0.01018, allocations: 33.98 kB / 395.7 MB, free: 41.07 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.01018, allocations: 0 / 395.7 MB, free: 41.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.618e-05/0.01026, allocations: 19.89 kB / 395.8 MB, free: 41.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.648e-06/0.01027, allocations: 4 kB / 395.8 MB, free: 41.05 MB / 330.7 MB Warning: Assuming fixed start value for the following 2 variables: predator.population:VARIABLE(flow=false min = 0.0 start = predator.population_start unit = \"1\" fixed = true nominal = predator.NominalPopulation ) type: Real prey.population:VARIABLE(flow=false min = 0.0 start = prey.population_start unit = \"1\" fixed = true nominal = prey.NominalPopulation ) type: Real 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.000178/0.01045, allocations: 128 kB / 395.9 MB, free: 40.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.761e-05/0.01048, allocations: 15.95 kB / 395.9 MB, free: 40.9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.01052, allocations: 22.56 kB / 395.9 MB, free: 40.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.01053, allocations: 3.938 kB / 395.9 MB, free: 40.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.01054, allocations: 0 / 395.9 MB, free: 40.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.01054, allocations: 3.984 kB / 395.9 MB, free: 40.88 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002212/0.01076, allocations: 196.6 kB / 396.1 MB, free: 40.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01076, allocations: 0.5 kB / 396.1 MB, free: 40.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001142/0.01088, allocations: 23.47 kB / 396.2 MB, free: 40.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.01088, allocations: 0 / 396.2 MB, free: 40.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.289e-05/0.01089, allocations: 5.781 kB / 396.2 MB, free: 40.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.0109, allocations: 3.938 kB / 396.2 MB, free: 40.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.0109, allocations: 4 kB / 396.2 MB, free: 40.61 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002813/0.01118, allocations: 247.3 kB / 396.4 MB, free: 40.35 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.351e-05/0.01121, allocations: 11.97 kB / 396.4 MB, free: 40.34 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.276e-05/0.01124, allocations: 5.312 kB / 396.4 MB, free: 40.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.959e-05/0.01132, allocations: 3.938 kB / 396.4 MB, free: 40.33 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.01134, allocations: 7.984 kB / 396.4 MB, free: 40.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.01135, allocations: 9.031 kB / 396.4 MB, free: 40.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 5.941e-05/0.01141, allocations: 110.1 kB / 396.6 MB, free: 40.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.91e-07/0.01141, allocations: 4 kB / 396.6 MB, free: 40.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002946/0.0117, allocations: 44.83 kB / 396.6 MB, free: 40.16 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (predator.population,prey.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 (12): * Single equations (assignments): 12 * 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.0003847/0.01209, allocations: 0.7715 MB / 397.4 MB, free: 39.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.01228, allocations: 77.72 kB / 397.4 MB, free: 39.29 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.01228, allocations: 0 / 397.4 MB, free: 39.29 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.523e-05/0.01233, allocations: 46.55 kB / 397.5 MB, free: 39.25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00036/0.01269, allocations: 34.58 kB / 397.5 MB, free: 39.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/0.0145, allocations: 1.758 MB / 399.3 MB, free: 37.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.74e-05/0.01457, allocations: 102.1 kB / 399.4 MB, free: 37.29 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.32e-05/0.01463, allocations: 12.64 kB / 399.4 MB, free: 37.27 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.134e-05/0.0147, allocations: 40.48 kB / 399.4 MB, free: 37.23 MB / 330.7 MB Notification: Performance of SimCode: time 7.52e-07/0.0147, allocations: 0 / 399.4 MB, free: 37.23 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02257/0.03727, allocations: 3.842 MB / 403.3 MB, free: 33.54 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.502/7.539, allocations: 7.781 kB / 403.3 MB, free: 33.54 MB / 330.7 MB " [Timeout remaining time 652] (rm -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey_OMSimulator.pipe ; mkfifo Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey_OMSimulator.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey_OMSimulator.pipe >> ../files/Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey_OMSimulator_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey.fmu > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey_OMSimulator.pipe 2>&1) [Timeout 52.5] (rm -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey_fmpy.pipe ; mkfifo Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey_fmpy.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey_fmpy.sim & python3 -m fmpy simulate --output-file Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey_fmpy_res.csv --start-time 0 --stop-time 20 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.008 Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey.fmu > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.577970148995519]