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 1.4.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo): time 0.05309/0.05309, allocations: 11.15 MB / 30.25 MB, free: 5.074 MB / 24.77 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.0007007/0.0007007, allocations: 96.78 kB / 37.83 MB, free: 7.473 MB / 33.03 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.0008748/0.0008748, allocations: 156.6 kB / 45.51 MB, free: 10.92 MB / 44.04 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 0.8679/0.8679, allocations: 177.1 MB / 230.2 MB, free: 6.578 MB / 202.7 MB " [Timeout remaining time 179] 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.2134/0.2134, allocations: 17.62 MB / 308.7 MB, free: 1.738 MB / 266.7 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 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/package.mo) Running command: "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Physiolibrary.Population.Examples.PredatorPrey,fileNamePrefix="Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.714e-06/1.714e-06, allocations: 0 / 453.1 MB, free: 6.059 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.409e-05, allocations: 2.281 kB / 453.1 MB, free: 6.055 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.002711/0.002735, allocations: 2.269 MB / 455.4 MB, free: 3.773 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003858/0.003121, allocations: 151.4 kB / 455.5 MB, free: 3.625 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.608e-05/0.003217, allocations: 4 kB / 455.5 MB, free: 3.621 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001247/0.003342, allocations: 19.73 kB / 455.5 MB, free: 3.602 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.692e-05/0.003439, allocations: 59.48 kB / 455.6 MB, free: 3.543 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000142/0.003581, allocations: 35.95 kB / 455.6 MB, free: 3.508 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001847/0.003765, allocations: 190.9 kB / 455.8 MB, free: 3.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001539/0.003919, allocations: 46.28 kB / 455.9 MB, free: 3.273 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.131e-05/0.004011, allocations: 91.8 kB / 455.9 MB, free: 3.184 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.956e-05/0.0041, allocations: 43.88 kB / 456 MB, free: 3.141 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.754e-05/0.004128, allocations: 12 kB / 456 MB, free: 3.129 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.004145, allocations: 15.94 kB / 456 MB, free: 3.113 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.004168, allocations: 23.92 kB / 456 MB, free: 3.09 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.771e-05/0.004216, allocations: 55.83 kB / 456.1 MB, free: 3.035 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.00441, allocations: 163.5 kB / 456.2 MB, free: 2.875 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.004414, allocations: 0 / 456.2 MB, free: 2.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.004415, allocations: 0 / 456.2 MB, free: 2.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.19e-06/0.004421, allocations: 0 / 456.2 MB, free: 2.875 MB / 410.7 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.0004365/0.004857, allocations: 369.7 kB / 456.6 MB, free: 2.48 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.004901, allocations: 11.97 kB / 456.6 MB, free: 2.469 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.94e-05/0.00494, allocations: 42.75 kB / 456.7 MB, free: 2.418 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.317e-05/0.004973, allocations: 20.83 kB / 456.7 MB, free: 2.398 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.005178, allocations: 153.5 kB / 456.8 MB, free: 2.223 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.005194, allocations: 8.375 kB / 456.8 MB, free: 2.215 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.317e-05/0.005218, allocations: 12.38 kB / 456.9 MB, free: 2.203 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.005393, allocations: 110.2 kB / 457 MB, free: 2.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.123e-05/0.005404, allocations: 4.188 kB / 457 MB, free: 2.086 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.601e-05/0.00542, allocations: 8.375 kB / 457 MB, free: 2.078 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.005426, allocations: 4.125 kB / 457 MB, free: 2.074 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001042/0.00553, allocations: 75.95 kB / 457.1 MB, free: 2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005032/0.006034, allocations: 387.6 kB / 457.4 MB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001649/0.006198, allocations: 106.5 kB / 457.5 MB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.29e-05/0.006251, allocations: 44.94 kB / 457.6 MB, free: 1.418 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.006261, allocations: 4 kB / 457.6 MB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.944e-05/0.00628, allocations: 34.56 kB / 457.6 MB, free: 1.371 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.072e-06/0.006281, allocations: 0 / 457.6 MB, free: 1.371 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002395/0.006521, allocations: 133.6 kB / 457.7 MB, free: 1.234 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.072e-05/0.006551, allocations: 51.41 kB / 457.8 MB, free: 1.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.006662, allocations: 165.3 kB / 458 MB, free: 1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.006675, allocations: 25.7 kB / 458 MB, free: 0.9688 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/0.006738, allocations: 135.7 kB / 458.1 MB, free: 0.832 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.87e-05/0.006767, allocations: 43.64 kB / 458.2 MB, free: 0.7891 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-05/0.006808, allocations: 33.7 kB / 458.2 MB, free: 0.75 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.013e-05/0.006888, allocations: 322.8 kB / 458.5 MB, free: 436 kB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.435e-05/0.006933, allocations: 31.98 kB / 458.5 MB, free: 404 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.956e-05/0.006972, allocations: 39.92 kB / 458.6 MB, free: 364 kB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002943/0.007267, allocations: 158.2 kB / 458.7 MB, free: 208 kB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.007269, allocations: 0 / 458.7 MB, free: 208 kB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004605/0.00773, allocations: 137.4 kB / 458.9 MB, free: 64 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.007745, allocations: 4 kB / 458.9 MB, free: 60 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.007751, allocations: 0 / 458.9 MB, free: 60 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.945e-05/0.007771, allocations: 7.938 kB / 458.9 MB, free: 52 kB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.007874, allocations: 23.98 kB / 458.9 MB, free: 28 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.007881, allocations: 4 kB / 458.9 MB, free: 24 kB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.922e-05/0.00792, allocations: 7.953 kB / 458.9 MB, free: 16 kB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.007928, allocations: 8 kB / 458.9 MB, free: 8 kB / 410.7 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.1764/0.1844, allocations: 126.9 kB / 459 MB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.872e-05/0.1844, allocations: 11.66 kB / 459.1 MB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.814e-05/0.1844, allocations: 21.83 kB / 459.1 MB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1844, allocations: 4.438 kB / 459.1 MB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.66e-06/0.1844, allocations: 0 / 459.1 MB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.1844, allocations: 2.906 kB / 459.1 MB, free: 51.45 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.1846, allocations: 194 kB / 459.3 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.1846, allocations: 5.5 kB / 459.3 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.425e-05/0.1847, allocations: 17.94 kB / 459.3 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.1847, allocations: 0 / 459.3 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.748e-06/0.1847, allocations: 5.234 kB / 459.3 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.1847, allocations: 2.906 kB / 459.3 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.1847, allocations: 2.906 kB / 459.3 MB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002152/0.1849, allocations: 249.3 kB / 459.5 MB, free: 51.17 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.244e-05/0.185, allocations: 15.31 kB / 459.6 MB, free: 51.17 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.575e-05/0.185, allocations: 2.219 kB / 459.6 MB, free: 51.17 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.234e-05/0.185, allocations: 1.688 kB / 459.6 MB, free: 51.17 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.684e-05/0.185, allocations: 12.27 kB / 459.6 MB, free: 51.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.185, allocations: 4.031 kB / 459.6 MB, free: 51.16 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.111e-05/0.1851, allocations: 119.5 kB / 459.7 MB, free: 51.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1851, allocations: 0 / 459.7 MB, free: 51.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001745/0.1853, allocations: 44.11 kB / 459.7 MB, free: 51.09 MB / 410.7 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.0002578/0.1855, allocations: 0.7683 MB / 460.5 MB, free: 50.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.1856, allocations: 80.94 kB / 460.6 MB, free: 50.43 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1857, allocations: 0 / 460.6 MB, free: 50.43 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.446e-05/0.1857, allocations: 41.91 kB / 460.6 MB, free: 50.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.1859, allocations: 25.2 kB / 460.7 MB, free: 50.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.1869, allocations: 1.747 MB / 462.4 MB, free: 49.17 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.873e-05/0.187, allocations: 98.7 kB / 462.5 MB, free: 49.1 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 3.677e-05/0.187, allocations: 13.33 kB / 462.5 MB, free: 49.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.073e-05/0.1871, allocations: 39.2 kB / 462.6 MB, free: 49.07 MB / 410.7 MB Notification: Performance of SimCode: time 6.22e-07/0.1871, allocations: 0 / 462.6 MB, free: 49.07 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.205, allocations: 3.745 MB / 466.3 MB, free: 48 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.371, allocations: 7.109 kB / 466.3 MB, free: 48 MB / 410.7 MB " [Timeout remaining time 653] (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: 9.27950576134026] Failed to read output from testmodel.py, exit status != 0: 7.453832871280611 7.462395763 7.455874233 Calling exit ...