Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.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.001551/0.001551, allocations: 102 kB / 16.45 MB, free: 6.449 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.001797/0.001797, allocations: 206.4 kB / 19.42 MB, free: 3.641 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.766/1.766, allocations: 207.5 MB / 229.8 MB, free: 11.42 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.05504/0.05504, allocations: 8.183 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.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 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.002378/0.002378, allocations: 64.88 kB / 405.2 MB, free: 47.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08401/0.08639, allocations: 50.9 MB / 456.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002731/0.08912, allocations: 1.236 MB / 457.3 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007293/0.08985, allocations: 378.6 kB / 457.7 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.08997, allocations: 8 kB / 457.7 MB, free: 13.36 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.09009, allocations: 51.36 kB / 457.8 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00019/0.09028, allocations: 55.42 kB / 457.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003307/0.09061, allocations: 143.8 kB / 458 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004972/0.09111, allocations: 399.1 kB / 458.4 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003406/0.09145, allocations: 180.9 kB / 458.5 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002046/0.09165, allocations: 171.2 kB / 458.7 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.09189, allocations: 199 kB / 458.9 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.797e-05/0.09197, allocations: 56 kB / 459 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.809e-05/0.09204, allocations: 60 kB / 459 MB, free: 12.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001151/0.09215, allocations: 115.6 kB / 459.1 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000213/0.09236, allocations: 222.8 kB / 459.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007026/0.09307, allocations: 0.584 MB / 459.9 MB, free: 11.16 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.603e-06/0.09307, allocations: 4 kB / 459.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.09307, allocations: 4 kB / 459.9 MB, free: 11.15 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.627e-05/0.09309, allocations: 0 / 459.9 MB, free: 11.15 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001226/0.09432, allocations: 0.7325 MB / 460.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.09438, allocations: 8.031 kB / 460.7 MB, free: 10.36 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.09449, allocations: 78.72 kB / 460.8 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001005/0.09459, allocations: 52.61 kB / 460.8 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004729/0.09506, allocations: 347.5 kB / 461.1 MB, free: 9.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.973e-05/0.0951, allocations: 29.38 kB / 461.2 MB, free: 9.809 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.447e-05/0.09519, allocations: 48.38 kB / 461.2 MB, free: 9.762 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007139/0.0959, allocations: 430.4 kB / 461.6 MB, free: 9.328 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.09593, allocations: 7.891 kB / 461.6 MB, free: 9.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.667e-05/0.09598, allocations: 19.94 kB / 461.7 MB, free: 9.301 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.09599, allocations: 12 kB / 461.7 MB, free: 9.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004893/0.09648, allocations: 251.9 kB / 461.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002416/0.0989, allocations: 1.433 MB / 463.4 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000652/0.09955, allocations: 342.5 kB / 463.7 MB, free: 7.176 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000232/0.09978, allocations: 159.5 kB / 463.8 MB, free: 7.008 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.09981, allocations: 4 kB / 463.9 MB, free: 7.004 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.509e-05/0.0999, allocations: 46.5 kB / 463.9 MB, free: 6.949 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 2.765e-06/0.09991, allocations: 7.875 kB / 463.9 MB, free: 6.941 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.0007698/0.1007, allocations: 354 kB / 464.2 MB, free: 6.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001126/0.1008, allocations: 132.5 kB / 464.4 MB, free: 6.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.1011, allocations: 271 kB / 464.6 MB, free: 6.156 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.025e-05/0.1012, allocations: 33.7 kB / 464.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000195/0.1013, allocations: 248.4 kB / 464.9 MB, free: 5.871 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.1015, allocations: 122.9 kB / 465 MB, free: 5.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.1016, allocations: 70.09 kB / 465.1 MB, free: 5.676 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.1018, allocations: 346.8 kB / 465.4 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/0.1019, allocations: 92.84 kB / 465.5 MB, free: 5.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/0.1022, allocations: 190.6 kB / 465.7 MB, free: 5.012 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004303/0.1026, allocations: 310 kB / 466 MB, free: 4.672 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.566e-06/0.1026, allocations: 0 / 466 MB, free: 4.672 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005621/0.1032, allocations: 361.3 kB / 466.4 MB, free: 4.312 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/0.1032, allocations: 8 kB / 466.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1032, allocations: 4 kB / 466.4 MB, free: 4.301 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.1033, allocations: 7.984 kB / 466.4 MB, free: 4.293 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003803/0.1036, allocations: 87.89 kB / 466.5 MB, free: 4.207 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.1036, allocations: 7.984 kB / 466.5 MB, free: 4.199 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001316/0.1038, allocations: 31.72 kB / 466.5 MB, free: 4.168 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.427e-05/0.1038, allocations: 16.38 kB / 466.5 MB, free: 4.152 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (48): * Single equations (assignments): 48 * 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.0002065/0.104, allocations: 173.8 kB / 466.7 MB, free: 3.973 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001189/0.1041, allocations: 39.77 kB / 466.7 MB, free: 3.934 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.1042, allocations: 37.73 kB / 466.8 MB, free: 3.895 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1042, allocations: 7.938 kB / 466.8 MB, free: 3.887 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.1042, allocations: 4 kB / 466.8 MB, free: 3.883 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.1043, allocations: 3.938 kB / 466.8 MB, free: 3.879 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008039/0.1051, allocations: 457.2 kB / 467.2 MB, free: 3.383 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.47e-06/0.1051, allocations: 4 kB / 467.2 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.1054, allocations: 59.91 kB / 467.3 MB, free: 3.32 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.1054, allocations: 8 kB / 467.3 MB, free: 3.312 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.1055, allocations: 8 kB / 467.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1055, allocations: 0 / 467.3 MB, free: 3.305 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.1055, allocations: 7.938 kB / 467.3 MB, free: 3.297 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008429/0.1063, allocations: 0.7008 MB / 468 MB, free: 2.574 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.498e-05/0.1064, allocations: 116.8 kB / 468.1 MB, free: 2.441 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.81e-05/0.1064, allocations: 8 kB / 468.2 MB, free: 2.434 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.1067, allocations: 8 kB / 468.2 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.1067, allocations: 23.91 kB / 468.2 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.1068, allocations: 12 kB / 468.2 MB, free: 2.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002078/0.107, allocations: 198 kB / 468.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.107, allocations: 0 / 468.4 MB, free: 2.195 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004999/0.1075, allocations: 83.67 kB / 468.5 MB, free: 2.113 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (A.rabbit_population.population,A.fox_population.population,B.rabbit_population.population,B.fox_population.population,C.rabbit_population.population,C.fox_population.population,D.rabbit_population.population,D.fox_population.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 (32): * Single equations (assignments): 32 * 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.001171/0.1086, allocations: 1.261 MB / 469.7 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005242/0.1092, allocations: 252.9 kB / 470 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.1092, allocations: 4 kB / 470 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.1093, allocations: 116.7 kB / 470.1 MB, free: 472 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008688/0.1102, allocations: 65.33 kB / 470.2 MB, free: 408 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005002/0.1152, allocations: 3.399 MB / 473.6 MB, free: 12.83 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005322/0.1157, allocations: 0.8074 MB / 474.4 MB, free: 11.99 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001697/0.1159, allocations: 38.89 kB / 474.4 MB, free: 11.95 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001922/0.1161, allocations: 131.4 kB / 474.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of SimCode: time 1.553e-06/0.1161, allocations: 0 / 474.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03359/0.1497, allocations: 5.865 MB / 480.4 MB, free: 6.086 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.632/8.782, allocations: 3.656 kB / 480.4 MB, free: 6.086 MB / 350.1 MB " [Timeout remaining time 651] (rm -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe >> ../files/ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.sim & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations_res.csv --start-time 0 --stop-time 40 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.016 ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations.fmu > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.881213479995495] Failed to read output from testmodel.py, exit status != 0: 8.855172281007981 8.870429195 8.774293407 Calling exit ...