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.001364/0.001364, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001731/0.001731, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.682/1.682, allocations: 207.6 MB / 233 MB, free: 9.969 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.05337/0.05337, allocations: 8.193 MB / 293.5 MB, free: 13.64 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="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: 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.00228/0.00228, allocations: 78.22 kB / 410.4 MB, free: 47.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1143, allocations: 50.93 MB / 461.4 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.002018/0.1163, allocations: 0.5624 MB / 461.9 MB, free: 12.93 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003483/0.1167, allocations: 128 kB / 462 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.564e-05/0.1167, allocations: 0 / 462 MB, free: 12.81 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 5.038e-05/0.1168, allocations: 11.88 kB / 462.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.745e-05/0.1169, allocations: 11.88 kB / 462.1 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001571/0.117, allocations: 23.97 kB / 462.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001706/0.1172, allocations: 71.83 kB / 462.2 MB, free: 12.69 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001622/0.1173, allocations: 35.95 kB / 462.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.211e-05/0.1174, allocations: 35.81 kB / 462.2 MB, free: 12.62 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.7e-05/0.1175, allocations: 35.83 kB / 462.3 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.881e-05/0.1175, allocations: 12 kB / 462.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.852e-05/0.1175, allocations: 8 kB / 462.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.151e-05/0.1176, allocations: 15.94 kB / 462.3 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.387e-05/0.1176, allocations: 35.8 kB / 462.3 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001666/0.1178, allocations: 99.81 kB / 462.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.613e-06/0.1178, allocations: 0 / 462.4 MB, free: 12.42 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.415e-06/0.1178, allocations: 7.938 kB / 462.4 MB, free: 12.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.531e-05/0.1178, allocations: 0 / 462.4 MB, free: 12.41 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.0005312/0.1183, allocations: 310.3 kB / 462.7 MB, free: 12.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.794e-05/0.1184, allocations: 11.98 kB / 462.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.94e-05/0.1184, allocations: 42.73 kB / 462.8 MB, free: 12.01 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.1185, allocations: 16.84 kB / 462.8 MB, free: 12 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.1187, allocations: 130.4 kB / 462.9 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.1187, allocations: 8.562 kB / 463 MB, free: 11.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.688e-05/0.1187, allocations: 4.375 kB / 463 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.1189, allocations: 97.78 kB / 463.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.487e-05/0.119, allocations: 4 kB / 463.1 MB, free: 11.73 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.119, allocations: 8 kB / 463.1 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.119, allocations: 4 kB / 463.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001105/0.1191, allocations: 51.92 kB / 463.1 MB, free: 11.66 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000661/0.1198, allocations: 375.7 kB / 463.5 MB, free: 11.25 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000195/0.12, allocations: 74.55 kB / 463.6 MB, free: 11.17 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.403e-05/0.12, allocations: 40.84 kB / 463.6 MB, free: 11.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.12, allocations: 7.938 kB / 463.6 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.1201, allocations: 30.56 kB / 463.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.1201, allocations: 0 / 463.6 MB, free: 11.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002611/0.1203, allocations: 97.62 kB / 463.7 MB, free: 10.98 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.954e-05/0.1204, allocations: 51.56 kB / 463.8 MB, free: 10.92 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00011/0.1205, allocations: 126.1 kB / 463.9 MB, free: 10.79 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.191e-05/0.1205, allocations: 29.7 kB / 463.9 MB, free: 10.75 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.514e-05/0.1206, allocations: 104 kB / 464 MB, free: 10.64 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.708e-05/0.1206, allocations: 31.73 kB / 464.1 MB, free: 10.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.163e-05/0.1206, allocations: 25.72 kB / 464.1 MB, free: 10.58 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001641/0.1208, allocations: 314.8 kB / 464.4 MB, free: 10.27 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.702e-05/0.1209, allocations: 20 kB / 464.4 MB, free: 10.25 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.895e-05/0.1209, allocations: 23.92 kB / 464.4 MB, free: 10.22 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000107/0.121, allocations: 56.98 kB / 464.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.121, allocations: 0 / 464.5 MB, free: 10.16 MB / 334.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001465/0.1212, allocations: 93.58 kB / 464.6 MB, free: 10.07 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.872e-05/0.1212, allocations: 8 kB / 464.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1212, allocations: 0 / 464.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.1212, allocations: 0 / 464.6 MB, free: 10.06 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1213, allocations: 15.98 kB / 464.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1213, allocations: 7.938 kB / 464.6 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.1213, allocations: 7.953 kB / 464.6 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.1214, allocations: 0 / 464.6 MB, free: 10.03 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 0.0001148/0.1215, allocations: 121.8 kB / 464.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.535e-05/0.1215, allocations: 0 / 464.7 MB, free: 9.898 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.241e-05/0.1215, allocations: 20.36 kB / 464.8 MB, free: 9.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1215, allocations: 3.938 kB / 464.8 MB, free: 9.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.1215, allocations: 7.922 kB / 464.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.1216, allocations: 0 / 464.8 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002283/0.1218, allocations: 176.7 kB / 465 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1218, allocations: 0 / 465 MB, free: 9.652 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.75e-05/0.1219, allocations: 12 kB / 465 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1219, allocations: 0 / 465 MB, free: 9.641 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.476e-05/0.1219, allocations: 8 kB / 465 MB, free: 9.633 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1219, allocations: 4 kB / 465 MB, free: 9.629 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1219, allocations: 3.938 kB / 465 MB, free: 9.625 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002831/0.1222, allocations: 207.5 kB / 465.2 MB, free: 9.406 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.327e-05/0.1222, allocations: 15.86 kB / 465.2 MB, free: 9.391 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/0.1222, allocations: 7.984 kB / 465.2 MB, free: 9.383 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.535e-05/0.1223, allocations: 4 kB / 465.2 MB, free: 9.379 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.269e-05/0.1223, allocations: 3.938 kB / 465.2 MB, free: 9.375 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.533e-06/0.1223, allocations: 8.062 kB / 465.2 MB, free: 9.367 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.272e-05/0.1224, allocations: 87.27 kB / 465.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1224, allocations: 0 / 465.3 MB, free: 9.281 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002275/0.1226, allocations: 19.95 kB / 465.3 MB, free: 9.262 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.0005861/0.1232, allocations: 0.736 MB / 466.1 MB, free: 8.5 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001915/0.1234, allocations: 59.97 kB / 466.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1234, allocations: 0 / 466.1 MB, free: 8.441 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.156e-05/0.1234, allocations: 31.92 kB / 466.2 MB, free: 8.41 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003656/0.1238, allocations: 18.28 kB / 466.2 MB, free: 8.395 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001848/0.1256, allocations: 1.418 MB / 467.6 MB, free: 6.895 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005472/0.1262, allocations: 0.6963 MB / 468.3 MB, free: 6.172 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 5.311e-05/0.1262, allocations: 4 kB / 468.3 MB, free: 6.168 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.1263, allocations: 31.42 kB / 468.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of SimCode: time 3e-07/0.1263, allocations: 0 / 468.3 MB, free: 6.137 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03522/0.1615, allocations: 2.021 MB / 470.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.02/11.18, allocations: 8.016 kB / 470.3 MB, free: 4.16 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: 14.231470083119348] Failed to read output from testmodel.py, exit status != 0: 11.286658019991592 11.303502134 11.18235261 Calling exit ...