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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) 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.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.005721/0.005721, allocations: 174.8 kB / 15.12 MB, free: 6.039 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.379/1.379, allocations: 194.5 MB / 210.3 MB, free: 7.625 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03742/0.03742, allocations: 8.096 MB / 263.6 MB, free: 2.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001595/0.001595, allocations: 116.5 kB / 310.6 MB, free: 27.02 MB / 234.7 MB Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003656, allocations: 8 kB / 367.4 MB, free: 2.191 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2357, allocations: 46.2 MB / 413.5 MB, free: 47.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08359/0.3194, allocations: 71.24 MB / 484.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001767/0.3196, allocations: 47.98 kB / 484.8 MB, free: 14.47 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01322/0.3328, allocations: 5.769 MB / 490.6 MB, free: 8.723 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.3329, allocations: 0 / 490.6 MB, free: 8.723 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.101e-05/0.3329, allocations: 12 kB / 490.6 MB, free: 8.711 MB / 330.7 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.0008113/0.3338, allocations: 0.6434 MB / 491.3 MB, free: 8.02 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.367e-05/0.3338, allocations: 8.031 kB / 491.3 MB, free: 8.012 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.542e-05/0.3339, allocations: 82.53 kB / 491.4 MB, free: 7.922 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.334, allocations: 55.44 kB / 491.4 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004273/0.3344, allocations: 346 kB / 491.7 MB, free: 7.488 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.424e-05/0.3345, allocations: 33 kB / 491.8 MB, free: 7.457 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.3345, allocations: 47.94 kB / 491.8 MB, free: 7.41 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006128/0.3352, allocations: 421.8 kB / 492.2 MB, free: 6.984 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.183e-05/0.3352, allocations: 7.844 kB / 492.2 MB, free: 6.977 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.535e-05/0.3352, allocations: 19.94 kB / 492.3 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.089e-05/0.3352, allocations: 16 kB / 492.3 MB, free: 6.941 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004095/0.3357, allocations: 255.8 kB / 492.5 MB, free: 6.691 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001845/0.3375, allocations: 1.444 MB / 494 MB, free: 5.184 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.338, allocations: 354.2 kB / 494.3 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.3381, allocations: 0.625 kB / 494.3 MB, free: 4.801 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.3381, allocations: 46.48 kB / 494.4 MB, free: 4.746 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 2.434e-06/0.3381, allocations: 4 kB / 494.4 MB, free: 4.742 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0006271/0.3388, allocations: 349.1 kB / 494.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.836e-05/0.3388, allocations: 132.5 kB / 494.8 MB, free: 4.234 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002307/0.3391, allocations: 242.1 kB / 495.1 MB, free: 3.988 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.3391, allocations: 33.7 kB / 495.1 MB, free: 3.949 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.3393, allocations: 228 kB / 495.3 MB, free: 3.723 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.941e-05/0.3394, allocations: 126.2 kB / 495.5 MB, free: 3.598 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.401e-05/0.3394, allocations: 8 kB / 495.5 MB, free: 3.59 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3395, allocations: 342.8 kB / 495.8 MB, free: 3.246 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/0.3397, allocations: 92.83 kB / 495.9 MB, free: 3.156 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002061/0.3399, allocations: 182.6 kB / 496.1 MB, free: 2.945 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.3401, allocations: 132 kB / 496.2 MB, free: 2.816 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3401, allocations: 0 / 496.2 MB, free: 2.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005147/0.3406, allocations: 357 kB / 496.5 MB, free: 2.461 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/0.3407, allocations: 8 kB / 496.5 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3407, allocations: 0 / 496.5 MB, free: 2.453 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.3407, allocations: 8 kB / 496.6 MB, free: 2.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.3411, allocations: 91.83 kB / 496.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.3411, allocations: 4 kB / 496.6 MB, free: 2.352 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001185/0.3412, allocations: 31.69 kB / 496.7 MB, free: 2.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.3412, allocations: 13.25 kB / 496.7 MB, free: 2.309 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002222/0.3415, allocations: 177.9 kB / 496.9 MB, free: 2.125 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.3416, allocations: 39.52 kB / 496.9 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001016/0.3417, allocations: 37.73 kB / 496.9 MB, free: 2.051 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.3417, allocations: 4 kB / 496.9 MB, free: 2.047 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.3417, allocations: 4 kB / 497 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.3417, allocations: 0 / 497 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006364/0.3424, allocations: 453.2 kB / 497.4 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3424, allocations: 0 / 497.4 MB, free: 1.551 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/0.3427, allocations: 72.27 kB / 497.5 MB, free: 1.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.3427, allocations: 7.953 kB / 497.5 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.147e-05/0.3428, allocations: 8 kB / 497.5 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.3428, allocations: 0 / 497.5 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.3428, allocations: 7.938 kB / 497.5 MB, free: 1.457 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006438/0.3434, allocations: 0.7343 MB / 498.2 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.3435, allocations: 112.7 kB / 498.3 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.3435, allocations: 8 kB / 498.3 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.3438, allocations: 8 kB / 498.3 MB, free: 0.5391 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.269e-05/0.3438, allocations: 15.98 kB / 498.4 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.869e-05/0.3438, allocations: 15.98 kB / 498.4 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001651/0.344, allocations: 193.9 kB / 498.6 MB, free: 328 kB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.344, allocations: 0 / 498.6 MB, free: 328 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004498/0.3445, allocations: 87.62 kB / 498.7 MB, free: 240 kB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009347/0.3454, allocations: 1.506 MB / 0.4884 GB, free: 14.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004064/0.3458, allocations: 255.7 kB / 0.4887 GB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.3458, allocations: 160 / 0.4887 GB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001496/0.346, allocations: 123.8 kB / 0.4888 GB, free: 14.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.3465, allocations: 67.08 kB / 0.4889 GB, free: 14.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.3496, allocations: 3.698 MB / 0.4925 GB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003452/0.35, allocations: 0.8232 MB / 0.4933 GB, free: 9.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000151/0.3501, allocations: 30.86 kB / 0.4933 GB, free: 9.562 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001516/0.3503, allocations: 131.4 kB / 0.4934 GB, free: 9.434 MB / 346.7 MB Notification: Performance of SimCode: time 5.51e-07/0.3503, allocations: 4.75 kB / 0.4934 GB, free: 9.43 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01658/0.3669, allocations: 5.918 MB / 0.4992 GB, free: 3.668 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002386/0.3672, allocations: 215.8 kB / 0.4994 GB, free: 3.422 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.213, allocations: 0 / 0.4994 GB, free: 3.422 MB / 346.7 MB (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/linux/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations_fmu --startTime=0 --stopTime=40 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Subsystems_LotkaVolterra_Examples_UnconnectedPopulations.fmu > ModelicaByExample_ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations.pipe 2>&1)