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.001594/0.001594, allocations: 184.1 kB / 7.654 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.428/1.428, allocations: 194.3 MB / 202.4 MB, free: 13.02 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.03655/0.03655, allocations: 7.909 MB / 255.2 MB, free: 8.254 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.001691/0.001691, allocations: 132 kB / 301.9 MB, free: 32.18 MB / 234.7 MB Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 Notification: Performance of FrontEnd - loaded program: time 1.478e-05/1.491e-05, allocations: 0 / 354.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2546/0.2547, allocations: 46.19 MB / 400.6 MB, free: 46.4 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0857/0.3404, allocations: 70.49 MB / 471.1 MB, free: 4.406 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001614/0.3406, allocations: 52.73 kB / 471.1 MB, free: 4.355 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01317/0.3538, allocations: 5.715 MB / 476.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3539, allocations: 0.8125 kB / 476.8 MB, free: 14.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.373e-05/0.3539, allocations: 11.94 kB / 476.8 MB, free: 14.73 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.000699/0.3546, allocations: 0.5998 MB / 477.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.3546, allocations: 8.031 kB / 477.4 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.289e-05/0.3547, allocations: 53.84 kB / 477.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003659/0.3551, allocations: 342.1 kB / 477.8 MB, free: 13.66 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.545e-05/0.3551, allocations: 12 kB / 477.8 MB, free: 13.65 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.435e-05/0.3552, allocations: 32.59 kB / 477.9 MB, free: 13.62 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003825/0.3556, allocations: 231 kB / 478.1 MB, free: 13.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005437/0.3561, allocations: 352.6 kB / 478.4 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.186e-05/0.3562, allocations: 4.656 kB / 478.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/0.3562, allocations: 0 / 478.5 MB, free: 13.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.3562, allocations: 12.62 kB / 478.5 MB, free: 13.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001653/0.3579, allocations: 1.367 MB / 479.8 MB, free: 11.62 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004391/0.3583, allocations: 338 kB / 480.2 MB, free: 11.25 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.3585, allocations: 153 kB / 480.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.3586, allocations: 9.312 kB / 480.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.3586, allocations: 46.05 kB / 480.4 MB, free: 11.04 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 1.543e-06/0.3586, allocations: 4 kB / 480.4 MB, free: 11.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0004299/0.359, allocations: 238.7 kB / 480.6 MB, free: 10.8 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.121e-05/0.3591, allocations: 136.5 kB / 480.7 MB, free: 10.63 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.3593, allocations: 230.2 kB / 481 MB, free: 10.4 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.3593, allocations: 25.7 kB / 481 MB, free: 10.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.3595, allocations: 228 kB / 481.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.033e-05/0.3595, allocations: 110.3 kB / 481.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.284e-05/0.3596, allocations: 4 kB / 481.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3597, allocations: 350.7 kB / 481.7 MB, free: 9.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001261/0.3598, allocations: 80.88 kB / 481.7 MB, free: 9.602 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.36, allocations: 167.1 kB / 481.9 MB, free: 9.406 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.3601, allocations: 119.4 kB / 482 MB, free: 9.293 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.3602, allocations: 0 / 482 MB, free: 9.293 MB / 330.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004246/0.3606, allocations: 313.9 kB / 482.3 MB, free: 8.98 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/0.3606, allocations: 8 kB / 482.3 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3606, allocations: 0 / 482.3 MB, free: 8.973 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.3606, allocations: 8 kB / 482.3 MB, free: 8.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003462/0.361, allocations: 91.83 kB / 482.4 MB, free: 8.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.361, allocations: 4 kB / 482.4 MB, free: 8.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001067/0.3611, allocations: 23.59 kB / 482.5 MB, free: 8.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.297e-05/0.3612, allocations: 20.91 kB / 482.5 MB, free: 8.832 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 () * 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 8.346e-05/0.3613, allocations: 116.7 kB / 482.6 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004147/0.3617, allocations: 253.2 kB / 482.8 MB, free: 8.457 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.54e-05/0.3618, allocations: 31.62 kB / 482.9 MB, free: 8.426 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.134e-05/0.3619, allocations: 33.86 kB / 482.9 MB, free: 8.391 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.3619, allocations: 4 kB / 482.9 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3619, allocations: 0 / 482.9 MB, free: 8.387 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3619, allocations: 3.984 kB / 482.9 MB, free: 8.383 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005434/0.3625, allocations: 393.7 kB / 483.3 MB, free: 7.961 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.3625, allocations: 4 kB / 483.3 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.3628, allocations: 71.89 kB / 483.4 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.3628, allocations: 3.953 kB / 483.4 MB, free: 7.883 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.96e-05/0.3628, allocations: 4 kB / 483.4 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3628, allocations: 0.5625 kB / 483.4 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.3628, allocations: 4 kB / 483.4 MB, free: 7.875 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006446/0.3635, allocations: 0.707 MB / 484.1 MB, free: 7.129 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.482e-05/0.3636, allocations: 108.7 kB / 484.2 MB, free: 7.004 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.322e-05/0.3636, allocations: 4 kB / 484.2 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001947/0.3638, allocations: 0 / 484.2 MB, free: 7 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.3639, allocations: 22.41 kB / 484.2 MB, free: 6.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/0.3639, allocations: 16 kB / 484.2 MB, free: 6.965 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001575/0.3641, allocations: 178 kB / 484.4 MB, free: 6.793 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3641, allocations: 4 kB / 484.4 MB, free: 6.789 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004257/0.3645, allocations: 63.69 kB / 484.5 MB, free: 6.727 MB / 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 () * 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.0009214/0.3654, allocations: 1.468 MB / 485.9 MB, free: 5.227 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003828/0.3658, allocations: 227.8 kB / 486.2 MB, free: 5.004 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3658, allocations: 4 kB / 486.2 MB, free: 5 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.366, allocations: 112.4 kB / 486.3 MB, free: 4.891 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000513/0.3665, allocations: 60.83 kB / 486.3 MB, free: 4.832 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.3678, allocations: 0.6404 MB / 487 MB, free: 4.145 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.3682, allocations: 0.823 MB / 487.8 MB, free: 3.293 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001627/0.3683, allocations: 44.77 kB / 487.9 MB, free: 3.262 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001638/0.3685, allocations: 127.4 kB / 488 MB, free: 3.137 MB / 330.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3685, allocations: 4 kB / 488 MB, free: 3.133 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02641/0.3949, allocations: 5.491 MB / 493.5 MB, free: 13.75 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.3952, allocations: 171 kB / 493.6 MB, free: 13.56 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.267, allocations: 10.91 kB / 493.6 MB, free: 13.55 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)