Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.1729/0.1729, allocations: 23.88 MB / 43.52 MB, free: 2.578 MB / 34.91 MB " [Timeout remaining time 180] 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.001339/0.001339, allocations: 111.6 kB / 53.2 MB, free: 244 kB / 34.91 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.001658/0.001658, allocations: 226.2 kB / 63.01 MB, free: 2.07 MB / 46.55 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.563/1.563, allocations: 230.6 MB / 303.3 MB, free: 6.969 MB / 222.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo): time 0.1639/0.1639, allocations: 23.74 MB / 389.9 MB, free: 8.949 MB / 286.1 MB " [Timeout remaining time 180] Using package Physiolibrary with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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) Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Chemical requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Physiolibrary requested package Complex of version 4.0.0. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Warning: Physiolibrary requested package Chemical of version 1.4.0. Chemical 2.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(Physiolibrary, Chemical, \"2.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.005085/0.005085, allocations: 117.1 kB / 0.5259 GB, free: 42.33 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1775, allocations: 65.98 MB / 0.5903 GB, free: 9.727 MB / 414.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.004384/0.1819, allocations: 2.263 MB / 0.5925 GB, free: 7.453 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003961/0.1823, allocations: 143.5 kB / 0.5927 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.876e-05/0.1824, allocations: 4 kB / 0.5927 GB, free: 7.309 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.1826, allocations: 27.72 kB / 0.5927 GB, free: 7.281 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001217/0.1827, allocations: 55.48 kB / 0.5927 GB, free: 7.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001628/0.1829, allocations: 35.95 kB / 0.5928 GB, free: 7.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002932/0.1831, allocations: 175.1 kB / 0.5929 GB, free: 7.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.1833, allocations: 50.42 kB / 0.593 GB, free: 6.973 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.758e-05/0.1834, allocations: 59.84 kB / 0.593 GB, free: 6.914 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.1835, allocations: 75.58 kB / 0.5931 GB, free: 6.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.894e-05/0.1836, allocations: 12 kB / 0.5931 GB, free: 6.828 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.093e-05/0.1836, allocations: 12 kB / 0.5931 GB, free: 6.816 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 3.733e-05/0.1836, allocations: 27.91 kB / 0.5932 GB, free: 6.789 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.5e-05/0.1837, allocations: 63.73 kB / 0.5932 GB, free: 6.727 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002632/0.184, allocations: 159.2 kB / 0.5934 GB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.184, allocations: 0 / 0.5934 GB, free: 6.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.184, allocations: 0 / 0.5934 GB, free: 6.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.184, allocations: 0 / 0.5934 GB, free: 6.57 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.0006658/0.1847, allocations: 365.7 kB / 0.5937 GB, free: 6.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.449e-05/0.1847, allocations: 12.03 kB / 0.5937 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.476e-05/0.1847, allocations: 192 / 0.5937 GB, free: 6.168 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.661e-05/0.1848, allocations: 46.73 kB / 0.5938 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.287e-05/0.1848, allocations: 20.8 kB / 0.5938 GB, free: 6.094 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003036/0.1851, allocations: 162.2 kB / 0.594 GB, free: 5.91 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.974e-05/0.1852, allocations: 12.38 kB / 0.594 GB, free: 5.898 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.1852, allocations: 16.31 kB / 0.594 GB, free: 5.883 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002711/0.1855, allocations: 118.5 kB / 0.5941 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.1855, allocations: 0 / 0.5941 GB, free: 5.762 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.1855, allocations: 8 kB / 0.5941 GB, free: 5.754 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1855, allocations: 4 kB / 0.5941 GB, free: 5.75 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.1857, allocations: 75.91 kB / 0.5942 GB, free: 5.676 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007225/0.1864, allocations: 387.6 kB / 0.5946 GB, free: 5.254 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002502/0.1866, allocations: 102.6 kB / 0.5947 GB, free: 5.145 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.714e-05/0.1867, allocations: 44.84 kB / 0.5947 GB, free: 5.098 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.251e-05/0.1867, allocations: 3.938 kB / 0.5947 GB, free: 5.094 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.1868, allocations: 34.56 kB / 0.5947 GB, free: 5.051 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.1868, allocations: 4 kB / 0.5947 GB, free: 5.047 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003393/0.1871, allocations: 137.5 kB / 0.5949 GB, free: 4.906 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.933e-05/0.1872, allocations: 55.41 kB / 0.5949 GB, free: 4.84 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001767/0.1873, allocations: 155.7 kB / 0.5951 GB, free: 4.68 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.358e-05/0.1874, allocations: 29.7 kB / 0.5951 GB, free: 4.645 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.585e-05/0.1874, allocations: 119.9 kB / 0.5952 GB, free: 4.523 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.1875, allocations: 47.64 kB / 0.5953 GB, free: 4.477 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.924e-05/0.1876, allocations: 29.7 kB / 0.5953 GB, free: 4.441 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1877, allocations: 322.8 kB / 0.5956 GB, free: 4.117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.666e-05/0.1878, allocations: 28 kB / 0.5956 GB, free: 4.09 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.358e-05/0.1879, allocations: 39.02 kB / 0.5957 GB, free: 4.055 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004636/0.1883, allocations: 151.8 kB / 0.5958 GB, free: 3.906 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.1883, allocations: 0 / 0.5958 GB, free: 3.906 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002368/0.1886, allocations: 149.4 kB / 0.5959 GB, free: 3.754 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1886, allocations: 8 kB / 0.596 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.1886, allocations: 0 / 0.596 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.1886, allocations: 0 / 0.596 GB, free: 3.746 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000154/0.1888, allocations: 27.98 kB / 0.596 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1888, allocations: 0 / 0.596 GB, free: 3.719 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.333e-05/0.1888, allocations: 11.89 kB / 0.596 GB, free: 3.707 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.776e-05/0.1888, allocations: 12 kB / 0.596 GB, free: 3.695 MB / 414.1 MB Warning: Assuming fixed start value for the following 2 variables: predator.population:VARIABLE(flow=false min = 0.0 start = predator.population_start unit = \"1\" fixed = true nominal = predator.NominalPopulation ) type: Real prey.population:VARIABLE(flow=false min = 0.0 start = prey.population_start unit = \"1\" fixed = true nominal = prey.NominalPopulation ) type: Real 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 0.000229/0.1891, allocations: 143.6 kB / 0.5961 GB, free: 3.551 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.1891, allocations: 15.88 kB / 0.5962 GB, free: 3.535 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.1892, allocations: 16.72 kB / 0.5962 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1892, allocations: 0 / 0.5962 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1892, allocations: 0 / 0.5962 GB, free: 3.52 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1892, allocations: 7.922 kB / 0.5962 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002879/0.1895, allocations: 192.7 kB / 0.5964 GB, free: 3.281 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.1895, allocations: 3.938 kB / 0.5964 GB, free: 3.277 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.1896, allocations: 23.98 kB / 0.5964 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1896, allocations: 0 / 0.5964 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1896, allocations: 7.938 kB / 0.5964 GB, free: 3.246 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1896, allocations: 4 kB / 0.5964 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1896, allocations: 0 / 0.5964 GB, free: 3.242 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003521/0.19, allocations: 235.9 kB / 0.5966 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.54e-05/0.19, allocations: 23.8 kB / 0.5966 GB, free: 2.973 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.19, allocations: 8 kB / 0.5967 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.821e-05/0.1901, allocations: 0 / 0.5967 GB, free: 2.965 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.602e-05/0.1901, allocations: 7.922 kB / 0.5967 GB, free: 2.957 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.1902, allocations: 12.06 kB / 0.5967 GB, free: 2.945 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001129/0.1903, allocations: 111.2 kB / 0.5968 GB, free: 2.836 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1903, allocations: 0 / 0.5968 GB, free: 2.836 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002667/0.1905, allocations: 39.95 kB / 0.5968 GB, free: 2.797 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (predator.population,prey.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 (12): * Single equations (assignments): 12 * 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.0007171/0.1912, allocations: 0.7783 MB / 0.5976 GB, free: 1.996 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002268/0.1915, allocations: 83.84 kB / 0.5977 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1915, allocations: 0 / 0.5977 GB, free: 1.914 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.028e-05/0.1915, allocations: 39.98 kB / 0.5977 GB, free: 1.875 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.1919, allocations: 32.05 kB / 0.5977 GB, free: 1.844 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.194, allocations: 1.76 MB / 0.5994 GB, free: 0 / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.1941, allocations: 106 kB / 0.5995 GB, free: 15.88 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.288e-05/0.1942, allocations: 12.66 kB / 0.5996 GB, free: 15.87 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.464e-05/0.1942, allocations: 35.42 kB / 0.5996 GB, free: 15.83 MB / 430.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1942, allocations: 4 kB / 0.5996 GB, free: 15.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02464/0.2189, allocations: 3.231 MB / 0.6028 GB, free: 12.75 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.9, allocations: 0 / 0.6028 GB, free: 12.75 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; mkfifo Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe ; head -c 1048576 < Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe >> ../files/Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey.fmu > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.424427708028816] Failed to read output from testmodel.py, exit status != 0: 12.065527203958482 12.082372237 11.895052917 Calling exit ...