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.001246/0.001246, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001514/0.001514, allocations: 212.4 kB / 22.24 MB, free: 5.262 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.379/1.379, allocations: 207.7 MB / 233.1 MB, free: 9.777 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.04939/0.04939, allocations: 8.195 MB / 293.5 MB, free: 13.46 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.002183/0.002183, allocations: 69.58 kB / 410.4 MB, free: 46.82 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0785/0.08068, allocations: 50.94 MB / 461.3 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002743/0.08343, allocations: 1.08 MB / 462.4 MB, free: 12.23 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008947/0.08432, allocations: 374.6 kB / 462.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002525/0.08458, allocations: 8 kB / 462.8 MB, free: 11.85 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.08475, allocations: 51.36 kB / 462.8 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003063/0.08506, allocations: 59.42 kB / 462.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004391/0.0855, allocations: 135.9 kB / 463 MB, free: 11.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000683/0.08618, allocations: 399.2 kB / 463.4 MB, free: 11.22 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004249/0.0866, allocations: 165.4 kB / 463.6 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002678/0.08687, allocations: 175.2 kB / 463.8 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.08711, allocations: 170.9 kB / 463.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.056e-05/0.08719, allocations: 56 kB / 464 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.364e-05/0.08726, allocations: 60 kB / 464 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001281/0.08739, allocations: 111.6 kB / 464.2 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001698/0.08756, allocations: 179 kB / 464.3 MB, free: 10.31 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006885/0.08825, allocations: 0.5879 MB / 464.9 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.08826, allocations: 0 / 464.9 MB, free: 9.723 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.08826, allocations: 4 kB / 464.9 MB, free: 9.719 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.09e-05/0.08827, allocations: 0 / 464.9 MB, free: 9.719 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.001152/0.08942, allocations: 0.6572 MB / 465.6 MB, free: 9.027 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.08948, allocations: 15.98 kB / 465.6 MB, free: 9.012 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.08959, allocations: 78.72 kB / 465.7 MB, free: 8.926 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001009/0.08969, allocations: 56.61 kB / 465.7 MB, free: 8.871 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.09013, allocations: 273.3 kB / 466 MB, free: 8.578 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.641e-05/0.09017, allocations: 33.38 kB / 466 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.782e-05/0.09023, allocations: 52.31 kB / 466.1 MB, free: 8.496 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007889/0.09102, allocations: 0.6133 MB / 466.7 MB, free: 7.812 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.519e-05/0.09105, allocations: 7.891 kB / 466.7 MB, free: 7.805 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.09109, allocations: 24 kB / 466.7 MB, free: 7.781 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.0911, allocations: 12 kB / 466.7 MB, free: 7.77 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004492/0.09155, allocations: 259.8 kB / 467 MB, free: 7.516 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001971/0.09352, allocations: 1.272 MB / 468.3 MB, free: 6.188 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005846/0.09411, allocations: 338.1 kB / 468.6 MB, free: 5.82 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002277/0.09433, allocations: 151.4 kB / 468.7 MB, free: 5.66 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.243e-05/0.09436, allocations: 4 kB / 468.7 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.235e-05/0.0944, allocations: 46.5 kB / 468.8 MB, free: 5.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.823e-06/0.0944, allocations: 3.938 kB / 468.8 MB, free: 5.598 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006503/0.09505, allocations: 353.9 kB / 469.1 MB, free: 5.246 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.242e-05/0.09514, allocations: 136.5 kB / 469.3 MB, free: 5.082 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003009/0.09544, allocations: 284.1 kB / 469.5 MB, free: 4.797 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 4.225e-05/0.09549, allocations: 33.7 kB / 469.6 MB, free: 4.758 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.09566, allocations: 232.5 kB / 469.8 MB, free: 4.523 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001002/0.09576, allocations: 130.9 kB / 469.9 MB, free: 4.395 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.862e-05/0.09586, allocations: 70.14 kB / 470 MB, free: 4.32 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001887/0.09605, allocations: 342.8 kB / 470.3 MB, free: 3.977 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001585/0.09621, allocations: 96.84 kB / 470.4 MB, free: 3.883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002365/0.09645, allocations: 182.6 kB / 470.6 MB, free: 3.664 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004321/0.09688, allocations: 318 kB / 470.9 MB, free: 3.316 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.09688, allocations: 0 / 470.9 MB, free: 3.316 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005328/0.09741, allocations: 349.1 kB / 471.3 MB, free: 2.969 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.09743, allocations: 8 kB / 471.3 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.09744, allocations: 3.984 kB / 471.3 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.09746, allocations: 8 kB / 471.3 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003513/0.09782, allocations: 88.09 kB / 471.4 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.09783, allocations: 11.98 kB / 471.4 MB, free: 2.852 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.09795, allocations: 39.67 kB / 471.4 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.854e-05/0.09797, allocations: 8 kB / 471.4 MB, free: 2.805 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.0001881/0.09816, allocations: 174.1 kB / 471.6 MB, free: 2.625 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/0.09826, allocations: 31.81 kB / 471.6 MB, free: 2.594 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.353e-05/0.09833, allocations: 37.73 kB / 471.7 MB, free: 2.559 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.09834, allocations: 4 kB / 471.7 MB, free: 2.555 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.09835, allocations: 7.938 kB / 471.7 MB, free: 2.547 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.995e-06/0.09835, allocations: 7.922 kB / 471.7 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006251/0.09898, allocations: 392.4 kB / 472.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.09898, allocations: 0 / 472.1 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003076/0.09929, allocations: 67.89 kB / 472.1 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.09929, allocations: 4 kB / 472.1 MB, free: 2.043 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.295e-05/0.09932, allocations: 8 kB / 472.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.09932, allocations: 0 / 472.1 MB, free: 2.035 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.09932, allocations: 7.938 kB / 472.1 MB, free: 2.027 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007592/0.1001, allocations: 0.7059 MB / 472.9 MB, free: 1.301 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.262e-05/0.1001, allocations: 35.75 kB / 472.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.586e-05/0.1002, allocations: 15.98 kB / 472.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002049/0.1004, allocations: 4 kB / 472.9 MB, free: 1.246 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.1004, allocations: 23.91 kB / 472.9 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.1004, allocations: 8 kB / 472.9 MB, free: 1.215 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001978/0.1006, allocations: 195.1 kB / 473.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1006, allocations: 0 / 473.1 MB, free: 1.023 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004391/0.1011, allocations: 83.73 kB / 473.2 MB, free: 0.9414 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.001105/0.1022, allocations: 1.266 MB / 474.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004225/0.1026, allocations: 252.2 kB / 474.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.1026, allocations: 0 / 474.7 MB, free: 15.4 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.1028, allocations: 119.8 kB / 474.8 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.1035, allocations: 64.8 kB / 474.9 MB, free: 15.22 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003938/0.1074, allocations: 3.388 MB / 478.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1077, allocations: 207.7 kB / 478.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001393/0.1078, allocations: 34.84 kB / 478.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000183/0.108, allocations: 131.4 kB / 478.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of SimCode: time 5.71e-07/0.108, allocations: 0 / 478.7 MB, free: 11.29 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03791/0.1459, allocations: 6.499 MB / 485.2 MB, free: 4.855 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.03, allocations: 3.938 kB / 485.2 MB, free: 4.852 MB / 350.1 MB " [Timeout remaining time 649] (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: 13.60109661379829] Failed to read output from testmodel.py, exit status != 0: 11.140710091684014 11.166799339 11.073870626 Calling exit ...