Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.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.001807/0.001807, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002131/0.002131, allocations: 219 kB / 23.04 MB, free: 5.078 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.381/1.381, allocations: 207.6 MB / 233.8 MB, free: 9.984 MB / 190.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.04968/0.04968, allocations: 8.196 MB / 294.3 MB, free: 13.66 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.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",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.002094/0.002094, allocations: 71.09 kB / 411.2 MB, free: 47 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07566/0.07775, allocations: 50.93 MB / 462.1 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.001716/0.07947, allocations: 0.5707 MB / 462.7 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.000326/0.07979, allocations: 131.9 kB / 462.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.561e-05/0.07984, allocations: 0 / 462.8 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 4.981e-05/0.07989, allocations: 11.88 kB / 462.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.638e-05/0.07996, allocations: 3.938 kB / 462.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001353/0.08009, allocations: 23.97 kB / 462.9 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000162/0.08025, allocations: 79.77 kB / 463 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001312/0.08038, allocations: 31.95 kB / 463 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.595e-05/0.08043, allocations: 27.88 kB / 463 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.346e-05/0.0805, allocations: 31.84 kB / 463 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.333e-05/0.08053, allocations: 12 kB / 463.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.679e-05/0.08054, allocations: 12 kB / 463.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.08057, allocations: 19.92 kB / 463.1 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.782e-05/0.08062, allocations: 39.8 kB / 463.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.08076, allocations: 95.81 kB / 463.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.08076, allocations: 0 / 463.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.08076, allocations: 0 / 463.2 MB, free: 12.44 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.738e-06/0.08077, allocations: 0 / 463.2 MB, free: 12.44 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004668/0.08123, allocations: 310.3 kB / 463.5 MB, free: 12.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.08127, allocations: 15.98 kB / 463.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.661e-05/0.08129, allocations: 4.375 kB / 463.5 MB, free: 12.09 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.622e-05/0.08134, allocations: 50.67 kB / 463.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/0.08137, allocations: 12.84 kB / 463.6 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001653/0.08154, allocations: 122.5 kB / 463.7 MB, free: 11.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/0.08155, allocations: 8.562 kB / 463.7 MB, free: 11.86 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.08158, allocations: 16.12 kB / 463.7 MB, free: 11.85 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.08177, allocations: 97.59 kB / 463.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.08178, allocations: 0 / 463.8 MB, free: 11.75 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/0.08179, allocations: 4 kB / 463.8 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.0818, allocations: 4 kB / 463.9 MB, free: 11.74 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001087/0.0819, allocations: 47.92 kB / 463.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005735/0.08248, allocations: 371.7 kB / 464.3 MB, free: 11.29 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001862/0.08266, allocations: 90.47 kB / 464.4 MB, free: 11.19 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.009e-05/0.08273, allocations: 52.72 kB / 464.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/0.08274, allocations: 0 / 464.4 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.08277, allocations: 34.56 kB / 464.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 7.62e-07/0.08278, allocations: 0 / 464.4 MB, free: 11.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002292/0.083, allocations: 97.83 kB / 464.5 MB, free: 10.99 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/0.08305, allocations: 55.34 kB / 464.6 MB, free: 10.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.537e-05/0.08313, allocations: 106.2 kB / 464.7 MB, free: 10.81 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.08316, allocations: 29.7 kB / 464.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.466e-05/0.08322, allocations: 112 kB / 464.8 MB, free: 10.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.22e-05/0.08325, allocations: 27.73 kB / 464.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.976e-05/0.08329, allocations: 21.72 kB / 464.9 MB, free: 10.61 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.08344, allocations: 322.8 kB / 465.2 MB, free: 10.28 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.958e-05/0.08348, allocations: 19.94 kB / 465.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.08352, allocations: 19.98 kB / 465.2 MB, free: 10.24 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.447e-05/0.0836, allocations: 52.86 kB / 465.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.0836, allocations: 0 / 465.3 MB, free: 10.19 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001367/0.08374, allocations: 97.58 kB / 465.4 MB, free: 10.09 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.08375, allocations: 4 kB / 465.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.08376, allocations: 0 / 465.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.08377, allocations: 0 / 465.4 MB, free: 10.08 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001326/0.0839, allocations: 24.2 kB / 465.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.08391, allocations: 320 / 465.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.08393, allocations: 7.953 kB / 465.4 MB, free: 10.05 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.449e-06/0.08394, allocations: 3.938 kB / 465.4 MB, free: 10.05 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 (10): * Single equations (assignments): 10 * 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 9.494e-05/0.08403, allocations: 121.8 kB / 465.5 MB, free: 9.918 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.08406, allocations: 8 kB / 465.5 MB, free: 9.91 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.557e-05/0.08409, allocations: 12.36 kB / 465.6 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.0841, allocations: 3.938 kB / 465.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.0841, allocations: 4 kB / 465.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-06/0.0841, allocations: 0 / 465.6 MB, free: 9.891 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.08433, allocations: 184.6 kB / 465.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.08433, allocations: 0 / 465.7 MB, free: 9.668 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.055e-05/0.08442, allocations: 12 kB / 465.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.08442, allocations: 0 / 465.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.826e-06/0.08443, allocations: 0 / 465.8 MB, free: 9.656 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.08443, allocations: 11.92 kB / 465.8 MB, free: 9.645 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.08443, allocations: 3.938 kB / 465.8 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.08468, allocations: 207.5 kB / 466 MB, free: 9.422 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.287e-05/0.08469, allocations: 11.92 kB / 466 MB, free: 9.41 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.08471, allocations: 3.984 kB / 466 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.054e-05/0.08477, allocations: 3.938 kB / 466 MB, free: 9.402 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.08479, allocations: 8 kB / 466 MB, free: 9.395 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/0.08479, allocations: 4 kB / 466 MB, free: 9.391 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.906e-05/0.08485, allocations: 91.33 kB / 466.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.08485, allocations: 0 / 466.1 MB, free: 9.301 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002167/0.08507, allocations: 19.95 kB / 466.1 MB, free: 9.281 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (rabbits.population,foxes.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 (8): * Single equations (assignments): 8 * 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.000538/0.08561, allocations: 0.7359 MB / 466.8 MB, free: 8.52 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001317/0.08574, allocations: 51.98 kB / 466.9 MB, free: 8.469 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.08574, allocations: 4.062 kB / 466.9 MB, free: 8.465 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.544e-05/0.08578, allocations: 31.92 kB / 466.9 MB, free: 8.434 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003355/0.08612, allocations: 18.12 kB / 467 MB, free: 8.418 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.08753, allocations: 1.426 MB / 468.4 MB, free: 6.91 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003482/0.08788, allocations: 0.6963 MB / 469.1 MB, free: 6.188 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.556e-05/0.08791, allocations: 4 kB / 469.1 MB, free: 6.184 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.08796, allocations: 31.42 kB / 469.1 MB, free: 6.152 MB / 334.1 MB Notification: Performance of SimCode: time 3.01e-07/0.08796, allocations: 0 / 469.1 MB, free: 6.152 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03675/0.1247, allocations: 2.056 MB / 471.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/10.89, allocations: 0 / 471.2 MB, free: 4.156 MB / 334.1 MB " [Timeout remaining time 649] (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra_fmu --startTime=0 --stopTime=100 --stepSize=0.04 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.486875879927538] Failed to read output from testmodel.py, exit status != 0: 11.04539217997808 11.066824618 10.982917149 Calling exit ...