Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey.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.001201/0.001201, allocations: 105.5 kB / 18.95 MB, free: 1.184 MB / 13.93 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.001031/0.001031, allocations: 214.6 kB / 22.25 MB, free: 3.574 MB / 13.93 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.9935/0.9935, allocations: 230.6 MB / 256 MB, free: 9.621 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.0/package.mo): time 0.03139/0.03139, allocations: 9.565 MB / 322 MB, free: 8.484 MB / 250.7 MB " [Timeout remaining time 180] Using package ChaoticCircuits with version 2.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ChaoticCircuits 2.4.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) Running command: "" <> buildModelFMU(ChaoticCircuits.LotkaVolterra.PredatorPrey,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_LotkaVolterra_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ChaoticCircuits.LotkaVolterra.PredatorPrey,fileNamePrefix="ChaoticCircuits_ChaoticCircuits_LotkaVolterra_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: ChaoticCircuits requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000975/0.000975, allocations: 75.89 kB / 448.6 MB, free: 37.76 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07707/0.07804, allocations: 55.78 MB / 0.4926 GB, free: 13.88 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ChaoticCircuits.LotkaVolterra.PredatorPrey): time 0.001213/0.07926, allocations: 0.497 MB / 0.493 GB, free: 13.38 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001311/0.07939, allocations: 15.91 kB / 0.4931 GB, free: 13.36 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.753e-05/0.07942, allocations: 0 / 0.4931 GB, free: 13.36 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 1.816e-05/0.07943, allocations: 3.938 kB / 0.4931 GB, free: 13.36 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 4.38e-05/0.07948, allocations: 0 / 0.4931 GB, free: 13.36 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001107/0.07959, allocations: 11.98 kB / 0.4931 GB, free: 13.35 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 6.242e-05/0.07965, allocations: 15.92 kB / 0.4931 GB, free: 13.33 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.928e-05/0.0797, allocations: 0 / 0.4931 GB, free: 13.33 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.543e-05/0.07973, allocations: 11.98 kB / 0.4931 GB, free: 13.32 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.4e-05/0.07978, allocations: 7.938 kB / 0.4931 GB, free: 13.31 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.3e-05/0.07979, allocations: 0 / 0.4931 GB, free: 13.31 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.003e-05/0.0798, allocations: 0 / 0.4931 GB, free: 13.31 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.07982, allocations: 4 kB / 0.4931 GB, free: 13.31 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 2.386e-05/0.07984, allocations: 7.922 kB / 0.4931 GB, free: 13.3 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 6.812e-05/0.07991, allocations: 8.266 kB / 0.4931 GB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.07992, allocations: 7.984 kB / 0.4931 GB, free: 13.29 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.07992, allocations: 4 kB / 0.4931 GB, free: 13.28 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.07993, allocations: 0 / 0.4931 GB, free: 13.28 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003306/0.08026, allocations: 254.3 kB / 0.4934 GB, free: 13 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.0803, allocations: 8.031 kB / 0.4934 GB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.854e-05/0.08032, allocations: 30.75 kB / 0.4934 GB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.08035, allocations: 4.938 kB / 0.4934 GB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.943e-05/0.08043, allocations: 110.5 kB / 0.4935 GB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.084e-05/0.08044, allocations: 4.312 kB / 0.4935 GB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.241e-05/0.08046, allocations: 4.375 kB / 0.4935 GB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.657e-05/0.08055, allocations: 38.25 kB / 0.4936 GB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.08056, allocations: 3.938 kB / 0.4936 GB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.354e-06/0.08056, allocations: 0 / 0.4936 GB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.08057, allocations: 0 / 0.4936 GB, free: 12.76 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.532e-05/0.08059, allocations: 8 kB / 0.4936 GB, free: 12.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.08073, allocations: 124.8 kB / 0.4937 GB, free: 12.59 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.311e-05/0.0808, allocations: 34.55 kB / 0.4937 GB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.08082, allocations: 8.984 kB / 0.4937 GB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.08083, allocations: 7.984 kB / 0.4938 GB, free: 12.53 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.08085, allocations: 30.97 kB / 0.4938 GB, free: 12.49 MB / 362.7 MB Notification: Performance of pre-optimization done (n=2): time 8.12e-07/0.08085, allocations: 7.938 kB / 0.4938 GB, free: 12.48 MB / 362.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001305/0.08098, allocations: 53.58 kB / 0.4938 GB, free: 12.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.08101, allocations: 51.41 kB / 0.4939 GB, free: 12.36 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.258e-05/0.08107, allocations: 109.8 kB / 0.494 GB, free: 12.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.628e-06/0.08108, allocations: 25.7 kB / 0.494 GB, free: 12.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.08111, allocations: 80.14 kB / 0.4941 GB, free: 12.13 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.08113, allocations: 3.953 kB / 0.4941 GB, free: 12.12 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.347e-05/0.08115, allocations: 17.72 kB / 0.4941 GB, free: 12.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.509e-05/0.08123, allocations: 314.8 kB / 0.4944 GB, free: 11.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.624e-05/0.08125, allocations: 8 kB / 0.4944 GB, free: 11.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.121e-05/0.08126, allocations: 12.12 kB / 0.4944 GB, free: 11.77 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.61e-05/0.08129, allocations: 20.86 kB / 0.4945 GB, free: 11.74 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.08129, allocations: 0 / 0.4945 GB, free: 11.74 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.949e-05/0.08135, allocations: 49.69 kB / 0.4945 GB, free: 11.69 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.08137, allocations: 10.12 kB / 0.4945 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.08137, allocations: 3.984 kB / 0.4945 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.119e-05/0.08138, allocations: 0 / 0.4945 GB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.548e-05/0.08145, allocations: 7.938 kB / 0.4945 GB, free: 11.67 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.08146, allocations: 4 kB / 0.4945 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.336e-05/0.08147, allocations: 7.984 kB / 0.4945 GB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.471e-06/0.08147, allocations: 0 / 0.4945 GB, free: 11.66 MB / 362.7 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 (4): * Single equations (assignments): 4 * 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 4.787e-05/0.08152, allocations: 113.8 kB / 0.4946 GB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-06/0.08153, allocations: 7.891 kB / 0.4946 GB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.877e-05/0.08155, allocations: 15.2 kB / 0.4947 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.08155, allocations: 0 / 0.4947 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.08155, allocations: 0 / 0.4947 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.08155, allocations: 0 / 0.4947 GB, free: 11.51 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.436e-05/0.08162, allocations: 128.8 kB / 0.4948 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.08162, allocations: 0 / 0.4948 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.196e-05/0.08166, allocations: 8 kB / 0.4948 GB, free: 11.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.08166, allocations: 3.938 kB / 0.4948 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.08167, allocations: 4 kB / 0.4948 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.91e-07/0.08167, allocations: 0 / 0.4948 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.08167, allocations: 0 / 0.4948 GB, free: 11.33 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001071/0.08178, allocations: 81.06 kB / 0.4949 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-06/0.08179, allocations: 4.031 kB / 0.4949 GB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.0818, allocations: 3.938 kB / 0.4949 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.308e-06/0.08181, allocations: 0 / 0.4949 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.362e-05/0.08182, allocations: 3.984 kB / 0.4949 GB, free: 11.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.08182, allocations: 4 kB / 0.4949 GB, free: 11.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.412e-05/0.08185, allocations: 75.61 kB / 0.495 GB, free: 11.14 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08185, allocations: 4.094 kB / 0.495 GB, free: 11.14 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001188/0.08197, allocations: 7.938 kB / 0.495 GB, free: 11.13 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (hares,foxes) * 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 (2): * Single equations (assignments): 2 * 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.0002547/0.08222, allocations: 0.6164 MB / 0.4956 GB, free: 10.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 9.098e-05/0.08231, allocations: 23.97 kB / 0.4956 GB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.08231, allocations: 0 / 0.4956 GB, free: 10.46 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.616e-06/0.08232, allocations: 4 kB / 0.4956 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/0.08244, allocations: 0 / 0.4956 GB, free: 10.45 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000839/0.08328, allocations: 1.138 MB / 0.4967 GB, free: 9.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.782e-05/0.08331, allocations: 67.33 kB / 0.4968 GB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.366e-05/0.08333, allocations: 0 / 0.4968 GB, free: 9.145 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.248e-05/0.08336, allocations: 15.42 kB / 0.4968 GB, free: 9.129 MB / 362.7 MB Notification: Performance of SimCode: time 6.31e-07/0.08336, allocations: 0 / 0.4968 GB, free: 9.129 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07954/0.1629, allocations: 1.66 MB / 0.4984 GB, free: 7.578 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.821/6.984, allocations: 0.75 kB / 0.4984 GB, free: 7.578 MB / 362.7 MB " [Timeout remaining time 653] (rm -f ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey.pipe >> ../files/ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_ChaoticCircuits_ChaoticCircuits_LotkaVolterra_PredatorPrey_fmu --startTime=0 --stopTime=1000 --stepSize=0.1 --timeout=50 --tolerance=1e-06 ../ChaoticCircuits_ChaoticCircuits_LotkaVolterra_PredatorPrey.fmu) > ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey.pipe 2>&1) [Timeout 52.5] (rm -f ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey_fmpy.pipe ; mkfifo ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey_fmpy.pipe ; head -c 1048576 < ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey_fmpy_res.csv --start-time 0 --stop-time 1000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.1 ../ChaoticCircuits_ChaoticCircuits_LotkaVolterra_PredatorPrey.fmu) > ChaoticCircuits_ChaoticCircuits.LotkaVolterra.PredatorPrey_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.403443118557334]