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.001192/0.001192, allocations: 102.6 kB / 16.45 MB, free: 6.504 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.001387/0.001387, allocations: 212.9 kB / 19.43 MB, free: 3.66 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.745/1.745, 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.05114/0.05114, allocations: 8.196 MB / 289.9 MB, free: 14.86 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.002203/0.002203, allocations: 71.17 kB / 405.2 MB, free: 47.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1126, allocations: 50.9 MB / 456.1 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.002151/0.1148, allocations: 0.5689 MB / 456.7 MB, free: 14.42 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004433/0.1152, allocations: 131.9 kB / 456.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.249e-05/0.1153, allocations: 4 kB / 456.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.498e-05/0.1154, allocations: 7.875 kB / 456.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.1155, allocations: 3.938 kB / 456.8 MB, free: 14.28 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.1157, allocations: 27.97 kB / 456.9 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002012/0.1159, allocations: 71.78 kB / 456.9 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001947/0.1161, allocations: 39.97 kB / 457 MB, free: 14.14 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.894e-05/0.1161, allocations: 31.84 kB / 457 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.1162, allocations: 35.84 kB / 457 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.806e-05/0.1162, allocations: 8 kB / 457 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.975e-05/0.1163, allocations: 8 kB / 457 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.973e-05/0.1163, allocations: 23.92 kB / 457.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 6.431e-05/0.1164, allocations: 35.8 kB / 457.1 MB, free: 14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002017/0.1166, allocations: 99.81 kB / 457.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.1166, allocations: 0 / 457.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.495e-06/0.1166, allocations: 0 / 457.2 MB, free: 13.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.077e-05/0.1166, allocations: 4 kB / 457.2 MB, free: 13.9 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.0007268/0.1173, allocations: 383.4 kB / 457.6 MB, free: 13.47 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.1174, allocations: 12.03 kB / 457.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.507e-05/0.1174, allocations: 42.73 kB / 457.6 MB, free: 13.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.007e-05/0.1175, allocations: 12.84 kB / 457.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00027/0.1177, allocations: 188.2 kB / 457.8 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.859e-05/0.1178, allocations: 8.562 kB / 457.8 MB, free: 13.17 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.034e-05/0.1178, allocations: 4.375 kB / 457.8 MB, free: 13.16 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002359/0.118, allocations: 101.8 kB / 457.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.118, allocations: 0 / 457.9 MB, free: 13.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.993e-05/0.1181, allocations: 11.94 kB / 457.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.1181, allocations: 0 / 457.9 MB, free: 13.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.1182, allocations: 51.97 kB / 458 MB, free: 13 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007592/0.1189, allocations: 404.6 kB / 458.4 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002171/0.1192, allocations: 82.55 kB / 458.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.153e-05/0.1192, allocations: 36.84 kB / 458.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.1193, allocations: 3.984 kB / 458.5 MB, free: 12.42 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.956e-05/0.1193, allocations: 42.44 kB / 458.6 MB, free: 12.37 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.1193, allocations: 3.938 kB / 458.6 MB, free: 12.36 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002772/0.1196, allocations: 93.69 kB / 458.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.097e-05/0.1196, allocations: 51.41 kB / 458.7 MB, free: 12.2 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1198, allocations: 113.8 kB / 458.8 MB, free: 12.08 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.1198, allocations: 33.7 kB / 458.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.906e-05/0.1199, allocations: 104 kB / 458.9 MB, free: 11.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.1199, allocations: 35.88 kB / 459 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.1199, allocations: 21.72 kB / 459 MB, free: 11.88 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1201, allocations: 318.8 kB / 459.3 MB, free: 11.55 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.572e-05/0.1202, allocations: 19.94 kB / 459.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.016e-05/0.1202, allocations: 27.98 kB / 459.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.072e-05/0.1203, allocations: 48.86 kB / 459.4 MB, free: 11.46 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1203, allocations: 4 kB / 459.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001495/0.1204, allocations: 93.58 kB / 459.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1204, allocations: 4 kB / 459.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.1205, allocations: 0 / 459.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.1205, allocations: 4 kB / 459.5 MB, free: 11.35 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1206, allocations: 15.98 kB / 459.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1206, allocations: 4.562 kB / 459.5 MB, free: 11.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.407e-05/0.1206, allocations: 11.95 kB / 459.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1206, allocations: 288 / 459.5 MB, free: 11.32 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.0001325/0.1208, allocations: 125.8 kB / 459.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.1208, allocations: 4 kB / 459.7 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.25e-05/0.1208, allocations: 20.3 kB / 459.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.1209, allocations: 4 kB / 459.7 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.724e-06/0.1209, allocations: 3.938 kB / 459.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.1209, allocations: 0 / 459.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00025/0.1211, allocations: 205.6 kB / 459.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1211, allocations: 0 / 459.9 MB, free: 10.9 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.962e-05/0.1212, allocations: 12 kB / 459.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.1212, allocations: 4 kB / 459.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1212, allocations: 0 / 459.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.1212, allocations: 3.984 kB / 459.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1212, allocations: 3.938 kB / 459.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002915/0.1215, allocations: 211.5 kB / 460.1 MB, free: 10.66 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-05/0.1216, allocations: 93.02 kB / 460.2 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1216, allocations: 3.938 kB / 460.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.832e-05/0.1217, allocations: 4 kB / 460.2 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.263e-05/0.1217, allocations: 12 kB / 460.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1217, allocations: 0 / 460.2 MB, free: 10.53 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.958e-05/0.1218, allocations: 91.27 kB / 460.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1218, allocations: 0 / 460.3 MB, free: 10.44 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.122, allocations: 15.95 kB / 460.3 MB, free: 10.42 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.0006364/0.1226, allocations: 0.7437 MB / 461.1 MB, free: 9.652 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001592/0.1228, allocations: 47.98 kB / 461.1 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.1228, allocations: 0 / 461.1 MB, free: 9.605 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.324e-05/0.1228, allocations: 27.92 kB / 461.2 MB, free: 9.578 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.1232, allocations: 21.5 kB / 461.2 MB, free: 9.559 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001519/0.1248, allocations: 1.439 MB / 462.6 MB, free: 8.043 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003731/0.1251, allocations: 0.6963 MB / 463.3 MB, free: 7.32 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.947e-05/0.1252, allocations: 11.75 kB / 463.3 MB, free: 7.312 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.004e-05/0.1253, allocations: 23.44 kB / 463.4 MB, free: 7.289 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1253, allocations: 0 / 463.4 MB, free: 7.289 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02628/0.1515, allocations: 1.887 MB / 465.2 MB, free: 5.512 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.06/8.211, allocations: 7.688 kB / 465.2 MB, free: 5.504 MB / 334.1 MB " [Timeout remaining time 652] (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: 11.367696276007337] Failed to read output from testmodel.py, exit status != 0: 8.282350177003536 8.307724353 8.186509961 Calling exit ...