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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo", uses=false) Using package Physiolibrary with version 3.0.0-beta1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") translateModel(Physiolibrary.Population.Examples.PredatorPrey,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007773/0.007773, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 223.2 MB / 239 MB, free: 1.812 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008699/0.0008698, allocations: 102.7 kB / 290.2 MB, free: 13.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.2705/0.2705, allocations: 37.07 MB / 378.4 MB, free: 5.734 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003822, allocations: 8 kB / 449 MB, free: 61.72 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.1259, allocations: 60.07 MB / 0.4971 GB, free: 1.598 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3843/0.5102, allocations: 90.75 MB / 0.5857 GB, free: 12.08 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001729/0.5105, allocations: 67.09 kB / 0.5858 GB, free: 12.05 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006045/0.5165, allocations: 2.464 MB / 0.5882 GB, free: 9.938 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.5165, allocations: 6.953 kB / 0.5882 GB, free: 9.934 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.5166, allocations: 4 kB / 0.5882 GB, free: 9.93 MB / 394.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.0004483/0.517, allocations: 409 kB / 0.5886 GB, free: 9.492 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.5171, allocations: 12.02 kB / 0.5886 GB, free: 9.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.5171, allocations: 15.81 kB / 0.5886 GB, free: 9.465 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.5173, allocations: 221.4 kB / 0.5888 GB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.5173, allocations: 11.62 kB / 0.5889 GB, free: 9.211 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.5174, allocations: 15.34 kB / 0.5889 GB, free: 9.199 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000207/0.5176, allocations: 111.2 kB / 0.589 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.5176, allocations: 0 / 0.589 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/0.5176, allocations: 7.5 kB / 0.589 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.5176, allocations: 0 / 0.589 GB, free: 9.109 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.5178, allocations: 84.58 kB / 0.5891 GB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.5184, allocations: 454.1 kB / 0.5895 GB, free: 8.625 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.5185, allocations: 109.3 kB / 0.5896 GB, free: 8.543 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.5186, allocations: 4 kB / 0.5896 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.063e-05/0.5186, allocations: 38.44 kB / 0.5896 GB, free: 8.492 MB / 394.7 MB Notification: Performance of pre-optimization done (n=12): time 1.142e-06/0.5186, allocations: 0 / 0.5896 GB, free: 8.492 MB / 394.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002524/0.5188, allocations: 128.8 kB / 0.5898 GB, free: 8.391 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.5189, allocations: 62.53 kB / 0.5898 GB, free: 8.32 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.519, allocations: 133.6 kB / 0.59 GB, free: 8.191 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.519, allocations: 29.2 kB / 0.59 GB, free: 8.16 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.958e-05/0.5191, allocations: 128.8 kB / 0.5901 GB, free: 8.043 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.5191, allocations: 41.08 kB / 0.5901 GB, free: 8.008 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.458e-06/0.5192, allocations: 0 / 0.5901 GB, free: 8.008 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5193, allocations: 325.8 kB / 0.5905 GB, free: 7.688 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.325e-05/0.5193, allocations: 29.86 kB / 0.5905 GB, free: 7.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.766e-05/0.5194, allocations: 34.67 kB / 0.5905 GB, free: 7.645 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.744e-05/0.5195, allocations: 41.34 kB / 0.5906 GB, free: 7.621 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.5195, allocations: 3.938 kB / 0.5906 GB, free: 7.617 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0001751/0.5196, allocations: 130.2 kB / 0.5907 GB, free: 7.516 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5197, allocations: 4 kB / 0.5907 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.5197, allocations: 0 / 0.5907 GB, free: 7.512 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.5197, allocations: 7.984 kB / 0.5907 GB, free: 7.504 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.5198, allocations: 23.19 kB / 0.5907 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.5198, allocations: 0 / 0.5907 GB, free: 7.484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.185e-05/0.5199, allocations: 19.83 kB / 0.5907 GB, free: 7.465 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.645e-06/0.5199, allocations: 11.44 kB / 0.5907 GB, free: 7.457 MB / 394.7 MB Warning: Assuming fixed start value for the following 2 variables: prey.population:VARIABLE(min = max(0.0, max(0.0, max(0.0, 0.0))) start = prey.population_start unit = "1" fixed = true nominal = prey.NominalPopulation ) type: Real predator.population:VARIABLE(min = max(0.0, max(0.0, max(0.0, 0.0))) start = predator.population_start unit = "1" fixed = true nominal = predator.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001961/0.5201, allocations: 147.6 kB / 0.5909 GB, free: 7.312 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.5202, allocations: 15.88 kB / 0.5909 GB, free: 7.297 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.064e-05/0.5202, allocations: 17.84 kB / 0.5909 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.5202, allocations: 0 / 0.5909 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5202, allocations: 4 kB / 0.5909 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.5203, allocations: 0 / 0.5909 GB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.5205, allocations: 245.2 kB / 0.5912 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5205, allocations: 0 / 0.5912 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.5206, allocations: 27.42 kB / 0.5912 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.5206, allocations: 0 / 0.5912 GB, free: 7 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.5207, allocations: 3.938 kB / 0.5912 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.193e-06/0.5207, allocations: 0 / 0.5912 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5207, allocations: 4 kB / 0.5912 GB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002663/0.5209, allocations: 246.9 kB / 0.5914 GB, free: 6.777 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.33e-05/0.521, allocations: 88.95 kB / 0.5915 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.874e-05/0.521, allocations: 2.938 kB / 0.5915 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.866e-05/0.5211, allocations: 0 / 0.5915 GB, free: 6.672 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.5211, allocations: 7.984 kB / 0.5915 GB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.613e-06/0.5212, allocations: 11.19 kB / 0.5915 GB, free: 6.656 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.549e-05/0.5212, allocations: 116.1 kB / 0.5916 GB, free: 6.555 MB / 394.7 MB Notification: Performance of sort global known variables: time 1e-07/0.5212, allocations: 0 / 0.5916 GB, free: 6.555 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002377/0.5215, allocations: 39.44 kB / 0.5917 GB, free: 6.52 MB / 394.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.964e-05/0.5216, allocations: 103.2 kB / 0.5918 GB, free: 6.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001642/0.5218, allocations: 89.59 kB / 0.5919 GB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5218, allocations: 0 / 0.5919 GB, free: 6.348 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.928e-05/0.5218, allocations: 39.16 kB / 0.5919 GB, free: 6.32 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.522, allocations: 21.19 kB / 0.5919 GB, free: 6.309 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006697/0.5227, allocations: 462.2 kB / 0.5924 GB, free: 5.848 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002823/0.523, allocations: 0.7166 MB / 0.5931 GB, free: 5.105 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.362e-05/0.5231, allocations: 13.42 kB / 0.5931 GB, free: 5.09 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.87e-05/0.5231, allocations: 15.44 kB / 0.5931 GB, free: 5.074 MB / 394.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5231, allocations: 4 kB / 0.5931 GB, free: 5.07 MB / 394.7 MB Notification: Performance of Templates: time 0.003489/0.5266, allocations: 1.248 MB / 0.5943 GB, free: 3.852 MB / 394.7 MB make -j1 -f Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.makefile (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)