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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007925/0.007925, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.873/1.873, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04102/0.04102, allocations: 8.108 MB / 278.8 MB, free: 13.11 MB / 238.1 MB 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.0005995/0.0005995, allocations: 15.98 kB / 339 MB, free: 26.57 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1234/0.124, allocations: 49.27 MB / 388.3 MB, free: 9.246 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra): time 0.0007524/0.1248, allocations: 289.9 kB / 388.5 MB, free: 8.965 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003244/0.1251, allocations: 115.6 kB / 388.7 MB, free: 8.852 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.755e-05/0.1252, allocations: 4 kB / 388.7 MB, free: 8.848 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 3.192e-05/0.1252, allocations: 3.938 kB / 388.7 MB, free: 8.844 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.115e-05/0.1253, allocations: 3.938 kB / 388.7 MB, free: 8.84 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001828/0.1255, allocations: 27.97 kB / 388.7 MB, free: 8.812 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001468/0.1257, allocations: 63.84 kB / 388.8 MB, free: 8.75 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.1258, allocations: 35.97 kB / 388.8 MB, free: 8.715 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.298e-05/0.1259, allocations: 23.86 kB / 388.8 MB, free: 8.691 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.042e-05/0.126, allocations: 35.84 kB / 388.8 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.071e-05/0.126, allocations: 4 kB / 388.9 MB, free: 8.652 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.683e-05/0.126, allocations: 4 kB / 388.9 MB, free: 8.648 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.77e-05/0.1261, allocations: 15.92 kB / 388.9 MB, free: 8.633 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.129e-05/0.1261, allocations: 61.5 kB / 388.9 MB, free: 8.566 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.1263, allocations: 91.52 kB / 389 MB, free: 8.477 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.1263, allocations: 0 / 389 MB, free: 8.477 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.1263, allocations: 0 / 389 MB, free: 8.477 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.019e-05/0.1263, allocations: 0 / 389 MB, free: 8.477 MB / 286.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.0006644/0.127, allocations: 379.7 kB / 389.4 MB, free: 8.055 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.127, allocations: 8.031 kB / 389.4 MB, free: 8.047 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.641e-05/0.1271, allocations: 42.73 kB / 389.4 MB, free: 7.996 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.999e-05/0.1272, allocations: 8.844 kB / 389.4 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.1274, allocations: 192.2 kB / 389.6 MB, free: 7.762 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1274, allocations: 4.562 kB / 389.6 MB, free: 7.758 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.1275, allocations: 12.38 kB / 389.7 MB, free: 7.746 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002592/0.1277, allocations: 101.8 kB / 389.8 MB, free: 7.641 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.1277, allocations: 0 / 389.8 MB, free: 7.641 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.1278, allocations: 4 kB / 389.8 MB, free: 7.637 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.838e-06/0.1278, allocations: 8 kB / 389.8 MB, free: 7.629 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.1279, allocations: 51.97 kB / 389.8 MB, free: 7.578 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006811/0.1286, allocations: 400.6 kB / 390.2 MB, free: 7.137 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001855/0.1288, allocations: 86.5 kB / 390.3 MB, free: 7.043 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.831e-05/0.1289, allocations: 40.84 kB / 390.3 MB, free: 7 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.1289, allocations: 7.938 kB / 390.3 MB, free: 6.992 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.608e-05/0.1289, allocations: 30.56 kB / 390.4 MB, free: 6.953 MB / 286.1 MB Notification: Performance of pre-optimization done (n=8): time 2.525e-06/0.1289, allocations: 3.984 kB / 390.4 MB, free: 6.949 MB / 286.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002542/0.1292, allocations: 101.8 kB / 390.5 MB, free: 6.844 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.546e-05/0.1293, allocations: 51.41 kB / 390.5 MB, free: 6.781 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.1294, allocations: 121.8 kB / 390.6 MB, free: 6.652 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.1294, allocations: 29.7 kB / 390.7 MB, free: 6.617 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000143/0.1295, allocations: 103.9 kB / 390.8 MB, free: 6.512 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.1296, allocations: 31.78 kB / 390.8 MB, free: 6.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.319e-05/0.1296, allocations: 17.72 kB / 390.8 MB, free: 6.457 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.1298, allocations: 314.8 kB / 391.1 MB, free: 6.141 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.011e-05/0.1298, allocations: 20 kB / 391.1 MB, free: 6.121 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.199e-05/0.1299, allocations: 19.98 kB / 391.2 MB, free: 6.102 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001046/0.13, allocations: 64.92 kB / 391.2 MB, free: 6.035 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.13, allocations: 0 / 391.2 MB, free: 6.035 MB / 286.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001309/0.1301, allocations: 85.59 kB / 391.3 MB, free: 5.945 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.1302, allocations: 10.66 kB / 391.3 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1302, allocations: 0 / 391.3 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.1302, allocations: 0 / 391.3 MB, free: 5.938 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1303, allocations: 27.92 kB / 391.3 MB, free: 5.91 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.1303, allocations: 3.938 kB / 391.4 MB, free: 5.906 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.1304, allocations: 3.938 kB / 391.4 MB, free: 5.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.1304, allocations: 4 kB / 391.4 MB, free: 5.898 MB / 286.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.0001224/0.1305, allocations: 121.8 kB / 391.5 MB, free: 5.77 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.1305, allocations: 3.906 kB / 391.5 MB, free: 5.766 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.265e-05/0.1306, allocations: 16.36 kB / 391.5 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1306, allocations: 0 / 391.5 MB, free: 5.75 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/0.1306, allocations: 3.938 kB / 391.5 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1306, allocations: 0 / 391.5 MB, free: 5.746 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002392/0.1308, allocations: 201.6 kB / 391.7 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1309, allocations: 0 / 391.7 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.578e-05/0.131, allocations: 15.94 kB / 391.7 MB, free: 5.484 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.131, allocations: 4 kB / 391.7 MB, free: 5.48 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.544e-05/0.131, allocations: 8 kB / 391.7 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.131, allocations: 0 / 391.7 MB, free: 5.473 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.131, allocations: 7.922 kB / 391.7 MB, free: 5.465 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.1313, allocations: 203.4 kB / 391.9 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.1313, allocations: 89.03 kB / 392 MB, free: 5.145 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.918e-05/0.1313, allocations: 4 kB / 392 MB, free: 5.141 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.052e-05/0.1314, allocations: 4 kB / 392 MB, free: 5.137 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.051e-05/0.1314, allocations: 12 kB / 392 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/0.1315, allocations: 4 kB / 392 MB, free: 5.121 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.425e-05/0.1315, allocations: 91.27 kB / 392.1 MB, free: 5.031 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1315, allocations: 0 / 392.1 MB, free: 5.031 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002137/0.1317, allocations: 20.03 kB / 392.2 MB, free: 5.012 MB / 286.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.0005327/0.1323, allocations: 0.7436 MB / 392.9 MB, free: 4.238 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001355/0.1324, allocations: 55.92 kB / 393 MB, free: 4.184 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1324, allocations: 0 / 393 MB, free: 4.184 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.224e-05/0.1325, allocations: 27.98 kB / 393 MB, free: 4.156 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.1328, allocations: 15.94 kB / 393 MB, free: 4.141 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.1344, allocations: 1.465 MB / 394.5 MB, free: 2.598 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003696/0.1348, allocations: 0.6926 MB / 395.2 MB, free: 1.879 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 4.122e-05/0.1349, allocations: 11.77 kB / 395.2 MB, free: 1.867 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.985e-05/0.1349, allocations: 23.44 kB / 395.2 MB, free: 1.844 MB / 286.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1349, allocations: 3.938 kB / 395.2 MB, free: 1.84 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01247/0.1474, allocations: 1.647 MB / 396.8 MB, free: 316 kB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003296/0.1478, allocations: 237.3 kB / 397.1 MB, free: 52 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.012/2.16, allocations: 0 / 397.1 MB, free: 52 kB / 286.1 MB (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 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ClassicLotkaVolterra.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ClassicLotkaVolterra.pipe 2>&1)