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.001268/0.001268, 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.001704/0.001704, allocations: 217.9 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.39/1.39, 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.04893/0.04893, allocations: 8.197 MB / 294.3 MB, free: 13.75 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.002067/0.002067, allocations: 74.98 kB / 411.2 MB, free: 46.95 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08089/0.08296, allocations: 50.93 MB / 462.2 MB, free: 13.53 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.001928/0.08489, allocations: 0.7151 MB / 462.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004065/0.08529, allocations: 179.3 kB / 463 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.902e-05/0.08535, allocations: 4 kB / 463 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.383e-05/0.08541, allocations: 15.75 kB / 463.1 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.845e-05/0.08549, allocations: 23.81 kB / 463.1 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001775/0.08567, allocations: 51.86 kB / 463.1 MB, free: 12.54 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002045/0.08588, allocations: 147.7 kB / 463.3 MB, free: 12.39 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001679/0.08604, allocations: 57.77 kB / 463.3 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.566e-05/0.08612, allocations: 63.72 kB / 463.4 MB, free: 12.28 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001077/0.08623, allocations: 79.61 kB / 463.5 MB, free: 12.2 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.841e-05/0.08626, allocations: 16 kB / 463.5 MB, free: 12.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.678e-05/0.08628, allocations: 20 kB / 463.5 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.004e-05/0.08632, allocations: 39.84 kB / 463.6 MB, free: 12.12 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.347e-05/0.08641, allocations: 75.61 kB / 463.6 MB, free: 12.05 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.08664, allocations: 195.5 kB / 463.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.08665, allocations: 0 / 463.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.08665, allocations: 3.938 kB / 463.8 MB, free: 11.86 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.806e-06/0.08666, allocations: 0 / 463.8 MB, free: 11.86 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0006088/0.08726, allocations: 397.9 kB / 464.2 MB, free: 11.43 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.0873, allocations: 11.98 kB / 464.2 MB, free: 11.42 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.376e-05/0.08733, allocations: 12.56 kB / 464.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.139e-05/0.08738, allocations: 50.73 kB / 464.3 MB, free: 11.35 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.08743, allocations: 28.78 kB / 464.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.08763, allocations: 150.3 kB / 464.5 MB, free: 11.15 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.694e-05/0.08765, allocations: 12.75 kB / 464.5 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.832e-05/0.08769, allocations: 20.38 kB / 464.5 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003026/0.08799, allocations: 164.9 kB / 464.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.392e-05/0.08802, allocations: 3.953 kB / 464.7 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.968e-05/0.08804, allocations: 11.98 kB / 464.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.08804, allocations: 8 kB / 464.7 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002006/0.08824, allocations: 119.2 kB / 464.8 MB, free: 10.81 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008627/0.08911, allocations: 0.5343 MB / 465.3 MB, free: 10.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002295/0.08934, allocations: 114.5 kB / 465.4 MB, free: 10.11 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001109/0.08945, allocations: 76.83 kB / 465.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.225e-05/0.08946, allocations: 0 / 465.5 MB, free: 10.04 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/0.08949, allocations: 34.5 kB / 465.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 9.62e-07/0.0895, allocations: 0 / 465.5 MB, free: 9.992 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003423/0.08984, allocations: 181.2 kB / 465.7 MB, free: 9.812 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.9e-05/0.08989, allocations: 55.41 kB / 465.8 MB, free: 9.746 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.826e-05/0.08998, allocations: 125.8 kB / 465.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.484e-05/0.09001, allocations: 33.7 kB / 465.9 MB, free: 9.574 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.662e-05/0.0901, allocations: 132.5 kB / 466.1 MB, free: 9.441 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.087e-05/0.09015, allocations: 51.53 kB / 466.1 MB, free: 9.391 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.0902, allocations: 37.7 kB / 466.2 MB, free: 9.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.09035, allocations: 318.8 kB / 466.5 MB, free: 9.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.518e-05/0.09043, allocations: 43.98 kB / 466.5 MB, free: 8.984 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.008e-05/0.0905, allocations: 43.92 kB / 466.5 MB, free: 8.941 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001604/0.09066, allocations: 99.2 kB / 466.6 MB, free: 8.844 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.09066, allocations: 0 / 466.6 MB, free: 8.844 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002173/0.09088, allocations: 153.4 kB / 466.8 MB, free: 8.688 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.09089, allocations: 12 kB / 466.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.0909, allocations: 0 / 466.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.09091, allocations: 0 / 466.8 MB, free: 8.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.0911, allocations: 31.92 kB / 466.8 MB, free: 8.645 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.09111, allocations: 7.938 kB / 466.8 MB, free: 8.637 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.991e-05/0.09115, allocations: 4 kB / 466.8 MB, free: 8.633 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.368e-06/0.09115, allocations: 4 kB / 466.9 MB, free: 8.629 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.000119/0.09127, allocations: 129.8 kB / 467 MB, free: 8.492 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.561e-05/0.09131, allocations: 19.89 kB / 467 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.836e-05/0.09136, allocations: 16.44 kB / 467 MB, free: 8.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.09136, allocations: 3.984 kB / 467 MB, free: 8.449 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.446e-06/0.09137, allocations: 7.938 kB / 467 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.09137, allocations: 0 / 467 MB, free: 8.441 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002922/0.09167, allocations: 240.6 kB / 467.3 MB, free: 8.164 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.09167, allocations: 3.984 kB / 467.3 MB, free: 8.16 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/0.09184, allocations: 35.92 kB / 467.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.09185, allocations: 0 / 467.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.132e-05/0.09186, allocations: 0 / 467.3 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.09186, allocations: 8 kB / 467.3 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.09186, allocations: 3.938 kB / 467.3 MB, free: 8.113 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003597/0.09222, allocations: 293.1 kB / 467.6 MB, free: 7.812 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.412e-05/0.09224, allocations: 7.953 kB / 467.6 MB, free: 7.805 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.916e-05/0.09226, allocations: 4.031 kB / 467.6 MB, free: 7.801 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.881e-05/0.09234, allocations: 11.94 kB / 467.6 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.434e-05/0.09236, allocations: 7.922 kB / 467.6 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.177e-06/0.09237, allocations: 8 kB / 467.6 MB, free: 7.773 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.845e-05/0.09244, allocations: 102.4 kB / 467.7 MB, free: 7.676 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.09244, allocations: 0 / 467.7 MB, free: 7.676 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002389/0.09268, allocations: 39.84 kB / 467.8 MB, free: 7.637 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.0006507/0.09333, allocations: 0.8139 MB / 468.6 MB, free: 6.797 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002123/0.09354, allocations: 111.9 kB / 468.7 MB, free: 6.688 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.09354, allocations: 0 / 468.7 MB, free: 6.688 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.48e-05/0.09363, allocations: 63.58 kB / 468.8 MB, free: 6.629 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.09399, allocations: 24.86 kB / 468.8 MB, free: 6.605 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001854/0.09585, allocations: 1.764 MB / 470.5 MB, free: 4.762 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.09618, allocations: 0.7312 MB / 471.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.332e-05/0.09625, allocations: 8.969 kB / 471.3 MB, free: 3.988 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.73e-05/0.09632, allocations: 43.42 kB / 471.3 MB, free: 3.945 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.09632, allocations: 7.938 kB / 471.3 MB, free: 3.938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02312/0.1194, allocations: 2.878 MB / 474.2 MB, free: 1.121 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.7/10.82, allocations: 12.05 kB / 474.2 MB, free: 1.109 MB / 334.1 MB " [Timeout remaining time 649] (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: 13.360776066896506] Failed to read output from testmodel.py, exit status != 0: 10.977753821993247 10.996949339 10.907226045 Calling exit ...