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.0009364/0.0009364, 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.001195/0.001195, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9067/0.9067, allocations: 158.6 MB / 184.2 MB, free: 3.035 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.02452/0.02452, allocations: 6.404 MB / 242.9 MB, free: 8.98 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.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: Performance of FrontEnd - loaded program: time 2.575e-06/2.575e-06, allocations: 0 / 359.8 MB, free: 4.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.796e-05/2.054e-05, allocations: 5.938 kB / 359.8 MB, free: 4.426 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.001278/0.001298, allocations: 1.077 MB / 360.9 MB, free: 3.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004741/0.001772, allocations: 370.7 kB / 361.2 MB, free: 2.98 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.724e-05/0.00187, allocations: 8 kB / 361.2 MB, free: 2.973 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 6.888e-05/0.001938, allocations: 55.36 kB / 361.3 MB, free: 2.918 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.002058, allocations: 63.36 kB / 361.3 MB, free: 2.855 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002235/0.002282, allocations: 143.8 kB / 361.5 MB, free: 2.715 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002378/0.00252, allocations: 395.1 kB / 361.9 MB, free: 2.328 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002162/0.002736, allocations: 169.4 kB / 362 MB, free: 2.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001468/0.002883, allocations: 263.4 kB / 362.3 MB, free: 1.902 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.638e-05/0.002979, allocations: 127.5 kB / 362.4 MB, free: 1.777 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.556e-05/0.003025, allocations: 60 kB / 362.5 MB, free: 1.719 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.061e-05/0.003055, allocations: 60 kB / 362.5 MB, free: 1.66 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.121e-05/0.003097, allocations: 123.5 kB / 362.7 MB, free: 1.539 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.995e-05/0.003157, allocations: 139.6 kB / 362.8 MB, free: 1.402 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000271/0.003427, allocations: 0.592 MB / 363.4 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.00343, allocations: 0 / 363.4 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.21e-07/0.003431, allocations: 0 / 363.4 MB, free: 0.8086 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.681e-06/0.003436, allocations: 3.938 kB / 363.4 MB, free: 0.8047 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0005549/0.003991, allocations: 0.6491 MB / 364 MB, free: 128 kB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.414e-05/0.004026, allocations: 11.98 kB / 364.1 MB, free: 116 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.795e-05/0.004073, allocations: 86.72 kB / 364.1 MB, free: 20 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.108e-05/0.004145, allocations: 53.22 kB / 364.2 MB, free: 15.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002871/0.004432, allocations: 284.3 kB / 364.5 MB, free: 15.66 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.004457, allocations: 33.38 kB / 364.5 MB, free: 15.62 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.016e-05/0.004507, allocations: 48.38 kB / 364.5 MB, free: 15.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005087/0.005016, allocations: 0.6172 MB / 365.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/0.005034, allocations: 192 / 365.2 MB, free: 14.9 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.915e-05/0.005063, allocations: 20.38 kB / 365.2 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.063e-05/0.005073, allocations: 15.56 kB / 365.2 MB, free: 14.86 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/0.005381, allocations: 265.9 kB / 365.5 MB, free: 14.61 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001254/0.006635, allocations: 1.272 MB / 366.7 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003571/0.006993, allocations: 334.1 kB / 367.1 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001424/0.007135, allocations: 155.3 kB / 367.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.687e-05/0.007152, allocations: 7.938 kB / 367.2 MB, free: 12.75 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.573e-05/0.007178, allocations: 38.56 kB / 367.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of pre-optimization done (n=32): time 1.703e-06/0.007179, allocations: 0 / 367.3 MB, free: 12.7 MB / 298.7 MB Notification: Performance of matching and sorting (n=32): time 0.000464/0.007643, allocations: 353.9 kB / 367.6 MB, free: 12.35 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.007696, allocations: 136.5 kB / 367.7 MB, free: 12.18 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000189/0.007885, allocations: 272.2 kB / 368 MB, free: 11.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.007909, allocations: 33.7 kB / 368 MB, free: 11.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/0.008014, allocations: 244.4 kB / 368.3 MB, free: 11.62 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.702e-05/0.008071, allocations: 115 kB / 368.4 MB, free: 11.51 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.003e-05/0.008141, allocations: 78.14 kB / 368.5 MB, free: 11.43 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.574e-05/0.008237, allocations: 338.8 kB / 368.8 MB, free: 11.09 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.008341, allocations: 92.97 kB / 368.9 MB, free: 11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001488/0.00849, allocations: 199.1 kB / 369.1 MB, free: 10.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.008761, allocations: 310 kB / 369.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.008764, allocations: 0 / 369.4 MB, free: 10.43 MB / 298.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003459/0.00911, allocations: 361.1 kB / 369.7 MB, free: 10.07 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.009127, allocations: 12.25 kB / 369.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.009133, allocations: 4 kB / 369.7 MB, free: 10.05 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.009151, allocations: 7.984 kB / 369.8 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.009361, allocations: 87.89 kB / 369.8 MB, free: 9.957 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.009374, allocations: 8.312 kB / 369.8 MB, free: 9.949 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.078e-05/0.009444, allocations: 35.67 kB / 369.9 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.009459, allocations: 16 kB / 369.9 MB, free: 9.898 MB / 298.7 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.000126/0.009585, allocations: 173.7 kB / 370.1 MB, free: 9.719 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.009644, allocations: 39.75 kB / 370.1 MB, free: 9.68 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.121e-05/0.009696, allocations: 41.8 kB / 370.1 MB, free: 9.633 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.0097, allocations: 4 kB / 370.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.009706, allocations: 0 / 370.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.00971, allocations: 0 / 370.2 MB, free: 9.629 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004054/0.01012, allocations: 392.4 kB / 370.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.01012, allocations: 0 / 370.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001714/0.01029, allocations: 59.91 kB / 370.6 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.01029, allocations: 0 / 370.6 MB, free: 9.145 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.499e-05/0.01032, allocations: 15.98 kB / 370.6 MB, free: 9.129 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.633e-06/0.01032, allocations: 8 kB / 370.6 MB, free: 9.121 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.01033, allocations: 3.938 kB / 370.6 MB, free: 9.117 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005132/0.01084, allocations: 0.702 MB / 371.3 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.06e-05/0.01087, allocations: 31.75 kB / 371.4 MB, free: 8.363 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.01089, allocations: 8 kB / 371.4 MB, free: 8.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.01102, allocations: 8 kB / 371.4 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.055e-05/0.01105, allocations: 27.89 kB / 371.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.01106, allocations: 8 kB / 371.4 MB, free: 8.312 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001206/0.01118, allocations: 191.1 kB / 371.6 MB, free: 8.129 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01118, allocations: 3.938 kB / 371.6 MB, free: 8.125 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003207/0.0115, allocations: 87.67 kB / 371.7 MB, free: 8.039 MB / 298.7 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.0006523/0.01215, allocations: 1.254 MB / 372.9 MB, free: 6.758 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003094/0.01246, allocations: 256 kB / 373.2 MB, free: 6.508 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.01247, allocations: 4 kB / 373.2 MB, free: 6.504 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.95e-05/0.01256, allocations: 115.8 kB / 373.3 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005135/0.01308, allocations: 73.56 kB / 373.4 MB, free: 6.316 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003012/0.01609, allocations: 3.38 MB / 376.8 MB, free: 2.773 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00019/0.01628, allocations: 203.7 kB / 377 MB, free: 2.547 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001352/0.01642, allocations: 36.83 kB / 377 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.01656, allocations: 132.5 kB / 377.1 MB, free: 2.387 MB / 298.7 MB Notification: Performance of SimCode: time 1.753e-06/0.01656, allocations: 0 / 377.1 MB, free: 2.387 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02076/0.03732, allocations: 6.613 MB / 383.7 MB, free: 11.88 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.059/7.097, allocations: 16.03 kB / 383.7 MB, free: 11.87 MB / 314.7 MB " [Timeout remaining time 653] (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: 9.014257124625146] Failed to read output from testmodel.py, exit status != 0: 7.181229243054986 7.190717135 7.185454912 Calling exit ...