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.001841/0.001841, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002401/0.002401, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.773/1.773, allocations: 207.6 MB / 233 MB, free: 10.01 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.05277/0.05277, allocations: 8.207 MB / 293.5 MB, free: 13.66 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.002252/0.002252, allocations: 77.45 kB / 410.4 MB, free: 47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09803/0.1003, allocations: 50.94 MB / 461.4 MB, free: 13.52 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.00269/0.103, allocations: 1.228 MB / 462.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006948/0.1037, allocations: 374.6 kB / 462.9 MB, free: 11.92 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.1038, allocations: 12 kB / 463 MB, free: 11.91 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.1039, allocations: 51.36 kB / 463 MB, free: 11.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000186/0.1041, allocations: 59.42 kB / 463.1 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003116/0.1044, allocations: 135.9 kB / 463.2 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004701/0.1049, allocations: 403 kB / 463.6 MB, free: 11.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003436/0.1052, allocations: 177.4 kB / 463.8 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001787/0.1054, allocations: 179.2 kB / 463.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002303/0.1056, allocations: 191 kB / 464.1 MB, free: 10.73 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.119e-05/0.1057, allocations: 64 kB / 464.2 MB, free: 10.66 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.262e-05/0.1058, allocations: 56 kB / 464.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001022/0.1059, allocations: 119.6 kB / 464.4 MB, free: 10.49 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00026/0.1061, allocations: 226.7 kB / 464.6 MB, free: 10.27 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006532/0.1068, allocations: 0.5802 MB / 465.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.1068, allocations: 0 / 465.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1068, allocations: 0 / 465.2 MB, free: 9.688 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.164e-05/0.1068, allocations: 0 / 465.2 MB, free: 9.688 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.001173/0.108, allocations: 0.6572 MB / 465.8 MB, free: 8.996 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/0.108, allocations: 15.98 kB / 465.8 MB, free: 8.98 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001006/0.1081, allocations: 74.72 kB / 465.9 MB, free: 8.898 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001048/0.1082, allocations: 60.61 kB / 466 MB, free: 8.84 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004268/0.1087, allocations: 281.2 kB / 466.2 MB, free: 8.539 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.554e-05/0.1087, allocations: 37.38 kB / 466.3 MB, free: 8.504 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.813e-05/0.1088, allocations: 40.38 kB / 466.3 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.1095, allocations: 430.3 kB / 466.7 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.877e-05/0.1095, allocations: 7.891 kB / 466.7 MB, free: 8.02 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.798e-05/0.1095, allocations: 16 kB / 466.8 MB, free: 8.004 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.466e-05/0.1096, allocations: 19.94 kB / 466.8 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004374/0.11, allocations: 255.8 kB / 467 MB, free: 7.734 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002108/0.1121, allocations: 1.397 MB / 468.4 MB, free: 6.281 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006004/0.1127, allocations: 334.2 kB / 468.8 MB, free: 5.918 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002273/0.1129, allocations: 151.3 kB / 468.9 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.113, allocations: 4 kB / 468.9 MB, free: 5.754 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.807e-05/0.113, allocations: 42.55 kB / 468.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.113, allocations: 0 / 468.9 MB, free: 5.703 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.000767/0.1138, allocations: 367 kB / 469.3 MB, free: 5.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001152/0.1139, allocations: 132.5 kB / 469.4 MB, free: 5.18 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003441/0.1142, allocations: 280.1 kB / 469.7 MB, free: 4.898 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.828e-05/0.1143, allocations: 33.7 kB / 469.7 MB, free: 4.859 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002329/0.1145, allocations: 232.5 kB / 470 MB, free: 4.625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001355/0.1146, allocations: 122.9 kB / 470.1 MB, free: 4.504 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.1148, allocations: 78.08 kB / 470.2 MB, free: 4.422 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002808/0.115, allocations: 342.8 kB / 470.5 MB, free: 4.078 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001843/0.1152, allocations: 100.8 kB / 470.6 MB, free: 3.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002658/0.1155, allocations: 182.6 kB / 470.8 MB, free: 3.762 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.1159, allocations: 314 kB / 471.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.1159, allocations: 0 / 471.1 MB, free: 3.418 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005699/0.1165, allocations: 357.4 kB / 471.4 MB, free: 3.062 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.1165, allocations: 4 kB / 471.4 MB, free: 3.059 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.1165, allocations: 4 kB / 471.4 MB, free: 3.055 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.616e-05/0.1166, allocations: 4.094 kB / 471.4 MB, free: 3.051 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004001/0.117, allocations: 96.08 kB / 471.5 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.117, allocations: 7.938 kB / 471.5 MB, free: 2.949 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001334/0.1171, allocations: 39.7 kB / 471.6 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.004e-05/0.1171, allocations: 12 kB / 471.6 MB, free: 2.898 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.0002389/0.1174, allocations: 169.8 kB / 471.8 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1175, allocations: 35.77 kB / 471.8 MB, free: 2.688 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001054/0.1176, allocations: 37.73 kB / 471.8 MB, free: 2.652 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.795e-06/0.1176, allocations: 4 kB / 471.8 MB, free: 2.648 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.1176, allocations: 8 kB / 471.8 MB, free: 2.641 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.877e-06/0.1176, allocations: 3.938 kB / 471.8 MB, free: 2.637 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007734/0.1184, allocations: 432.3 kB / 472.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.1184, allocations: 0 / 472.3 MB, free: 2.172 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003331/0.1187, allocations: 63.89 kB / 472.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.1187, allocations: 0 / 472.3 MB, free: 2.109 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.809e-05/0.1188, allocations: 12 kB / 472.3 MB, free: 2.098 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.1188, allocations: 4 kB / 472.3 MB, free: 2.094 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.1188, allocations: 3.938 kB / 472.4 MB, free: 2.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009137/0.1197, allocations: 0.7125 MB / 473.1 MB, free: 1.355 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.793e-05/0.1197, allocations: 35.73 kB / 473.1 MB, free: 1.32 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.051e-05/0.1198, allocations: 12 kB / 473.1 MB, free: 1.309 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.12, allocations: 4 kB / 473.1 MB, free: 1.305 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.432e-05/0.12, allocations: 23.89 kB / 473.1 MB, free: 1.281 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.756e-05/0.1201, allocations: 16 kB / 473.2 MB, free: 1.266 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001964/0.1203, allocations: 195.1 kB / 473.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1203, allocations: 0 / 473.3 MB, free: 1.074 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004522/0.1207, allocations: 91.61 kB / 473.4 MB, free: 0.9844 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.00116/0.1219, allocations: 1.254 MB / 474.7 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004539/0.1224, allocations: 243.9 kB / 474.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.1224, allocations: 0.75 kB / 474.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001856/0.1225, allocations: 123.8 kB / 475 MB, free: 15.34 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000805/0.1234, allocations: 66.2 kB / 475.1 MB, free: 15.28 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004781/0.1281, allocations: 3.399 MB / 478.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000608/0.1287, allocations: 0.8113 MB / 479.3 MB, free: 10.88 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001596/0.1289, allocations: 34.95 kB / 479.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/0.1291, allocations: 127.4 kB / 479.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of SimCode: time 1.793e-06/0.1291, allocations: 0 / 479.5 MB, free: 10.71 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04002/0.1691, allocations: 6.163 MB / 485.6 MB, free: 4.625 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.4/11.57, allocations: 11.86 kB / 485.7 MB, free: 4.613 MB / 350.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations_fmu --startTime=0 --stopTime=40 --stepSize=0.016 --timeout=50 --tolerance=1e-06 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: 14.567101035965607] Failed to read output from testmodel.py, exit status != 0: 11.674589893082157 11.699856884 11.588187932 Calling exit ...