Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.conf.json 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.001786/0.001786, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 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.002177/0.002177, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.412/1.412, allocations: 207.6 MB / 230.5 MB, free: 4 MB / 174.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04847/0.04847, allocations: 8.213 MB / 290.6 MB, free: 8.102 MB / 238.1 MB " [Timeout remaining time 180] Using package ModelicaByExample with version 0.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Running command: "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaByExample requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002111/0.002111, allocations: 67.91 kB / 405.9 MB, free: 1.402 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2768/0.2789, allocations: 50.9 MB / 456.8 MB, free: 3.73 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001741/0.2807, allocations: 0.7234 MB / 457.6 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003527/0.281, allocations: 179.3 kB / 457.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.429e-05/0.2811, allocations: 3.531 kB / 457.7 MB, free: 3.023 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 4.541e-05/0.2811, allocations: 18.34 kB / 457.8 MB, free: 3.008 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.252e-05/0.2812, allocations: 17.12 kB / 457.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.2814, allocations: 59.33 kB / 457.8 MB, free: 2.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.2815, allocations: 140.1 kB / 458 MB, free: 2.855 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001601/0.2817, allocations: 62.47 kB / 458 MB, free: 2.816 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.291e-05/0.2817, allocations: 64.28 kB / 458.1 MB, free: 2.773 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.463e-05/0.2818, allocations: 74.23 kB / 458.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.2819, allocations: 18.19 kB / 458.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.636e-05/0.2819, allocations: 19.06 kB / 458.2 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.355e-05/0.2819, allocations: 40.44 kB / 458.2 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.333e-05/0.282, allocations: 78.48 kB / 458.3 MB, free: 2.613 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001763/0.2822, allocations: 193.5 kB / 458.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.177e-06/0.2822, allocations: 0 / 458.5 MB, free: 2.457 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.2822, allocations: 3.938 kB / 458.5 MB, free: 2.453 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.763e-06/0.2822, allocations: 0 / 458.5 MB, free: 2.453 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005314/0.2827, allocations: 467 kB / 459 MB, free: 2 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.857e-05/0.2828, allocations: 13.31 kB / 459 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.649e-05/0.2828, allocations: 5.812 kB / 459 MB, free: 1.996 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.61e-05/0.2828, allocations: 57.28 kB / 459 MB, free: 1.938 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.669e-05/0.2829, allocations: 22.92 kB / 459.1 MB, free: 1.926 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.283, allocations: 213.5 kB / 459.3 MB, free: 1.695 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/0.283, allocations: 12.84 kB / 459.3 MB, free: 1.691 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.888e-05/0.2831, allocations: 20.53 kB / 459.3 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002756/0.2833, allocations: 178.2 kB / 459.5 MB, free: 1.566 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.594e-05/0.2834, allocations: 3.953 kB / 459.5 MB, free: 1.562 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.778e-05/0.2834, allocations: 4.562 kB / 459.5 MB, free: 1.559 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.2834, allocations: 11.22 kB / 459.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000163/0.2836, allocations: 108.3 kB / 459.6 MB, free: 1.508 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007075/0.2843, allocations: 0.5709 MB / 460.2 MB, free: 1.012 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.2845, allocations: 125.1 kB / 460.3 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.019e-05/0.2845, allocations: 74.98 kB / 460.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.169e-05/0.2846, allocations: 2.594 kB / 460.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.414e-05/0.2846, allocations: 35.88 kB / 460.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.112e-06/0.2846, allocations: 0 / 460.4 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003032/0.2849, allocations: 181.7 kB / 460.6 MB, free: 0.7383 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.938e-05/0.2849, allocations: 52.94 kB / 460.6 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.813e-05/0.285, allocations: 131.6 kB / 460.8 MB, free: 0.5547 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.285, allocations: 30.98 kB / 460.8 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.818e-05/0.285, allocations: 133.2 kB / 460.9 MB, free: 404 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.285, allocations: 52.97 kB / 461 MB, free: 356 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.384e-05/0.2851, allocations: 36.64 kB / 461 MB, free: 324 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.822e-05/0.2852, allocations: 320.6 kB / 461.3 MB, free: 16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.307e-05/0.2852, allocations: 45.27 kB / 461.4 MB, free: 15.97 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.2853, allocations: 41.89 kB / 461.4 MB, free: 15.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.2854, allocations: 100.4 kB / 461.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2854, allocations: 0 / 461.5 MB, free: 15.9 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002201/0.2857, allocations: 154.2 kB / 461.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.2857, allocations: 5.5 kB / 461.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.2857, allocations: 1.375 kB / 461.7 MB, free: 15.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.2857, allocations: 3.938 kB / 461.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001761/0.2859, allocations: 30.11 kB / 461.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.2859, allocations: 5.312 kB / 461.7 MB, free: 15.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.467e-05/0.2859, allocations: 9.312 kB / 461.7 MB, free: 15.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.215e-06/0.2859, allocations: 2.75 kB / 461.7 MB, free: 15.79 MB / 334.1 MB 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.0001106/0.286, allocations: 138 kB / 461.9 MB, free: 15.65 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.2861, allocations: 13.41 kB / 461.9 MB, free: 15.64 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.737e-05/0.2861, allocations: 13.88 kB / 461.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2861, allocations: 1.375 kB / 461.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.2861, allocations: 5.312 kB / 461.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.2861, allocations: 0 / 461.9 MB, free: 15.63 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.2864, allocations: 268.3 kB / 462.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2864, allocations: 0 / 462.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001674/0.2866, allocations: 27.36 kB / 462.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.2866, allocations: 0 / 462.2 MB, free: 15.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.446e-05/0.2866, allocations: 9.375 kB / 462.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.2866, allocations: 1.375 kB / 462.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.2866, allocations: 3.938 kB / 462.2 MB, free: 15.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.287, allocations: 300.2 kB / 462.5 MB, free: 15.13 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.644e-05/0.287, allocations: 92.5 kB / 462.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.2871, allocations: 1.156 kB / 462.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.127e-05/0.2871, allocations: 5.125 kB / 462.6 MB, free: 15.02 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.2872, allocations: 12.45 kB / 462.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.2872, allocations: 6.938 kB / 462.6 MB, free: 15.01 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.367e-05/0.2872, allocations: 98.52 kB / 462.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2872, allocations: 5.375 kB / 462.7 MB, free: 14.92 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002393/0.2875, allocations: 36.53 kB / 462.7 MB, free: 14.9 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.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 (15): * Single equations (assignments): 15 * 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.0006484/0.2881, allocations: 0.8228 MB / 463.6 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002122/0.2883, allocations: 105.8 kB / 463.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.2883, allocations: 5.406 kB / 463.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.509e-05/0.2884, allocations: 59 kB / 463.7 MB, free: 14.08 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.2888, allocations: 35.48 kB / 463.8 MB, free: 14.06 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.2907, allocations: 1.755 MB / 465.5 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003625/0.291, allocations: 0.7293 MB / 466.2 MB, free: 11.84 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.969e-05/0.2911, allocations: 13.77 kB / 466.3 MB, free: 11.83 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.401e-05/0.2912, allocations: 46.23 kB / 466.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2912, allocations: 0 / 466.3 MB, free: 11.79 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01962/0.3108, allocations: 2.72 MB / 469 MB, free: 10.31 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.02/8.331, allocations: 11.88 kB / 469 MB, free: 10.3 MB / 334.1 MB " [Timeout remaining time 652] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.724806123995222] Failed to read output from testmodel.py, exit status != 0: 8.454468779964373 8.478301851 8.191778339 Calling exit ...