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.001582/0.001582, allocations: 106.6 kB / 18.94 MB, free: 2.957 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.002615/0.002615, allocations: 223.9 kB / 22.26 MB, free: 5.129 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.712/1.712, allocations: 207.6 MB / 233 MB, free: 10 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.06751/0.06751, allocations: 8.196 MB / 293.5 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.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",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.00234/0.00234, allocations: 77.48 kB / 410.4 MB, free: 46.98 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09884/0.1012, allocations: 50.94 MB / 461.4 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.002247/0.1034, allocations: 0.7144 MB / 462.1 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004663/0.1039, allocations: 195.3 kB / 462.3 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.392e-05/0.104, allocations: 4 kB / 462.3 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 6.214e-05/0.104, allocations: 19.75 kB / 462.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001064/0.1041, allocations: 11.81 kB / 462.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001837/0.1043, allocations: 51.94 kB / 462.4 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002208/0.1045, allocations: 139.7 kB / 462.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001991/0.1047, allocations: 65.75 kB / 462.6 MB, free: 12.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.842e-05/0.1048, allocations: 59.78 kB / 462.6 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.1049, allocations: 75.62 kB / 462.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.105, allocations: 24 kB / 462.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.643e-05/0.105, allocations: 16 kB / 462.7 MB, free: 12.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.806e-05/0.1051, allocations: 47.83 kB / 462.8 MB, free: 12.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 8.027e-05/0.1051, allocations: 79.53 kB / 462.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000229/0.1054, allocations: 187.5 kB / 463 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1054, allocations: 0 / 463 MB, free: 11.84 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1054, allocations: 0 / 463 MB, free: 11.84 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.174e-06/0.1054, allocations: 4 kB / 463 MB, free: 11.84 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.0006621/0.106, allocations: 398 kB / 463.4 MB, free: 11.41 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/0.1061, allocations: 11.98 kB / 463.4 MB, free: 11.4 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.686e-05/0.1062, allocations: 54.73 kB / 463.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.143e-05/0.1062, allocations: 20.8 kB / 463.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002411/0.1064, allocations: 154.3 kB / 463.7 MB, free: 11.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.1065, allocations: 16.73 kB / 463.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.521e-05/0.1065, allocations: 20.38 kB / 463.7 MB, free: 11.11 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003193/0.1068, allocations: 165.2 kB / 463.9 MB, free: 10.94 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.1068, allocations: 11.89 kB / 463.9 MB, free: 10.93 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.1069, allocations: 7.938 kB / 463.9 MB, free: 10.92 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1069, allocations: 7.938 kB / 463.9 MB, free: 10.91 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002138/0.1071, allocations: 111.7 kB / 464 MB, free: 10.8 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00093/0.108, allocations: 0.5382 MB / 464.5 MB, free: 10.22 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002508/0.1083, allocations: 122.5 kB / 464.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001275/0.1084, allocations: 68.84 kB / 464.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.433e-05/0.1084, allocations: 0 / 464.7 MB, free: 10.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.1084, allocations: 38.56 kB / 464.8 MB, free: 9.977 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.062e-06/0.1084, allocations: 0 / 464.8 MB, free: 9.977 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.000417/0.1089, allocations: 181.8 kB / 464.9 MB, free: 9.793 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.778e-05/0.1089, allocations: 51.41 kB / 465 MB, free: 9.73 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.109, allocations: 136.6 kB / 465.1 MB, free: 9.59 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.724e-05/0.1091, allocations: 29.7 kB / 465.2 MB, free: 9.555 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.848e-05/0.1091, allocations: 128.5 kB / 465.3 MB, free: 9.426 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.1092, allocations: 55.47 kB / 465.3 MB, free: 9.371 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.508e-05/0.1093, allocations: 37.66 kB / 465.4 MB, free: 9.328 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1094, allocations: 322.8 kB / 465.7 MB, free: 9.004 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.1095, allocations: 39.98 kB / 465.7 MB, free: 8.965 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.935e-05/0.1096, allocations: 42.33 kB / 465.8 MB, free: 8.926 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.1097, allocations: 104.8 kB / 465.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1097, allocations: 0 / 465.9 MB, free: 8.82 MB / 334.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002261/0.11, allocations: 151.2 kB / 466 MB, free: 8.668 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.724e-05/0.11, allocations: 4 kB / 466 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.11, allocations: 0 / 466 MB, free: 8.664 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.11, allocations: 3.984 kB / 466 MB, free: 8.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001949/0.1102, allocations: 39.91 kB / 466.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.1102, allocations: 0 / 466.1 MB, free: 8.621 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.684e-05/0.1103, allocations: 11.94 kB / 466.1 MB, free: 8.609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.1103, allocations: 0 / 466.1 MB, free: 8.609 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.0001355/0.1104, allocations: 129.8 kB / 466.2 MB, free: 8.473 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.945e-05/0.1104, allocations: 11.91 kB / 466.2 MB, free: 8.461 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.261e-05/0.1105, allocations: 20.42 kB / 466.2 MB, free: 8.438 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.1105, allocations: 3.938 kB / 466.2 MB, free: 8.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.1105, allocations: 4 kB / 466.2 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.1105, allocations: 3.938 kB / 466.2 MB, free: 8.426 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.1108, allocations: 240.6 kB / 466.5 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1108, allocations: 0 / 466.5 MB, free: 8.148 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001658/0.111, allocations: 23.98 kB / 466.5 MB, free: 8.125 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.111, allocations: 7.984 kB / 466.5 MB, free: 8.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.364e-05/0.111, allocations: 8 kB / 466.5 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.111, allocations: 3.938 kB / 466.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.111, allocations: 0 / 466.5 MB, free: 8.105 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.1114, allocations: 299.2 kB / 466.8 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.78e-05/0.1114, allocations: 7.953 kB / 466.8 MB, free: 7.789 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.915e-05/0.1114, allocations: 4 kB / 466.8 MB, free: 7.785 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.154e-05/0.1115, allocations: 4 kB / 466.8 MB, free: 7.781 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.363e-05/0.1115, allocations: 15.97 kB / 466.8 MB, free: 7.766 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.1115, allocations: 4 kB / 466.8 MB, free: 7.762 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.483e-05/0.1116, allocations: 99.25 kB / 466.9 MB, free: 7.664 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1116, allocations: 4 kB / 466.9 MB, free: 7.66 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002432/0.1118, allocations: 39.78 kB / 467 MB, free: 7.621 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.0006853/0.1125, allocations: 0.8214 MB / 467.8 MB, free: 6.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002266/0.1128, allocations: 104 kB / 467.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.1128, allocations: 0 / 467.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 8.732e-05/0.1128, allocations: 59.92 kB / 468 MB, free: 6.617 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1132, allocations: 24.86 kB / 468 MB, free: 6.594 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002132/0.1154, allocations: 1.768 MB / 469.8 MB, free: 4.746 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004683/0.1158, allocations: 0.7352 MB / 470.5 MB, free: 3.984 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.556e-05/0.1159, allocations: 8.359 kB / 470.5 MB, free: 3.973 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.116, allocations: 47.41 kB / 470.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of SimCode: time 2.91e-07/0.116, allocations: 0 / 470.5 MB, free: 3.926 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03226/0.1483, allocations: 2.846 MB / 473.4 MB, free: 1.133 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.97/11.12, allocations: 11.89 kB / 473.4 MB, free: 1.121 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: 14.278521471191198] Failed to read output from testmodel.py, exit status != 0: 11.230107431998476 11.258325919 11.1494946 Calling exit ...