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.09507/0.09507, allocations: 11.16 MB / 30.26 MB, free: 6.531 MB / 26.18 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.001832/0.001832, allocations: 96.06 kB / 37.85 MB, free: 7.953 MB / 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.002351/0.002351, allocations: 160.6 kB / 45.52 MB, free: 280 kB / 34.91 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.445/1.445, allocations: 177.2 MB / 230.2 MB, free: 8.387 MB / 206.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.147/0.147, allocations: 17.63 MB / 308.7 MB, free: 12.86 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 1.4.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 1.4.1/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: Performance of FrontEnd - loaded program: time 1.673e-06/1.673e-06, allocations: 0 / 453.6 MB, free: 3.184 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.231e-05/3.398e-05, allocations: 2.281 kB / 453.6 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003813/0.003847, allocations: 2.274 MB / 455.8 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003967/0.004244, allocations: 143.5 kB / 456 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.004346, allocations: 7.938 kB / 456 MB, free: 0.7461 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001421/0.004488, allocations: 23.78 kB / 456 MB, free: 0.7227 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001252/0.004613, allocations: 55.5 kB / 456.1 MB, free: 0.668 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001614/0.004774, allocations: 43.81 kB / 456.1 MB, free: 0.625 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.005029, allocations: 183 kB / 456.3 MB, free: 456 kB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.005203, allocations: 42.28 kB / 456.3 MB, free: 412 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001293/0.005332, allocations: 91.78 kB / 456.4 MB, free: 320 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.005453, allocations: 55.83 kB / 456.5 MB, free: 264 kB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.631e-05/0.005489, allocations: 8 kB / 456.5 MB, free: 256 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.061e-05/0.00552, allocations: 12 kB / 456.5 MB, free: 244 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.541e-05/0.005555, allocations: 23.91 kB / 456.5 MB, free: 220 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.454e-05/0.00563, allocations: 51.86 kB / 456.6 MB, free: 168 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002496/0.005879, allocations: 163.5 kB / 456.7 MB, free: 4 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.005885, allocations: 4 kB / 456.7 MB, free: 0 / 350.1 MB Notification: Performance of FrontEnd: time 8.91e-07/0.005886, allocations: 0 / 456.7 MB, free: 0 / 350.1 MB Notification: Performance of Transformations before backend: time 8.987e-06/0.005895, allocations: 0 / 456.7 MB, free: 0 / 350.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.0006019/0.006497, allocations: 364.9 kB / 457.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.433e-05/0.006541, allocations: 15.97 kB / 457.1 MB, free: 15.6 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.594e-05/0.006587, allocations: 16.84 kB / 457.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002875/0.006875, allocations: 157.5 kB / 457.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.574e-05/0.006901, allocations: 12.38 kB / 457.3 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.331e-05/0.006934, allocations: 12.38 kB / 457.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.007174, allocations: 110.2 kB / 457.4 MB, free: 15.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.095e-05/0.007205, allocations: 4.188 kB / 457.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.411e-05/0.007219, allocations: 384 / 457.4 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.986e-06/0.007228, allocations: 8.359 kB / 457.4 MB, free: 15.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.00739, allocations: 83.84 kB / 457.5 MB, free: 15.17 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006521/0.008042, allocations: 348.2 kB / 457.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.008284, allocations: 122.5 kB / 458 MB, free: 14.67 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.555e-05/0.00836, allocations: 36.86 kB / 458 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.008372, allocations: 3.984 kB / 458 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.008403, allocations: 38.5 kB / 458 MB, free: 14.58 MB / 366.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.008405, allocations: 4 kB / 458 MB, free: 14.58 MB / 366.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003175/0.008722, allocations: 125.6 kB / 458.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.008766, allocations: 59.34 kB / 458.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001535/0.008919, allocations: 153.3 kB / 458.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.199e-05/0.008941, allocations: 29.7 kB / 458.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.303e-05/0.009034, allocations: 135.6 kB / 458.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.247e-05/0.009077, allocations: 43.64 kB / 458.6 MB, free: 14.01 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.967e-05/0.009136, allocations: 29.72 kB / 458.6 MB, free: 13.97 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.009286, allocations: 322.8 kB / 458.9 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.736e-05/0.009354, allocations: 31.98 kB / 459 MB, free: 13.62 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.872e-05/0.009412, allocations: 33.42 kB / 459 MB, free: 13.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004426/0.009855, allocations: 160.7 kB / 459.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.009856, allocations: 4 kB / 459.1 MB, free: 13.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002251/0.01008, allocations: 139 kB / 459.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.0101, allocations: 4 kB / 459.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.0101, allocations: 4 kB / 459.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.01012, allocations: 0 / 459.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.01027, allocations: 31.92 kB / 459.3 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.01028, allocations: 3.938 kB / 459.3 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.01034, allocations: 7.953 kB / 459.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.01035, allocations: 4 kB / 459.3 MB, free: 13.23 MB / 366.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.0001675/0.01052, allocations: 134.3 kB / 459.5 MB, free: 13.09 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.842e-05/0.01056, allocations: 19.89 kB / 459.5 MB, free: 13.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.678e-05/0.0106, allocations: 20.77 kB / 459.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.0106, allocations: 0 / 459.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.01061, allocations: 3.938 kB / 459.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01061, allocations: 0 / 459.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.01084, allocations: 161.3 kB / 459.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.01084, allocations: 0 / 459.7 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.01098, allocations: 23.92 kB / 459.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.228e-06/0.01099, allocations: 8 kB / 459.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.011, allocations: 0 / 459.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.011, allocations: 0 / 459.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.01101, allocations: 3.938 kB / 459.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003273/0.01133, allocations: 247.3 kB / 459.9 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.063e-05/0.01136, allocations: 19.92 kB / 460 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.01138, allocations: 0 / 460 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.542e-05/0.01147, allocations: 4 kB / 460 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.017e-05/0.0115, allocations: 11.92 kB / 460 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.01151, allocations: 7.938 kB / 460 MB, free: 12.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.828e-05/0.0116, allocations: 111.2 kB / 460.1 MB, free: 12.42 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0116, allocations: 4.062 kB / 460.1 MB, free: 12.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002709/0.01187, allocations: 39.94 kB / 460.1 MB, free: 12.38 MB / 366.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.0001013/0.01197, allocations: 91.25 kB / 460.2 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000199/0.01217, allocations: 85.88 kB / 460.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.01217, allocations: 0 / 460.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.77e-05/0.01224, allocations: 36 kB / 460.3 MB, free: 12.16 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003244/0.01256, allocations: 19.98 kB / 460.4 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007017/0.01326, allocations: 318.1 kB / 460.7 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.01338, allocations: 113.9 kB / 460.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.704e-05/0.01343, allocations: 8.641 kB / 460.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.01347, allocations: 16.5 kB / 460.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.01347, allocations: 0 / 460.8 MB, free: 11.64 MB / 366.1 MB Notification: Performance of Templates: time 0.004658/0.01813, allocations: 1.271 MB / 462.1 MB, free: 10.39 MB / 366.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: 4.758973624557257] Failed to read output from testmodel.py, exit status != 0: 0.027431953698396683 0.04420969199999994 0.03492987599999994 Calling exit ...