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: "" <> 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 174.7 kB / 12.73 MB, free: 2.59 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.541/1.541, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 95.56 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Physiolibrary 3.0.0-master/package.mo): time 0.5319/0.5319, allocations: 37.07 MB / 373.6 MB, free: 45.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.119e-05/3.122e-05, allocations: 4 kB / 441.6 MB, free: 15.37 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1548/0.1549, allocations: 60.09 MB / 0.4899 GB, free: 3.184 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5309/0.6859, allocations: 90.66 MB / 0.5785 GB, free: 1.949 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002411/0.6862, allocations: 76.45 kB / 0.5786 GB, free: 1.875 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006826/0.693, allocations: 2.443 MB / 0.5809 GB, free: 15.46 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.877e-06/0.6931, allocations: 0 / 0.5809 GB, free: 15.46 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.112e-05/0.6931, allocations: 4 kB / 0.5809 GB, free: 15.46 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.0007098/0.6938, allocations: 401.4 kB / 0.5813 GB, free: 15.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.466e-05/0.6939, allocations: 8.031 kB / 0.5813 GB, free: 15.02 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.157e-05/0.694, allocations: 47.58 kB / 0.5814 GB, free: 14.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.645e-05/0.6941, allocations: 23.77 kB / 0.5814 GB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003082/0.6944, allocations: 202.8 kB / 0.5816 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.507e-05/0.6944, allocations: 11.56 kB / 0.5816 GB, free: 14.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.198e-05/0.6945, allocations: 12 kB / 0.5816 GB, free: 14.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002835/0.6948, allocations: 110.6 kB / 0.5817 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.687e-05/0.6948, allocations: 0 / 0.5817 GB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.117e-05/0.6948, allocations: 7.984 kB / 0.5817 GB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.6948, allocations: 4 kB / 0.5817 GB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.695, allocations: 85.84 kB / 0.5818 GB, free: 14.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007617/0.6958, allocations: 453.2 kB / 0.5822 GB, free: 13.99 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.696, allocations: 110.7 kB / 0.5824 GB, free: 13.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.803e-05/0.6961, allocations: 48.86 kB / 0.5824 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.416e-05/0.6962, allocations: 4 kB / 0.5824 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.6962, allocations: 34.56 kB / 0.5824 GB, free: 13.77 MB / 410.7 MB Notification: Performance of pre-optimization done (n=12): time 1.202e-06/0.6962, allocations: 0 / 0.5824 GB, free: 13.77 MB / 410.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003/0.6965, allocations: 101.8 kB / 0.5825 GB, free: 13.67 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.15e-05/0.6966, allocations: 51.41 kB / 0.5826 GB, free: 13.61 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.6968, allocations: 133.4 kB / 0.5827 GB, free: 13.47 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.211e-05/0.6968, allocations: 25.7 kB / 0.5827 GB, free: 13.44 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.349e-05/0.6969, allocations: 135.6 kB / 0.5829 GB, free: 13.3 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.201e-05/0.697, allocations: 51.28 kB / 0.5829 GB, free: 13.25 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/0.697, allocations: 4 kB / 0.5829 GB, free: 13.25 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001847/0.6972, allocations: 326.8 kB / 0.5832 GB, free: 12.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.225e-05/0.6973, allocations: 28 kB / 0.5833 GB, free: 12.89 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.546e-05/0.6973, allocations: 29.88 kB / 0.5833 GB, free: 12.86 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.636e-05/0.6974, allocations: 31.98 kB / 0.5833 GB, free: 12.83 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6974, allocations: 0 / 0.5833 GB, free: 12.83 MB / 410.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002132/0.6977, allocations: 135.2 kB / 0.5834 GB, free: 12.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.6977, allocations: 4 kB / 0.5834 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.6977, allocations: 4 kB / 0.5834 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.6977, allocations: 0 / 0.5834 GB, free: 12.69 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001582/0.6979, allocations: 35.92 kB / 0.5835 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/0.6979, allocations: 0 / 0.5835 GB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.017e-05/0.698, allocations: 11.84 kB / 0.5835 GB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.698, allocations: 8 kB / 0.5835 GB, free: 12.63 MB / 410.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" 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" 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 () * 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.0002215/0.6982, allocations: 131.6 kB / 0.5836 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.6983, allocations: 11.91 kB / 0.5836 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.6983, allocations: 20.56 kB / 0.5837 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.6984, allocations: 1.594 kB / 0.5837 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.6984, allocations: 0 / 0.5837 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.6984, allocations: 0 / 0.5837 GB, free: 12.47 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000295/0.6987, allocations: 239.6 kB / 0.5839 GB, free: 12.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.6987, allocations: 11.92 kB / 0.5839 GB, free: 12.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/0.6988, allocations: 12 kB / 0.5839 GB, free: 12.17 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6988, allocations: 4 kB / 0.5839 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.366e-05/0.6989, allocations: 8 kB / 0.5839 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.6989, allocations: 0 / 0.5839 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.6989, allocations: 0 / 0.5839 GB, free: 12.16 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003459/0.6992, allocations: 246.4 kB / 0.5842 GB, free: 11.9 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.6993, allocations: 96.88 kB / 0.5843 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.544e-05/0.6993, allocations: 4 kB / 0.5843 GB, free: 11.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.267e-05/0.6994, allocations: 4 kB / 0.5843 GB, free: 11.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.448e-05/0.6995, allocations: 8.062 kB / 0.5843 GB, free: 11.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.104e-06/0.6995, allocations: 0 / 0.5843 GB, free: 11.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.591e-05/0.6996, allocations: 122.7 kB / 0.5844 GB, free: 11.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6996, allocations: 3.938 kB / 0.5844 GB, free: 11.65 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000235/0.6998, allocations: 36 kB / 0.5844 GB, free: 11.62 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 () * 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 0.0005921/0.7004, allocations: 0.7723 MB / 0.5852 GB, free: 10.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001994/0.7006, allocations: 89.81 kB / 0.5853 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.7007, allocations: 0 / 0.5853 GB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.127e-05/0.7007, allocations: 44.59 kB / 0.5853 GB, free: 10.69 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002352/0.701, allocations: 22.67 kB / 0.5853 GB, free: 10.67 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007496/0.7017, allocations: 340.3 kB / 0.5856 GB, free: 10.31 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002926/0.702, allocations: 0.7205 MB / 0.5864 GB, free: 9.562 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.317e-05/0.7021, allocations: 13.2 kB / 0.5864 GB, free: 9.551 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.401e-05/0.7022, allocations: 39.42 kB / 0.5864 GB, free: 9.512 MB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.7022, allocations: 3.938 kB / 0.5864 GB, free: 9.508 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01466/0.7168, allocations: 2.756 MB / 0.5891 GB, free: 6.891 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002898/0.7172, allocations: 146.7 kB / 0.5892 GB, free: 6.668 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.808/2.525, allocations: 3.938 kB / 0.5892 GB, free: 6.664 MB / 410.7 MB (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/linux/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey.fmu > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1)