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.001089/0.001089, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008233/0.0008233, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8322/0.8322, allocations: 158.6 MB / 184.2 MB, free: 3.035 MB / 170.7 MB " [Timeout remaining time 179] 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.02365/0.02365, allocations: 6.408 MB / 242.9 MB, free: 8.977 MB / 234.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 359.8 MB, free: 4.41 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.017e-06/1.082e-05, allocations: 2.281 kB / 359.8 MB, free: 4.406 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.0009151/0.000926, allocations: 0.5446 MB / 360.3 MB, free: 3.859 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002182/0.001144, allocations: 115.8 kB / 360.4 MB, free: 3.746 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.703e-05/0.001181, allocations: 4 kB / 360.4 MB, free: 3.742 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.404e-05/0.001215, allocations: 7.875 kB / 360.5 MB, free: 3.734 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.198e-05/0.001277, allocations: 7.922 kB / 360.5 MB, free: 3.727 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001215/0.001399, allocations: 27.97 kB / 360.5 MB, free: 3.699 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.968e-05/0.001498, allocations: 83.75 kB / 360.6 MB, free: 3.617 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.001607, allocations: 23.98 kB / 360.6 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.362e-05/0.001651, allocations: 43.89 kB / 360.6 MB, free: 3.551 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.83e-05/0.001699, allocations: 23.91 kB / 360.7 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.192e-05/0.001721, allocations: 12 kB / 360.7 MB, free: 3.516 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.002e-05/0.001731, allocations: 8 kB / 360.7 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.714e-05/0.001748, allocations: 23.91 kB / 360.7 MB, free: 3.484 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.137e-05/0.00177, allocations: 19.94 kB / 360.7 MB, free: 3.465 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.874e-05/0.001858, allocations: 91.7 kB / 360.8 MB, free: 3.375 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.00186, allocations: 8 kB / 360.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.001861, allocations: 0 / 360.8 MB, free: 3.367 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.001864, allocations: 0 / 360.8 MB, free: 3.367 MB / 282.7 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.0002824/0.002147, allocations: 313.9 kB / 361.1 MB, free: 3.031 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.836e-05/0.002185, allocations: 15.98 kB / 361.1 MB, free: 3.016 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.536e-05/0.00221, allocations: 42.75 kB / 361.2 MB, free: 2.965 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.415e-05/0.002234, allocations: 8.891 kB / 361.2 MB, free: 2.957 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.002339, allocations: 141.6 kB / 361.3 MB, free: 2.793 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.002347, allocations: 4.562 kB / 361.3 MB, free: 2.789 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.002367, allocations: 12.38 kB / 361.3 MB, free: 2.777 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.002491, allocations: 146 kB / 361.5 MB, free: 2.617 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.0025, allocations: 4 kB / 361.5 MB, free: 2.613 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.836e-06/0.002509, allocations: 4 kB / 361.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.002513, allocations: 0 / 361.5 MB, free: 2.609 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.433e-05/0.002578, allocations: 59.84 kB / 361.6 MB, free: 2.551 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003408/0.002918, allocations: 351.7 kB / 361.9 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001154/0.003034, allocations: 78.55 kB / 362 MB, free: 2.078 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.424e-05/0.003068, allocations: 28.86 kB / 362 MB, free: 2.047 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.716e-06/0.003077, allocations: 4 kB / 362 MB, free: 2.043 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.448e-05/0.003091, allocations: 46.53 kB / 362.1 MB, free: 1.988 MB / 282.7 MB Notification: Performance of pre-optimization done (n=8): time 9.12e-07/0.003092, allocations: 7.875 kB / 362.1 MB, free: 1.98 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0001578/0.00325, allocations: 97.83 kB / 362.2 MB, free: 1.879 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.609e-05/0.003266, allocations: 55.41 kB / 362.2 MB, free: 1.812 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.444e-05/0.003301, allocations: 110.1 kB / 362.3 MB, free: 1.695 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 6.012e-06/0.003307, allocations: 25.7 kB / 362.3 MB, free: 1.664 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.233e-05/0.003329, allocations: 104 kB / 362.4 MB, free: 1.559 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.783e-05/0.003347, allocations: 31.73 kB / 362.5 MB, free: 1.527 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-05/0.003371, allocations: 25.72 kB / 362.5 MB, free: 1.496 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 2.402e-05/0.003395, allocations: 318.8 kB / 362.8 MB, free: 1.176 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.249e-05/0.003418, allocations: 23.98 kB / 362.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.006e-05/0.003438, allocations: 23.94 kB / 362.9 MB, free: 1.129 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.117e-05/0.003489, allocations: 56.84 kB / 362.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.003491, allocations: 0 / 362.9 MB, free: 1.07 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 6.611e-05/0.003557, allocations: 93.58 kB / 363 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.003567, allocations: 4 kB / 363 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.003571, allocations: 0 / 363 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.012e-05/0.003581, allocations: 0 / 363 MB, free: 0.9688 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.875e-05/0.00365, allocations: 19.98 kB / 363 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.348e-06/0.003655, allocations: 0 / 363 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.368e-05/0.003668, allocations: 11.89 kB / 363 MB, free: 0.9375 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.569e-06/0.003673, allocations: 4 kB / 363 MB, free: 0.9336 MB / 282.7 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 3.876e-05/0.003712, allocations: 126 kB / 363.2 MB, free: 0.8008 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.268e-05/0.003724, allocations: 4 kB / 363.2 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.869e-05/0.003743, allocations: 8.438 kB / 363.2 MB, free: 0.793 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.003744, allocations: 7.938 kB / 363.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.003748, allocations: 0 / 363.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.00375, allocations: 0 / 363.2 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.67e-05/0.003847, allocations: 180.6 kB / 363.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.41e-07/0.003847, allocations: 0 / 363.4 MB, free: 0.5664 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.789e-05/0.003895, allocations: 23.92 kB / 363.4 MB, free: 0.543 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.003896, allocations: 4 kB / 363.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.003903, allocations: 0 / 363.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.003904, allocations: 0 / 363.4 MB, free: 0.5391 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.003905, allocations: 4 kB / 363.4 MB, free: 0.5352 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000116/0.004021, allocations: 207.4 kB / 363.6 MB, free: 324 kB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-06/0.004027, allocations: 7.984 kB / 363.6 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.352e-05/0.00404, allocations: 0 / 363.6 MB, free: 316 kB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.469e-05/0.004075, allocations: 4 kB / 363.6 MB, free: 312 kB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.004088, allocations: 3.984 kB / 363.6 MB, free: 308 kB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-06/0.004092, allocations: 8 kB / 363.6 MB, free: 300 kB / 282.7 MB Notification: Performance of sorting global known variables: time 1.605e-05/0.004108, allocations: 79.34 kB / 363.7 MB, free: 220 kB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004108, allocations: 4 kB / 363.7 MB, free: 216 kB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001424/0.004251, allocations: 23.89 kB / 363.7 MB, free: 192 kB / 282.7 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.0002893/0.00454, allocations: 0.7436 MB / 364.5 MB, free: 15.41 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 9.588e-05/0.004636, allocations: 55.97 kB / 364.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.283e-06/0.004637, allocations: 0 / 364.5 MB, free: 15.36 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.545e-05/0.004662, allocations: 27.94 kB / 364.6 MB, free: 15.33 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002121/0.004875, allocations: 11.98 kB / 364.6 MB, free: 15.32 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009018/0.005776, allocations: 1.44 MB / 366 MB, free: 13.8 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.466e-05/0.005831, allocations: 77.45 kB / 366.1 MB, free: 13.7 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.936e-05/0.00586, allocations: 11.36 kB / 366.1 MB, free: 13.69 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/0.005903, allocations: 24.5 kB / 366.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of SimCode: time 4.21e-07/0.005903, allocations: 0 / 366.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0142/0.0201, allocations: 2.565 MB / 368.7 MB, free: 11.19 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.067/7.087, allocations: 13.44 kB / 368.7 MB, free: 11.18 MB / 298.7 MB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra_res.csv --start-time 0 --stop-time 100 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 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: 8.839884548448026] Failed to read output from testmodel.py, exit status != 0: 7.168495972640812 7.178827373 7.175270547 Calling exit ...