Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.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.002037/0.002037, allocations: 105.7 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.002018/0.002018, 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.604/1.604, allocations: 207.6 MB / 229.8 MB, free: 4.25 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.05127/0.05127, allocations: 8.206 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.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations,fileNamePrefix="ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 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.002223/0.002223, allocations: 71.91 kB / 405.2 MB, free: 1.484 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2833, allocations: 50.9 MB / 456.1 MB, free: 3.793 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002047/0.2853, allocations: 1.223 MB / 457.3 MB, free: 2.844 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005205/0.2858, allocations: 383.5 kB / 457.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.2859, allocations: 7.625 kB / 457.7 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.196e-05/0.286, allocations: 54.14 kB / 457.7 MB, free: 2.477 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001551/0.2862, allocations: 61.14 kB / 457.8 MB, free: 2.422 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002537/0.2864, allocations: 139.2 kB / 457.9 MB, free: 2.301 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003519/0.2868, allocations: 391.2 kB / 458.3 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002823/0.2871, allocations: 179.2 kB / 458.5 MB, free: 1.93 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.2872, allocations: 171.5 kB / 458.6 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.2873, allocations: 193.1 kB / 458.8 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.458e-05/0.2874, allocations: 59 kB / 458.9 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.512e-05/0.2875, allocations: 58.72 kB / 459 MB, free: 1.641 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.188e-05/0.2875, allocations: 127.8 kB / 459.1 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001329/0.2877, allocations: 218.9 kB / 459.3 MB, free: 1.348 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004468/0.2881, allocations: 0.5879 MB / 459.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.2881, allocations: 0 / 459.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.2881, allocations: 0 / 459.9 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.2881, allocations: 0 / 459.9 MB, free: 0.8594 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.000821/0.289, allocations: 0.7399 MB / 460.6 MB, free: 216 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.289, allocations: 9.094 kB / 460.6 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.437e-05/0.2891, allocations: 82.81 kB / 460.7 MB, free: 140 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.217e-05/0.2891, allocations: 55.39 kB / 460.8 MB, free: 112 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004055/0.2895, allocations: 341.2 kB / 461.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.937e-05/0.2896, allocations: 34.69 kB / 461.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.8e-05/0.2896, allocations: 44.97 kB / 461.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006784/0.2903, allocations: 426.1 kB / 461.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.075e-05/0.2903, allocations: 13.27 kB / 461.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.19e-05/0.2904, allocations: 17.5 kB / 461.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.749e-06/0.2904, allocations: 9.625 kB / 461.6 MB, free: 15.45 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004329/0.2908, allocations: 257 kB / 461.9 MB, free: 15.33 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002051/0.2929, allocations: 1.439 MB / 463.3 MB, free: 14.14 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005645/0.2934, allocations: 337.3 kB / 463.6 MB, free: 13.92 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002469/0.2937, allocations: 153.1 kB / 463.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.2937, allocations: 8.047 kB / 463.8 MB, free: 13.82 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.266e-05/0.2938, allocations: 41.94 kB / 463.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of pre-optimization done (n=32): time 1.643e-06/0.2938, allocations: 1.125 kB / 463.8 MB, free: 13.77 MB / 334.1 MB Notification: Performance of matching and sorting (n=32): time 0.0007019/0.2945, allocations: 350.9 kB / 464.2 MB, free: 13.59 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.125e-05/0.2945, allocations: 144 kB / 464.3 MB, free: 13.42 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.2949, allocations: 277 kB / 464.6 MB, free: 13.23 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.327e-05/0.2949, allocations: 32.45 kB / 464.6 MB, free: 13.19 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001746/0.2951, allocations: 235.9 kB / 464.9 MB, free: 12.98 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001068/0.2952, allocations: 124.1 kB / 465 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.2953, allocations: 72.36 kB / 465.1 MB, free: 12.82 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.2955, allocations: 341.4 kB / 465.4 MB, free: 12.48 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000167/0.2956, allocations: 97.8 kB / 465.5 MB, free: 12.44 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.2959, allocations: 187.7 kB / 465.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004297/0.2963, allocations: 314.2 kB / 466 MB, free: 12.04 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.2963, allocations: 4.938 kB / 466 MB, free: 12.04 MB / 334.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005522/0.2969, allocations: 353.4 kB / 466.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.773e-05/0.2969, allocations: 6.75 kB / 466.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.2969, allocations: 3.344 kB / 466.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.832e-05/0.2969, allocations: 4.188 kB / 466.3 MB, free: 11.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.2973, allocations: 92.11 kB / 466.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/0.2973, allocations: 12.34 kB / 466.4 MB, free: 11.82 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001215/0.2974, allocations: 32.5 kB / 466.5 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.242e-05/0.2974, allocations: 14.5 kB / 466.5 MB, free: 11.8 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (48): * Single equations (assignments): 48 * 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.0002006/0.2976, allocations: 176.7 kB / 466.7 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.2977, allocations: 37.11 kB / 466.7 MB, free: 11.62 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.747e-05/0.2978, allocations: 41.2 kB / 466.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.2978, allocations: 3.5 kB / 466.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2978, allocations: 5.625 kB / 466.7 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.2978, allocations: 5.438 kB / 466.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007198/0.2986, allocations: 461.5 kB / 467.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.2986, allocations: 1.281 kB / 467.2 MB, free: 11.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.2989, allocations: 64.06 kB / 467.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.2989, allocations: 1.125 kB / 467.3 MB, free: 11.17 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.339e-05/0.2989, allocations: 7.344 kB / 467.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.2989, allocations: 6.609 kB / 467.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.2989, allocations: 1.312 kB / 467.3 MB, free: 11.16 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/0.2997, allocations: 0.7089 MB / 468 MB, free: 10.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.965e-05/0.2997, allocations: 114.1 kB / 468.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.2998, allocations: 8.062 kB / 468.1 MB, free: 10.49 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002228/0.3, allocations: 6.719 kB / 468.1 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.3, allocations: 25.19 kB / 468.1 MB, free: 10.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.3001, allocations: 12.17 kB / 468.2 MB, free: 10.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001874/0.3003, allocations: 199.3 kB / 468.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3003, allocations: 0 / 468.3 MB, free: 10.32 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004648/0.3007, allocations: 80.98 kB / 468.4 MB, free: 10.3 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (A.rabbit_population.population,A.fox_population.population,B.rabbit_population.population,B.fox_population.population,C.rabbit_population.population,C.fox_population.population,D.rabbit_population.population,D.fox_population.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 (32): * Single equations (assignments): 32 * 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.001034/0.3018, allocations: 1.257 MB / 469.7 MB, free: 9.219 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000439/0.3022, allocations: 250.2 kB / 469.9 MB, free: 9.109 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.3022, allocations: 4.906 kB / 469.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000164/0.3024, allocations: 112.5 kB / 470 MB, free: 9.059 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007571/0.3031, allocations: 73.89 kB / 470.1 MB, free: 9.016 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004167/0.3073, allocations: 3.394 MB / 473.5 MB, free: 6.395 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005102/0.3078, allocations: 0.8095 MB / 474.3 MB, free: 5.637 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001651/0.308, allocations: 39.53 kB / 474.4 MB, free: 5.613 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001863/0.3081, allocations: 134.1 kB / 474.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of SimCode: time 7.12e-07/0.3081, allocations: 0 / 474.5 MB, free: 5.5 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03046/0.3386, allocations: 5.847 MB / 480.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.668/9.006, allocations: 23.8 kB / 480.4 MB, free: 15.76 MB / 350.1 MB " [Timeout remaining time 651] (rm -f ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe >> ../files/ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations_fmu --startTime=0 --stopTime=40 --stepSize=0.016 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations.fmu > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.567239578347653] Failed to read output from testmodel.py, exit status != 0: 9.07946400437504 9.101858493 8.809362362 Calling exit ...