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.169/0.169, allocations: 23.86 MB / 43.45 MB, free: 2.664 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.001353/0.001353, allocations: 101.7 kB / 53.14 MB, free: 368 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.001645/0.001645, allocations: 206.3 kB / 62.97 MB, free: 2.172 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.509/1.509, allocations: 230.6 MB / 303.2 MB, free: 6.844 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.1724/0.1724, allocations: 23.71 MB / 389.9 MB, free: 9.184 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: translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") [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.003558/0.003558, allocations: 121.8 kB / 0.5264 GB, free: 42.36 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1309/0.1345, allocations: 65.97 MB / 0.5908 GB, free: 9.461 MB / 414.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003861/0.1383, allocations: 2.341 MB / 0.5931 GB, free: 7.105 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003655/0.1387, allocations: 147.5 kB / 0.5933 GB, free: 6.961 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.1388, allocations: 7.938 kB / 0.5933 GB, free: 6.953 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.1389, allocations: 23.72 kB / 0.5933 GB, free: 6.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001097/0.139, allocations: 51.56 kB / 0.5933 GB, free: 6.879 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.1392, allocations: 47.88 kB / 0.5934 GB, free: 6.832 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002478/0.1394, allocations: 175.1 kB / 0.5935 GB, free: 6.66 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000145/0.1396, allocations: 42.17 kB / 0.5936 GB, free: 6.621 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.795e-05/0.1397, allocations: 63.72 kB / 0.5936 GB, free: 6.559 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.1398, allocations: 71.69 kB / 0.5937 GB, free: 6.488 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.441e-05/0.1398, allocations: 12 kB / 0.5937 GB, free: 6.477 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.938e-05/0.1399, allocations: 12 kB / 0.5937 GB, free: 6.465 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 2.883e-05/0.1399, allocations: 23.86 kB / 0.5938 GB, free: 6.441 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.257e-05/0.14, allocations: 75.67 kB / 0.5938 GB, free: 6.367 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.1402, allocations: 163.2 kB / 0.594 GB, free: 6.207 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1402, allocations: 0 / 0.594 GB, free: 6.207 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.1402, allocations: 8 kB / 0.594 GB, free: 6.199 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.1402, allocations: 0 / 0.594 GB, free: 6.199 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.0005765/0.1408, allocations: 357.7 kB / 0.5943 GB, free: 5.816 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1409, allocations: 12.03 kB / 0.5944 GB, free: 5.805 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.1409, allocations: 24.73 kB / 0.5944 GB, free: 5.781 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1412, allocations: 165 kB / 0.5945 GB, free: 5.598 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.1412, allocations: 8.375 kB / 0.5945 GB, free: 5.59 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.675e-05/0.1412, allocations: 16.38 kB / 0.5946 GB, free: 5.574 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.1415, allocations: 110.2 kB / 0.5947 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1415, allocations: 192 / 0.5947 GB, free: 5.461 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.1415, allocations: 7.938 kB / 0.5947 GB, free: 5.453 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.1415, allocations: 4 kB / 0.5947 GB, free: 5.449 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001565/0.1416, allocations: 76.45 kB / 0.5947 GB, free: 5.375 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006636/0.1423, allocations: 403.5 kB / 0.5951 GB, free: 4.938 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002201/0.1425, allocations: 110.6 kB / 0.5952 GB, free: 4.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.044e-05/0.1426, allocations: 48.84 kB / 0.5953 GB, free: 4.77 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.1426, allocations: 4 kB / 0.5953 GB, free: 4.766 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.915e-05/0.1427, allocations: 38.48 kB / 0.5953 GB, free: 4.719 MB / 414.1 MB Notification: Performance of pre-optimization done (n=12): time 1.102e-06/0.1427, allocations: 0 / 0.5953 GB, free: 4.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0002979/0.143, allocations: 129.8 kB / 0.5954 GB, free: 4.586 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.143, allocations: 63.39 kB / 0.5955 GB, free: 4.512 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1431, allocations: 155.4 kB / 0.5957 GB, free: 4.352 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.1432, allocations: 25.7 kB / 0.5957 GB, free: 4.32 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.212e-05/0.1433, allocations: 127.9 kB / 0.5958 GB, free: 4.191 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.032e-05/0.1433, allocations: 43.64 kB / 0.5958 GB, free: 4.148 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.212e-05/0.1433, allocations: 25.72 kB / 0.5959 GB, free: 4.117 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001487/0.1435, allocations: 322.8 kB / 0.5962 GB, free: 3.793 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.512e-05/0.1436, allocations: 35.92 kB / 0.5962 GB, free: 3.758 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.922e-05/0.1436, allocations: 43.92 kB / 0.5963 GB, free: 3.715 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004008/0.144, allocations: 151.7 kB / 0.5964 GB, free: 3.566 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.144, allocations: 0 / 0.5964 GB, free: 3.566 MB / 414.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002247/0.1443, allocations: 137.5 kB / 0.5965 GB, free: 3.426 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.1443, allocations: 14.75 kB / 0.5965 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1443, allocations: 0 / 0.5965 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.1443, allocations: 0 / 0.5965 GB, free: 3.414 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001467/0.1444, allocations: 35.97 kB / 0.5966 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.648e-06/0.1444, allocations: 0 / 0.5966 GB, free: 3.379 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.448e-05/0.1445, allocations: 19.83 kB / 0.5966 GB, free: 3.359 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1445, allocations: 4 kB / 0.5966 GB, free: 3.355 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.0001753/0.1447, allocations: 130.3 kB / 0.5967 GB, free: 3.219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.498e-05/0.1447, allocations: 11.89 kB / 0.5967 GB, free: 3.207 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.406e-05/0.1448, allocations: 20.66 kB / 0.5968 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1448, allocations: 0 / 0.5968 GB, free: 3.184 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1448, allocations: 4 kB / 0.5968 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.1448, allocations: 0 / 0.5968 GB, free: 3.18 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002848/0.1451, allocations: 208.6 kB / 0.597 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1451, allocations: 0 / 0.597 GB, free: 2.934 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.1452, allocations: 23.92 kB / 0.597 GB, free: 2.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.868e-06/0.1452, allocations: 3.938 kB / 0.597 GB, free: 2.906 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.1452, allocations: 4 kB / 0.597 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.1452, allocations: 0 / 0.597 GB, free: 2.902 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.1452, allocations: 4 kB / 0.597 GB, free: 2.898 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.1455, allocations: 246.8 kB / 0.5972 GB, free: 2.645 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.144e-05/0.1456, allocations: 23.75 kB / 0.5972 GB, free: 2.621 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.1456, allocations: 8 kB / 0.5973 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.977e-05/0.1457, allocations: 0 / 0.5973 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.475e-05/0.1457, allocations: 7.984 kB / 0.5973 GB, free: 2.605 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.1457, allocations: 4 kB / 0.5973 GB, free: 2.602 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001018/0.1458, allocations: 118.9 kB / 0.5974 GB, free: 2.488 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1458, allocations: 0 / 0.5974 GB, free: 2.488 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002615/0.1461, allocations: 39.95 kB / 0.5974 GB, free: 2.449 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 9.699e-05/0.1462, allocations: 95.25 kB / 0.5975 GB, free: 2.348 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001953/0.1464, allocations: 79.97 kB / 0.5976 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1464, allocations: 0 / 0.5976 GB, free: 2.27 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.69e-05/0.1464, allocations: 39.92 kB / 0.5976 GB, free: 2.23 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002941/0.1467, allocations: 20.19 kB / 0.5976 GB, free: 2.211 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007186/0.1474, allocations: 415.6 kB / 0.598 GB, free: 1.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003613/0.1478, allocations: 0.7163 MB / 0.5987 GB, free: 1.027 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.531e-05/0.1478, allocations: 19.38 kB / 0.5988 GB, free: 1.012 MB / 414.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1478, allocations: 0 / 0.5988 GB, free: 1.012 MB / 414.1 MB Notification: Performance of Templates: time 0.003556/0.1514, allocations: 1.641 MB / 0.6004 GB, free: 15.38 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.makefile [Timeout 660] (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 & ./Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey -abortSlowSimulation -alarm=480 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.64030192582868] Failed to read output from testmodel.py, exit status != 0: 0.15887093008495867 0.17459771299999996 0.031221651000000003 Calling exit ...