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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001357/0.001357, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001438, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.545/1.545, allocations: 207.6 MB / 229.8 MB, free: 4.262 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.05026/0.05026, allocations: 8.21 MB / 289.9 MB, free: 8.262 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.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.003211/0.003211, allocations: 67.91 kB / 405.2 MB, free: 1.48 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3258, allocations: 50.89 MB / 456.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001725/0.3275, allocations: 0.7188 MB / 456.8 MB, free: 3.238 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003434/0.3278, allocations: 171.5 kB / 457 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.58e-05/0.3279, allocations: 3.062 kB / 457 MB, free: 3.098 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 6.09e-05/0.328, allocations: 18.31 kB / 457 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 9.598e-05/0.3281, allocations: 21.25 kB / 457 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.3282, allocations: 55.69 kB / 457.1 MB, free: 3.016 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.3284, allocations: 143.8 kB / 457.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001667/0.3286, allocations: 57.81 kB / 457.3 MB, free: 2.891 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.223e-05/0.3286, allocations: 62.89 kB / 457.3 MB, free: 2.848 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.978e-05/0.3287, allocations: 75.14 kB / 457.4 MB, free: 2.785 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 5.177e-05/0.3287, allocations: 21.62 kB / 457.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.585e-05/0.3288, allocations: 18.84 kB / 457.4 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 3.207e-05/0.3288, allocations: 45.41 kB / 457.5 MB, free: 2.742 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.174e-05/0.3289, allocations: 74.34 kB / 457.6 MB, free: 2.684 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.329, allocations: 188.8 kB / 457.7 MB, free: 2.531 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.329, allocations: 3.938 kB / 457.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.329, allocations: 0 / 457.7 MB, free: 2.527 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.329, allocations: 1.031 kB / 457.7 MB, free: 2.527 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.0005047/0.3295, allocations: 466.2 kB / 458.2 MB, free: 2.074 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.3296, allocations: 14.69 kB / 458.2 MB, free: 2.07 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.273e-05/0.3296, allocations: 54.2 kB / 458.3 MB, free: 2.016 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.98e-05/0.3297, allocations: 23.3 kB / 458.3 MB, free: 2.004 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.3298, allocations: 216.9 kB / 458.5 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.639e-05/0.3298, allocations: 14.47 kB / 458.5 MB, free: 1.758 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.279e-05/0.3299, allocations: 17.16 kB / 458.5 MB, free: 1.754 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002597/0.3301, allocations: 169 kB / 458.7 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.3301, allocations: 13.16 kB / 458.7 MB, free: 1.637 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.75e-05/0.3302, allocations: 9.156 kB / 458.7 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.3302, allocations: 5.5 kB / 458.7 MB, free: 1.629 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001826/0.3304, allocations: 113.5 kB / 458.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006881/0.331, allocations: 0.5758 MB / 459.4 MB, free: 1.074 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000197/0.3312, allocations: 120.3 kB / 459.5 MB, free: 1 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.3313, allocations: 68.45 kB / 459.6 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.753e-05/0.3314, allocations: 5.312 kB / 459.6 MB, free: 0.957 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.3314, allocations: 33 kB / 459.6 MB, free: 0.918 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.192e-06/0.3314, allocations: 0 / 459.6 MB, free: 0.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003381/0.3317, allocations: 188.4 kB / 459.8 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.191e-05/0.3317, allocations: 53.66 kB / 459.9 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.3318, allocations: 123.4 kB / 460 MB, free: 0.6328 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.3318, allocations: 31.05 kB / 460 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.51e-05/0.3319, allocations: 132.3 kB / 460.2 MB, free: 484 kB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.654e-05/0.3319, allocations: 62.48 kB / 460.2 MB, free: 428 kB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-05/0.332, allocations: 31.55 kB / 460.2 MB, free: 400 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.043e-05/0.3321, allocations: 321.4 kB / 460.6 MB, free: 72 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.466e-05/0.3322, allocations: 40.23 kB / 460.6 MB, free: 52 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.293e-05/0.3322, allocations: 42.3 kB / 460.6 MB, free: 32 kB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002396/0.3325, allocations: 101.2 kB / 460.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3325, allocations: 0 / 460.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.00033/0.3328, allocations: 158.5 kB / 460.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.3328, allocations: 4.969 kB / 460.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.3328, allocations: 4 kB / 460.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3329, allocations: 1.156 kB / 460.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.333, allocations: 33.2 kB / 460.9 MB, free: 15.87 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.146e-05/0.3331, allocations: 9.406 kB / 460.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.555e-05/0.3331, allocations: 10.22 kB / 461 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.3331, allocations: 7.5 kB / 461 MB, free: 15.85 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.0001187/0.3332, allocations: 124.7 kB / 461.1 MB, free: 15.72 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/0.3333, allocations: 13.22 kB / 461.1 MB, free: 15.71 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.392e-05/0.3333, allocations: 22.97 kB / 461.1 MB, free: 15.7 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.3333, allocations: 5.422 kB / 461.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3333, allocations: 0 / 461.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.129e-06/0.3333, allocations: 3.938 kB / 461.1 MB, free: 15.69 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003216/0.3337, allocations: 269.6 kB / 461.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.3337, allocations: 0 / 461.4 MB, free: 15.43 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.3338, allocations: 25.98 kB / 461.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.3338, allocations: 1.375 kB / 461.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.277e-05/0.3338, allocations: 1.375 kB / 461.4 MB, free: 15.42 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3338, allocations: 9.312 kB / 461.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.3338, allocations: 0 / 461.4 MB, free: 15.41 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003833/0.3342, allocations: 306.6 kB / 461.7 MB, free: 15.19 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.455e-05/0.3343, allocations: 89.12 kB / 461.8 MB, free: 15.09 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.3343, allocations: 5.375 kB / 461.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.194e-05/0.3344, allocations: 5.375 kB / 461.8 MB, free: 15.08 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.13e-05/0.3344, allocations: 12.09 kB / 461.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.027e-05/0.3344, allocations: 6.75 kB / 461.8 MB, free: 15.07 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.037e-05/0.3345, allocations: 99.64 kB / 461.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3345, allocations: 0 / 461.9 MB, free: 14.98 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002508/0.3347, allocations: 37.84 kB / 462 MB, free: 14.96 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.0007046/0.3354, allocations: 0.8235 MB / 462.8 MB, free: 14.22 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000215/0.3357, allocations: 107.1 kB / 462.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3357, allocations: 4 kB / 462.9 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.129e-05/0.3357, allocations: 59.34 kB / 463 MB, free: 14.14 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.3361, allocations: 32.75 kB / 463 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.3382, allocations: 1.749 MB / 464.7 MB, free: 12.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003932/0.3386, allocations: 0.7291 MB / 465.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.127e-05/0.3386, allocations: 9 kB / 465.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.321e-05/0.3387, allocations: 46.64 kB / 465.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3387, allocations: 0 / 465.5 MB, free: 11.86 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03507/0.3738, allocations: 2.665 MB / 468.2 MB, free: 10.42 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.338/8.712, allocations: 17.92 kB / 468.2 MB, free: 10.41 MB / 334.1 MB " [Timeout remaining time 651] (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: 11.209704642184079] Failed to read output from testmodel.py, exit status != 0: 8.786014636047184 8.812695392 8.478517616 Calling exit ...