Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.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.0013/0.0013, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001441/0.001441, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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 0.8998/0.8998, allocations: 158.6 MB / 184.2 MB, free: 3.047 MB / 170.7 MB " [Timeout remaining time 179] 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.03617/0.03617, allocations: 6.407 MB / 242.9 MB, free: 8.973 MB / 234.7 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.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 359.8 MB, free: 4.398 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.704e-05/1.895e-05, allocations: 2.281 kB / 359.8 MB, free: 4.395 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001145/0.001164, allocations: 0.6689 MB / 360.5 MB, free: 3.723 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003155/0.001479, allocations: 167.6 kB / 360.6 MB, free: 3.559 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.001533, allocations: 8 kB / 360.6 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.356e-05/0.001577, allocations: 15.75 kB / 360.7 MB, free: 3.535 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.102e-05/0.001658, allocations: 15.81 kB / 360.7 MB, free: 3.52 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001585/0.001817, allocations: 59.86 kB / 360.7 MB, free: 3.461 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.001947, allocations: 135.7 kB / 360.9 MB, free: 3.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.002107, allocations: 57.75 kB / 360.9 MB, free: 3.273 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.019e-05/0.002178, allocations: 95.8 kB / 361 MB, free: 3.18 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.577e-05/0.002273, allocations: 51.78 kB / 361.1 MB, free: 3.129 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 3.053e-05/0.002304, allocations: 16 kB / 361.1 MB, free: 3.113 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.565e-05/0.00232, allocations: 20 kB / 361.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.37e-05/0.002343, allocations: 47.83 kB / 361.1 MB, free: 3.047 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.137e-05/0.002375, allocations: 51.84 kB / 361.2 MB, free: 2.996 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001316/0.002506, allocations: 187.5 kB / 361.4 MB, free: 2.812 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.002508, allocations: 0 / 361.4 MB, free: 2.812 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.82e-07/0.002509, allocations: 0 / 361.4 MB, free: 2.812 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.399e-06/0.002514, allocations: 4 kB / 361.4 MB, free: 2.809 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0003853/0.002899, allocations: 394 kB / 361.8 MB, free: 2.387 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.002936, allocations: 15.98 kB / 361.8 MB, free: 2.371 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.26e-05/0.002969, allocations: 54.73 kB / 361.8 MB, free: 2.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.124e-05/0.003, allocations: 24.8 kB / 361.9 MB, free: 2.285 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001332/0.003133, allocations: 153.5 kB / 362 MB, free: 2.109 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.003145, allocations: 16.75 kB / 362 MB, free: 2.094 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.003176, allocations: 16.38 kB / 362 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001982/0.003374, allocations: 242.2 kB / 362.3 MB, free: 1.82 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.003386, allocations: 8.141 kB / 362.3 MB, free: 1.812 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.375e-05/0.0034, allocations: 16.3 kB / 362.3 MB, free: 1.797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.781e-06/0.003405, allocations: 8.125 kB / 362.3 MB, free: 1.789 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.003525, allocations: 119.6 kB / 362.4 MB, free: 1.672 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005103/0.004035, allocations: 0.4914 MB / 362.9 MB, free: 1.137 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001574/0.004192, allocations: 118.5 kB / 363 MB, free: 1.012 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.446e-05/0.004257, allocations: 64.78 kB / 363.1 MB, free: 0.9453 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.004271, allocations: 11.92 kB / 363.1 MB, free: 0.9336 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.004288, allocations: 34.56 kB / 363.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.004289, allocations: 0 / 363.1 MB, free: 0.8906 MB / 282.7 MB Notification: Performance of matching and sorting (n=15): time 0.0002352/0.004524, allocations: 179.6 kB / 363.3 MB, free: 0.7109 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.004544, allocations: 55.41 kB / 363.4 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.258e-05/0.004596, allocations: 129.2 kB / 363.5 MB, free: 0.5117 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.004607, allocations: 29.7 kB / 363.5 MB, free: 488 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.787e-05/0.004645, allocations: 128.5 kB / 363.7 MB, free: 356 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.004671, allocations: 59.47 kB / 363.7 MB, free: 296 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.004705, allocations: 29.72 kB / 363.7 MB, free: 260 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 7.065e-05/0.004776, allocations: 326.8 kB / 364.1 MB, free: 15.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.408e-05/0.00483, allocations: 39.98 kB / 364.1 MB, free: 15.89 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.042e-05/0.00488, allocations: 43.92 kB / 364.1 MB, free: 15.84 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.005002, allocations: 107.4 kB / 364.2 MB, free: 15.74 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.005004, allocations: 4 kB / 364.3 MB, free: 15.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001596/0.005164, allocations: 149.6 kB / 364.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.005178, allocations: 4 kB / 364.4 MB, free: 15.58 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/0.005184, allocations: 3.984 kB / 364.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.005195, allocations: 0 / 364.4 MB, free: 15.57 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001182/0.005314, allocations: 35.92 kB / 364.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.005319, allocations: 0 / 364.4 MB, free: 15.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.207e-05/0.005341, allocations: 7.938 kB / 364.4 MB, free: 15.53 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.005348, allocations: 4 kB / 364.5 MB, free: 15.53 MB / 298.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 (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 7.594e-05/0.005424, allocations: 129.8 kB / 364.6 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.122e-05/0.005445, allocations: 15.91 kB / 364.6 MB, free: 15.38 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.099e-05/0.005476, allocations: 24.36 kB / 364.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.005479, allocations: 4 kB / 364.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.005484, allocations: 0 / 364.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.005487, allocations: 0 / 364.6 MB, free: 15.35 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001903/0.005678, allocations: 224.6 kB / 364.8 MB, free: 15.09 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.005679, allocations: 4 kB / 364.8 MB, free: 15.08 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.058e-05/0.00577, allocations: 31.91 kB / 364.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.005773, allocations: 4 kB / 364.9 MB, free: 15.05 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.005782, allocations: 7.938 kB / 364.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.005784, allocations: 0 / 364.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.005784, allocations: 0 / 364.9 MB, free: 15.04 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002601/0.006044, allocations: 303.3 kB / 365.2 MB, free: 14.73 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.282e-05/0.006057, allocations: 19.83 kB / 365.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.006069, allocations: 0 / 365.2 MB, free: 14.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.44e-05/0.006113, allocations: 4.047 kB / 365.2 MB, free: 14.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.817e-05/0.006132, allocations: 11.97 kB / 365.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.006138, allocations: 4 kB / 365.2 MB, free: 14.69 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.083e-05/0.006179, allocations: 99.27 kB / 365.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006179, allocations: 0 / 365.3 MB, free: 14.59 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001827/0.006361, allocations: 39.84 kB / 365.4 MB, free: 14.55 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.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 (15): * Single equations (assignments): 15 * 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.0004402/0.006802, allocations: 0.8249 MB / 366.2 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001581/0.00696, allocations: 106.4 kB / 366.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.006961, allocations: 0 / 366.3 MB, free: 13.6 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.467e-05/0.007026, allocations: 63.91 kB / 366.3 MB, free: 13.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002637/0.00729, allocations: 15.61 kB / 366.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001231/0.008521, allocations: 1.77 MB / 368.1 MB, free: 11.67 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.409e-05/0.008595, allocations: 111.6 kB / 368.2 MB, free: 11.54 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.568e-05/0.00864, allocations: 10.97 kB / 368.3 MB, free: 11.53 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/0.008703, allocations: 48.48 kB / 368.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of SimCode: time 7.31e-07/0.008703, allocations: 0 / 368.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.02374, allocations: 3.352 MB / 371.7 MB, free: 8.199 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/6.933, allocations: 7.922 kB / 371.7 MB, free: 8.191 MB / 298.7 MB " [Timeout remaining time 653] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies_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_ThirdSpecies.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 8.816409782506526] Failed to read output from testmodel.py, exit status != 0: 7.020089232362807 7.032187714 7.027388172 Calling exit ...