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.1084/0.1084, allocations: 15.56 MB / 34.41 MB, free: 4.496 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.001288/0.001288, allocations: 101.8 kB / 41.98 MB, free: 6.176 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.001545/0.001545, allocations: 216.6 kB / 49.68 MB, free: 10.01 MB / 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.516/1.516, allocations: 230.6 MB / 287.9 MB, free: 6.359 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.1504/0.1504, allocations: 23.73 MB / 372.4 MB, free: 2.93 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: "" <> 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"}) [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: Requested package Chemical of version 1.4.0, but this package was already loaded with version 1.4.1. There are no conversion annotations and 1.4.0 is older than 1.4.1, so the libraries are probably incompatible. Notification: Performance of FrontEnd - loaded program: time 0.003638/0.003638, allocations: 119.8 kB / 0.5046 GB, free: 15.15 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3137/0.3174, allocations: 63.86 MB / 0.567 GB, free: 14.46 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Physiolibrary.Population.Examples.PredatorPrey): time 0.003623/0.321, allocations: 2.27 MB / 0.5692 GB, free: 12.18 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003289/0.3213, allocations: 139.5 kB / 0.5694 GB, free: 12.05 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.856e-05/0.3214, allocations: 7.938 kB / 0.5694 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001297/0.3216, allocations: 31.72 kB / 0.5694 GB, free: 12.01 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001202/0.3217, allocations: 55.55 kB / 0.5694 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001385/0.3218, allocations: 31.95 kB / 0.5695 GB, free: 11.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000234/0.322, allocations: 179.1 kB / 0.5696 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000143/0.3222, allocations: 38.17 kB / 0.5697 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.262e-05/0.3223, allocations: 59.78 kB / 0.5697 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001219/0.3224, allocations: 71.62 kB / 0.5698 GB, free: 11.58 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.3224, allocations: 12 kB / 0.5698 GB, free: 11.57 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.943e-05/0.3224, allocations: 12 kB / 0.5698 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.717e-05/0.3225, allocations: 23.92 kB / 0.5699 GB, free: 11.54 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.334e-05/0.3226, allocations: 63.67 kB / 0.5699 GB, free: 11.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002403/0.3228, allocations: 163.1 kB / 0.5701 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3228, allocations: 0 / 0.5701 GB, free: 11.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.3228, allocations: 0 / 0.5701 GB, free: 11.32 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3228, allocations: 0 / 0.5701 GB, free: 11.32 MB / 398.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.0005597/0.3234, allocations: 369.6 kB / 0.5704 GB, free: 10.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.3234, allocations: 12.03 kB / 0.5704 GB, free: 10.91 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.3235, allocations: 46.73 kB / 0.5705 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.33e-05/0.3235, allocations: 20.83 kB / 0.5705 GB, free: 10.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002579/0.3238, allocations: 158.2 kB / 0.5707 GB, free: 10.66 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/0.3238, allocations: 8.375 kB / 0.5707 GB, free: 10.65 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/0.3238, allocations: 12.38 kB / 0.5707 GB, free: 10.64 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002355/0.3241, allocations: 114.2 kB / 0.5708 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.3241, allocations: 7.891 kB / 0.5708 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.3241, allocations: 4 kB / 0.5708 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.3241, allocations: 8 kB / 0.5708 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.3243, allocations: 71.97 kB / 0.5709 GB, free: 10.43 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006763/0.3249, allocations: 395.6 kB / 0.5712 GB, free: 10 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002314/0.3252, allocations: 106.6 kB / 0.5713 GB, free: 9.887 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.991e-05/0.3252, allocations: 40.84 kB / 0.5714 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.3253, allocations: 0 / 0.5714 GB, free: 9.844 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.422e-05/0.3253, allocations: 38.5 kB / 0.5714 GB, free: 9.797 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.3253, allocations: 0 / 0.5714 GB, free: 9.797 MB / 398.1 MB Notification: Performance of matching and sorting (n=12): time 0.0003058/0.3256, allocations: 137.5 kB / 0.5716 GB, free: 9.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.951e-05/0.3256, allocations: 59.34 kB / 0.5716 GB, free: 9.586 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001615/0.3258, allocations: 158.1 kB / 0.5718 GB, free: 9.422 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3258, allocations: 25.7 kB / 0.5718 GB, free: 9.391 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.918e-05/0.3259, allocations: 131.6 kB / 0.5719 GB, free: 9.258 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.903e-05/0.3259, allocations: 43.59 kB / 0.572 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-05/0.326, allocations: 33.7 kB / 0.572 GB, free: 9.176 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.3262, allocations: 322.8 kB / 0.5723 GB, free: 8.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.484e-05/0.3262, allocations: 27.98 kB / 0.5723 GB, free: 8.824 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.918e-05/0.3263, allocations: 32 kB / 0.5724 GB, free: 8.793 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004116/0.3267, allocations: 159.3 kB / 0.5725 GB, free: 8.637 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3267, allocations: 4 kB / 0.5725 GB, free: 8.633 MB / 398.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002207/0.3269, allocations: 137.5 kB / 0.5726 GB, free: 8.492 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.3269, allocations: 7.938 kB / 0.5726 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.048e-06/0.3269, allocations: 0 / 0.5726 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.3269, allocations: 0 / 0.5726 GB, free: 8.484 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.3271, allocations: 27.98 kB / 0.5727 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3271, allocations: 0 / 0.5727 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.3271, allocations: 15.89 kB / 0.5727 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.3272, allocations: 4 kB / 0.5727 GB, free: 8.438 MB / 398.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.0001862/0.3273, allocations: 130.3 kB / 0.5728 GB, free: 8.301 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.968e-05/0.3274, allocations: 15.84 kB / 0.5728 GB, free: 8.285 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.686e-05/0.3274, allocations: 20.7 kB / 0.5728 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3274, allocations: 0 / 0.5728 GB, free: 8.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3274, allocations: 4 kB / 0.5729 GB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3274, allocations: 3.984 kB / 0.5729 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002528/0.3277, allocations: 196.6 kB / 0.573 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3277, allocations: 0 / 0.573 GB, free: 8.02 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001232/0.3278, allocations: 27.86 kB / 0.5731 GB, free: 7.992 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.3278, allocations: 4 kB / 0.5731 GB, free: 7.988 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.3278, allocations: 8 kB / 0.5731 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.3278, allocations: 0 / 0.5731 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3278, allocations: 0 / 0.5731 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000312/0.3282, allocations: 239.4 kB / 0.5733 GB, free: 7.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.029e-05/0.3282, allocations: 19.88 kB / 0.5733 GB, free: 7.711 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.09e-05/0.3282, allocations: 4 kB / 0.5733 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.3283, allocations: 4 kB / 0.5733 GB, free: 7.703 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.304e-05/0.3283, allocations: 7.984 kB / 0.5733 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.3283, allocations: 0 / 0.5733 GB, free: 7.695 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.099e-05/0.3284, allocations: 114.2 kB / 0.5735 GB, free: 7.586 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3284, allocations: 4 kB / 0.5735 GB, free: 7.582 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002577/0.3287, allocations: 43.88 kB / 0.5735 GB, free: 7.539 MB / 398.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.0005892/0.3292, allocations: 0.7792 MB / 0.5743 GB, free: 6.734 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.3294, allocations: 82.73 kB / 0.5743 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3294, allocations: 0 / 0.5743 GB, free: 6.656 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.142e-05/0.3295, allocations: 43.97 kB / 0.5744 GB, free: 6.613 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.3298, allocations: 19.98 kB / 0.5744 GB, free: 6.594 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001994/0.3318, allocations: 1.778 MB / 0.5761 GB, free: 4.734 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.745e-05/0.3319, allocations: 102 kB / 0.5762 GB, free: 4.617 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.591e-05/0.332, allocations: 16.62 kB / 0.5762 GB, free: 4.602 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.332, allocations: 35.44 kB / 0.5763 GB, free: 4.57 MB / 398.1 MB Notification: Performance of SimCode: time 2.9e-07/0.332, allocations: 0 / 0.5763 GB, free: 4.57 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02989/0.3619, allocations: 3.552 MB / 0.5798 GB, free: 1.145 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.69, allocations: 11.8 kB / 0.5798 GB, free: 1.133 MB / 398.1 MB " [Timeout remaining time 648] (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/bin/OMSimulator --tempDir=temp_Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey_fmu --startTime=0 --stopTime=20 --stepSize=0.008 --timeout=50 --tolerance=1e-06 Physiolibrary_Physiolibrary_Population_Examples_PredatorPrey.fmu > Physiolibrary_Physiolibrary.Population.Examples.PredatorPrey.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.501901234034449] Failed to read output from testmodel.py, exit status != 0: 11.79852895392105 11.820446754 11.493459275 Calling exit ...