Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.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.001304/0.001304, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.00147/0.00147, allocations: 215.6 kB / 22.25 MB, free: 5.117 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.451/1.451, allocations: 207.6 MB / 233 MB, free: 10 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.05155/0.05155, allocations: 8.206 MB / 293.5 MB, free: 13.64 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.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",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.002283/0.002283, allocations: 76.92 kB / 410.4 MB, free: 46.97 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07291/0.07519, allocations: 50.92 MB / 461.3 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001925/0.07711, allocations: 0.574 MB / 461.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003712/0.07748, allocations: 120 kB / 462 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.604e-05/0.07754, allocations: 0 / 462 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.147e-05/0.07759, allocations: 15.86 kB / 462.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.009e-05/0.07767, allocations: 11.88 kB / 462.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000153/0.07783, allocations: 23.97 kB / 462.1 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001713/0.078, allocations: 67.84 kB / 462.2 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.07815, allocations: 35.95 kB / 462.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.0782, allocations: 39.8 kB / 462.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.681e-05/0.0783, allocations: 31.84 kB / 462.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.395e-05/0.07832, allocations: 12 kB / 462.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.561e-05/0.07834, allocations: 8 kB / 462.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.985e-05/0.07837, allocations: 23.92 kB / 462.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.183e-05/0.07841, allocations: 31.8 kB / 462.3 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.07857, allocations: 99.81 kB / 462.4 MB, free: 12.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.07857, allocations: 4 kB / 462.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.07857, allocations: 0 / 462.4 MB, free: 12.43 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.656e-06/0.07858, allocations: 0 / 462.4 MB, free: 12.43 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.000479/0.07906, allocations: 306.3 kB / 462.7 MB, free: 12.1 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.0791, allocations: 11.98 kB / 462.7 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.637e-05/0.07915, allocations: 42.73 kB / 462.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.619e-05/0.07919, allocations: 16.84 kB / 462.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001749/0.07937, allocations: 130.4 kB / 462.9 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.07938, allocations: 8.562 kB / 462.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.608e-05/0.07941, allocations: 4.375 kB / 462.9 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.07961, allocations: 97.78 kB / 463 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.07962, allocations: 4 kB / 463 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.07964, allocations: 8 kB / 463.1 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.07964, allocations: 7.922 kB / 463.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001071/0.07975, allocations: 55.91 kB / 463.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005958/0.08035, allocations: 375.7 kB / 463.5 MB, free: 11.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001835/0.08053, allocations: 78.55 kB / 463.6 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.079e-05/0.08059, allocations: 36.84 kB / 463.6 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.222e-05/0.0806, allocations: 4 kB / 463.6 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/0.08063, allocations: 30.56 kB / 463.6 MB, free: 11.11 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.08063, allocations: 7.875 kB / 463.6 MB, free: 11.1 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002484/0.08088, allocations: 101.8 kB / 463.7 MB, free: 10.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.306e-05/0.08093, allocations: 51.41 kB / 463.8 MB, free: 10.93 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.08103, allocations: 117.8 kB / 463.9 MB, free: 10.8 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.08105, allocations: 29.7 kB / 463.9 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.329e-05/0.08111, allocations: 104 kB / 464 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.08114, allocations: 27.75 kB / 464.1 MB, free: 10.64 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.112e-05/0.08119, allocations: 29.7 kB / 464.1 MB, free: 10.6 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.08134, allocations: 310.8 kB / 464.4 MB, free: 10.29 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.692e-05/0.08139, allocations: 23.98 kB / 464.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.637e-05/0.08143, allocations: 19.94 kB / 464.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.442e-05/0.08152, allocations: 56.84 kB / 464.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.08152, allocations: 0 / 464.5 MB, free: 10.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001476/0.08167, allocations: 93.58 kB / 464.6 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.08169, allocations: 8.281 kB / 464.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.08169, allocations: 0 / 464.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.08171, allocations: 0 / 464.6 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.08182, allocations: 19.94 kB / 464.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.08183, allocations: 3.938 kB / 464.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.117e-05/0.08186, allocations: 11.94 kB / 464.6 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.08187, allocations: 4 kB / 464.6 MB, free: 10.04 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 (10): * Single equations (assignments): 10 * 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.0001291/0.082, allocations: 121.8 kB / 464.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.08202, allocations: 0 / 464.7 MB, free: 9.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.08206, allocations: 16.38 kB / 464.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.08206, allocations: 0 / 464.8 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.08207, allocations: 3.938 kB / 464.8 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.073e-06/0.08208, allocations: 4 kB / 464.8 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002365/0.08231, allocations: 176.7 kB / 464.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.08232, allocations: 0 / 464.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001003/0.08242, allocations: 15.98 kB / 465 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.08242, allocations: 0 / 465 MB, free: 9.66 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.08243, allocations: 12 kB / 465 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.08243, allocations: 0 / 465 MB, free: 9.648 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.08243, allocations: 3.938 kB / 465 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002699/0.0827, allocations: 207.5 kB / 465.2 MB, free: 9.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.491e-05/0.08272, allocations: 7.891 kB / 465.2 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.784e-05/0.08274, allocations: 7.938 kB / 465.2 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.39e-05/0.0828, allocations: 4 kB / 465.2 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.974e-05/0.08282, allocations: 7.922 kB / 465.2 MB, free: 9.398 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.08283, allocations: 8.062 kB / 465.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.404e-05/0.08289, allocations: 83.28 kB / 465.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.08289, allocations: 0 / 465.3 MB, free: 9.309 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000231/0.08312, allocations: 19.95 kB / 465.3 MB, free: 9.289 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.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 (8): * Single equations (assignments): 8 * 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.0005454/0.08367, allocations: 0.7407 MB / 466.1 MB, free: 8.523 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.08381, allocations: 56.03 kB / 466.1 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.08381, allocations: 0 / 466.1 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.091e-05/0.08386, allocations: 27.94 kB / 466.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.0842, allocations: 24.05 kB / 466.2 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.08565, allocations: 1.42 MB / 467.6 MB, free: 6.918 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.08602, allocations: 0.6963 MB / 468.3 MB, free: 6.195 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.83e-05/0.08606, allocations: 7.938 kB / 468.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.526e-05/0.08611, allocations: 31.42 kB / 468.3 MB, free: 6.156 MB / 334.1 MB Notification: Performance of SimCode: time 5.41e-07/0.08612, allocations: 0 / 468.3 MB, free: 6.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.1153, allocations: 2.017 MB / 470.3 MB, free: 4.191 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.3/11.42, allocations: 9.891 kB / 470.3 MB, free: 4.184 MB / 334.1 MB " [Timeout remaining time 648] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.sim & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra_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_ClassicLotkaVolterra.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.119146826997166] Failed to read output from testmodel.py, exit status != 0: 11.522434679995058 11.553213508 11.468318039 Calling exit ...