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.06119/0.06119, allocations: 11.16 MB / 30.72 MB, free: 4.469 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.001066/0.001066, allocations: 103 kB / 38.41 MB, free: 7.016 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.001165/0.001165, allocations: 164.5 kB / 46.18 MB, free: 10.34 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.9482/0.9482, allocations: 177.1 MB / 231 MB, free: 2.094 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.2225/0.2225, allocations: 17.62 MB / 309.5 MB, free: 1.871 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: 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.693e-06/1.693e-06, allocations: 0 / 391.2 MB, free: 4.68 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.346e-05/2.516e-05, allocations: 6.25 kB / 391.2 MB, free: 4.672 MB / 346.7 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.002633/0.002658, allocations: 2.379 MB / 393.6 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004097/0.003067, allocations: 151.4 kB / 393.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.25e-05/0.00316, allocations: 0 / 393.8 MB, free: 2.133 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001314/0.003291, allocations: 27.72 kB / 393.8 MB, free: 2.105 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 9.622e-05/0.003388, allocations: 59.48 kB / 393.8 MB, free: 2.047 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001371/0.003525, allocations: 31.97 kB / 393.9 MB, free: 2.016 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.0037, allocations: 187 kB / 394.1 MB, free: 1.832 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.003842, allocations: 53.94 kB / 394.1 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/0.00393, allocations: 91.78 kB / 394.2 MB, free: 1.688 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.687e-05/0.004027, allocations: 55.81 kB / 394.2 MB, free: 1.633 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.004053, allocations: 12 kB / 394.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.943e-05/0.004072, allocations: 12 kB / 394.3 MB, free: 1.609 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.306e-05/0.004095, allocations: 23.86 kB / 394.3 MB, free: 1.586 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.86e-05/0.004144, allocations: 55.84 kB / 394.3 MB, free: 1.531 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.004313, allocations: 111.6 kB / 394.5 MB, free: 1.422 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.004316, allocations: 4 kB / 394.5 MB, free: 1.418 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004317, allocations: 0 / 394.5 MB, free: 1.418 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.004321, allocations: 0 / 394.5 MB, free: 1.418 MB / 346.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.0004255/0.004747, allocations: 475.9 kB / 394.9 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.004789, allocations: 8.031 kB / 394.9 MB, free: 0.9062 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.572e-05/0.004845, allocations: 28.78 kB / 395 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.005011, allocations: 156.4 kB / 395.1 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.005027, allocations: 8.375 kB / 395.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.00505, allocations: 16.38 kB / 395.1 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.005205, allocations: 106.8 kB / 395.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.005216, allocations: 192 / 395.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.291e-05/0.005229, allocations: 4.375 kB / 395.2 MB, free: 0.5586 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.005236, allocations: 4.375 kB / 395.3 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.441e-05/0.005311, allocations: 51.91 kB / 395.3 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.005788, allocations: 411.2 kB / 395.7 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.005945, allocations: 91.12 kB / 395.8 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.472e-05/0.00599, allocations: 31.67 kB / 395.8 MB, free: 15.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.001e-05/0.006, allocations: 8 kB / 395.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.915e-05/0.006019, allocations: 33.39 kB / 395.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.00602, allocations: 0 / 395.9 MB, free: 15.88 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002016/0.006222, allocations: 113.5 kB / 396 MB, free: 15.76 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.00625, allocations: 59.34 kB / 396 MB, free: 15.69 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001039/0.006354, allocations: 209.5 kB / 396.2 MB, free: 15.47 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.006365, allocations: 29.7 kB / 396.3 MB, free: 15.44 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.959e-05/0.006435, allocations: 174.4 kB / 396.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/0.006462, allocations: 43.58 kB / 396.5 MB, free: 15.22 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.0065, allocations: 35.33 kB / 396.5 MB, free: 15.18 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003169/0.006817, allocations: 0.4962 MB / 397 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.006854, allocations: 23.98 kB / 397 MB, free: 14.64 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.755e-05/0.006881, allocations: 19.98 kB / 397.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.006997, allocations: 90.69 kB / 397.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.006999, allocations: 0 / 397.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001207/0.00712, allocations: 120.1 kB / 397.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.007133, allocations: 4 kB / 397.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.007139, allocations: 3.984 kB / 397.3 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.007152, allocations: 4 kB / 397.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.895e-05/0.007251, allocations: 20 kB / 397.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.007258, allocations: 7.938 kB / 397.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.323e-05/0.007291, allocations: 11.89 kB / 397.3 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.007301, allocations: 11.98 kB / 397.3 MB, free: 14.35 MB / 362.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.0001219/0.007422, allocations: 165 kB / 397.5 MB, free: 14.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.073e-05/0.007443, allocations: 15.91 kB / 397.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/0.007472, allocations: 20.77 kB / 397.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.267e-06/0.007475, allocations: 4 kB / 397.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.00748, allocations: 7.938 kB / 397.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.007483, allocations: 4 kB / 397.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001394/0.007622, allocations: 172.5 kB / 397.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.007624, allocations: 0 / 397.7 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.087e-05/0.007695, allocations: 19.98 kB / 397.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.007697, allocations: 0 / 397.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.007712, allocations: 4 kB / 397.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.007713, allocations: 0 / 397.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.007714, allocations: 0 / 397.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.007915, allocations: 267.7 kB / 398 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.937e-05/0.007935, allocations: 15.89 kB / 398 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.007952, allocations: 8 kB / 398 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.007989, allocations: 4.031 kB / 398 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.096e-05/0.008009, allocations: 7.984 kB / 398 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.338e-06/0.008014, allocations: 3.938 kB / 398 MB, free: 13.59 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.586e-05/0.00807, allocations: 151.2 kB / 398.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00807, allocations: 0 / 398.2 MB, free: 13.44 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001635/0.008233, allocations: 36 kB / 398.2 MB, free: 13.4 MB / 362.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 8.111e-05/0.008314, allocations: 99.11 kB / 398.3 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001293/0.008444, allocations: 67.66 kB / 398.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.008445, allocations: 0 / 398.4 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.797e-05/0.008483, allocations: 47.55 kB / 398.4 MB, free: 13.17 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002131/0.008697, allocations: 33.3 kB / 398.5 MB, free: 13.14 MB / 362.7 MB Error: Error parsing unit %: Parse error Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007595/0.009456, allocations: 334.6 kB / 398.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.775e-05/0.009504, allocations: 71.77 kB / 398.8 MB, free: 12.7 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.676e-05/0.009541, allocations: 12.64 kB / 398.9 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.246e-05/0.009573, allocations: 12.5 kB / 398.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of SimCode: time 8.82e-07/0.009574, allocations: 4 kB / 398.9 MB, free: 12.67 MB / 362.7 MB Notification: Performance of Templates: time 0.003074/0.01265, allocations: 1.328 MB / 400.2 MB, free: 11.36 MB / 362.7 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=240 -lv LOG_STATS > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 2.9821309191174805]