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.001771/0.001771, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00142/0.00142, allocations: 214.7 kB / 23.04 MB, free: 5.074 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.395/1.395, allocations: 207.6 MB / 233.8 MB, free: 9.98 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.07059/0.07059, allocations: 8.199 MB / 294.3 MB, free: 13.65 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="cs",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.002179/0.002179, allocations: 71.8 kB / 411.2 MB, free: 46.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08676/0.08894, allocations: 50.94 MB / 462.1 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002486/0.09142, allocations: 1.213 MB / 463.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006662/0.09209, allocations: 390.6 kB / 463.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001141/0.0922, allocations: 4 kB / 463.7 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.09232, allocations: 51.38 kB / 463.8 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001721/0.09249, allocations: 55.42 kB / 463.8 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002842/0.09277, allocations: 143.8 kB / 464 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004609/0.09324, allocations: 395.1 kB / 464.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003417/0.09358, allocations: 181.4 kB / 464.5 MB, free: 11.07 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001815/0.09376, allocations: 175.2 kB / 464.7 MB, free: 10.9 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002376/0.094, allocations: 195 kB / 464.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.773e-05/0.09408, allocations: 60 kB / 465 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.129e-05/0.09416, allocations: 56 kB / 465 MB, free: 10.6 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001224/0.09428, allocations: 119.6 kB / 465.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002104/0.09449, allocations: 222.8 kB / 465.4 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006083/0.0951, allocations: 0.5841 MB / 465.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.0951, allocations: 0 / 465.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.353e-06/0.0951, allocations: 0 / 465.9 MB, free: 9.676 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.09511, allocations: 0 / 465.9 MB, free: 9.676 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.001106/0.09622, allocations: 0.665 MB / 466.6 MB, free: 8.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.105e-05/0.09627, allocations: 15.98 kB / 466.6 MB, free: 8.961 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.538e-05/0.09629, allocations: 13.12 kB / 466.6 MB, free: 8.949 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.636e-05/0.09639, allocations: 78.72 kB / 466.7 MB, free: 8.863 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.292e-05/0.09648, allocations: 56.59 kB / 466.8 MB, free: 8.809 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.09688, allocations: 277.2 kB / 467 MB, free: 8.512 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.849e-05/0.09691, allocations: 33.38 kB / 467.1 MB, free: 8.48 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.374e-05/0.09699, allocations: 44.38 kB / 467.1 MB, free: 8.438 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000707/0.09769, allocations: 438.1 kB / 467.5 MB, free: 7.992 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.537e-05/0.09772, allocations: 7.953 kB / 467.5 MB, free: 7.984 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.09776, allocations: 16 kB / 467.6 MB, free: 7.969 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.444e-05/0.09779, allocations: 8 kB / 467.6 MB, free: 7.961 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004646/0.09825, allocations: 263.8 kB / 467.8 MB, free: 7.703 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002111/0.1004, allocations: 1.389 MB / 469.2 MB, free: 6.258 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000592/0.101, allocations: 334.2 kB / 469.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002281/0.1012, allocations: 159.9 kB / 469.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.346e-05/0.1012, allocations: 7.984 kB / 469.7 MB, free: 5.719 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.114e-05/0.1013, allocations: 42.56 kB / 469.8 MB, free: 5.668 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.904e-06/0.1013, allocations: 0 / 469.8 MB, free: 5.668 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006977/0.102, allocations: 353.3 kB / 470.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.1021, allocations: 136.5 kB / 470.2 MB, free: 5.152 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003067/0.1024, allocations: 272.1 kB / 470.5 MB, free: 4.879 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.871e-05/0.1024, allocations: 37.7 kB / 470.5 MB, free: 4.836 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.1026, allocations: 236.5 kB / 470.8 MB, free: 4.598 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001082/0.1027, allocations: 126.9 kB / 470.9 MB, free: 4.473 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.1028, allocations: 70.09 kB / 471 MB, free: 4.398 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.103, allocations: 342.8 kB / 471.3 MB, free: 4.055 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001641/0.1031, allocations: 92.84 kB / 471.4 MB, free: 3.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002455/0.1034, allocations: 198.6 kB / 471.6 MB, free: 3.73 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004208/0.1038, allocations: 302 kB / 471.9 MB, free: 3.398 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.1038, allocations: 4 kB / 471.9 MB, free: 3.395 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005665/0.1044, allocations: 365.3 kB / 472.2 MB, free: 3.031 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.1044, allocations: 12.06 kB / 472.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1044, allocations: 0 / 472.2 MB, free: 3.02 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.1044, allocations: 7.984 kB / 472.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003501/0.1048, allocations: 87.89 kB / 472.3 MB, free: 2.926 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.69e-05/0.1048, allocations: 15.88 kB / 472.4 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001317/0.1049, allocations: 27.78 kB / 472.4 MB, free: 2.883 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.37e-05/0.105, allocations: 12 kB / 472.4 MB, free: 2.871 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.000199/0.1052, allocations: 173.8 kB / 472.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001172/0.1053, allocations: 35.77 kB / 472.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.955e-05/0.1054, allocations: 41.73 kB / 472.6 MB, free: 2.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.1054, allocations: 4 kB / 472.6 MB, free: 2.613 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.1054, allocations: 3.938 kB / 472.6 MB, free: 2.609 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.1054, allocations: 7.984 kB / 472.7 MB, free: 2.602 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007019/0.1061, allocations: 428.3 kB / 473.1 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.1061, allocations: 0 / 473.1 MB, free: 2.141 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003153/0.1064, allocations: 63.84 kB / 473.1 MB, free: 2.078 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.1064, allocations: 8 kB / 473.1 MB, free: 2.07 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.622e-05/0.1064, allocations: 12 kB / 473.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.042e-06/0.1064, allocations: 3.984 kB / 473.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.862e-06/0.1065, allocations: 7.875 kB / 473.2 MB, free: 2.047 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007918/0.1072, allocations: 0.7021 MB / 473.9 MB, free: 1.324 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.374e-05/0.1073, allocations: 31.75 kB / 473.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.858e-05/0.1073, allocations: 8 kB / 473.9 MB, free: 1.285 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.1076, allocations: 15.94 kB / 473.9 MB, free: 1.27 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1076, allocations: 19.95 kB / 473.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.488e-05/0.1076, allocations: 12 kB / 473.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001847/0.1078, allocations: 191.1 kB / 474.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1078, allocations: 3.938 kB / 474.1 MB, free: 1.047 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000453/0.1083, allocations: 87.67 kB / 474.2 MB, free: 0.9609 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.001106/0.1094, allocations: 1.25 MB / 475.5 MB, free: 15.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004204/0.1098, allocations: 253 kB / 475.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.1098, allocations: 8.125 kB / 475.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000173/0.11, allocations: 119.8 kB / 475.8 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007526/0.1107, allocations: 68.17 kB / 475.9 MB, free: 15.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004101/0.1148, allocations: 3.399 MB / 479.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.1153, allocations: 0.8035 MB / 480.1 MB, free: 10.85 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001373/0.1154, allocations: 34.95 kB / 480.2 MB, free: 10.81 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.1156, allocations: 127.4 kB / 480.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of SimCode: time 6.01e-07/0.1156, allocations: 0 / 480.3 MB, free: 10.69 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.1432, allocations: 6.197 MB / 486.5 MB, free: 4.57 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.38, allocations: 19.97 kB / 486.5 MB, free: 4.551 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.095781766111031] Failed to read output from testmodel.py, exit status != 0: 11.543836798984557 11.570627277 11.47079671 Calling exit ...