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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005222/0.005222, allocations: 100.4 kB / 15.73 MB, free: 6.023 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.001079/0.001079, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.426/1.426, allocations: 205.1 MB / 222.6 MB, free: 4.543 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04256/0.04256, allocations: 8.105 MB / 278 MB, free: 13.09 MB / 238.1 MB Warning: Ignoring unknown experiment annotation option: Intervals = 0.008 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.001584/0.001584, allocations: 74.41 kB / 386.2 MB, free: 9.578 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2928, allocations: 48.29 MB / 434.5 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002123/0.295, allocations: 1.218 MB / 435.7 MB, free: 6.637 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005269/0.2955, allocations: 378.1 kB / 436 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.2956, allocations: 6.688 kB / 436.1 MB, free: 6.352 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 8.343e-05/0.2957, allocations: 56.23 kB / 436.1 MB, free: 6.305 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001515/0.2959, allocations: 46.77 kB / 436.2 MB, free: 6.266 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.2961, allocations: 142.1 kB / 436.3 MB, free: 6.176 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000354/0.2965, allocations: 395 kB / 436.7 MB, free: 5.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003335/0.2968, allocations: 251 kB / 436.9 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.2969, allocations: 172.6 kB / 437.1 MB, free: 5.738 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001658/0.2971, allocations: 193.5 kB / 437.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.239e-05/0.2972, allocations: 58.62 kB / 437.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.219e-05/0.2973, allocations: 58.25 kB / 437.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.688e-05/0.2973, allocations: 121.6 kB / 437.5 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001328/0.2975, allocations: 222.3 kB / 437.7 MB, free: 5.359 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005266/0.298, allocations: 0.5818 MB / 438.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.298, allocations: 0 / 438.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.298, allocations: 1.375 kB / 438.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.057e-06/0.298, allocations: 0 / 438.3 MB, free: 5.121 MB / 318.1 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.0008666/0.2989, allocations: 0.7196 MB / 439 MB, free: 4.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.299, allocations: 14 kB / 439 MB, free: 4.539 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.545e-05/0.2991, allocations: 82.25 kB / 439.1 MB, free: 4.473 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.402e-05/0.2991, allocations: 56.44 kB / 439.2 MB, free: 4.445 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003386/0.2995, allocations: 342.4 kB / 439.5 MB, free: 4.137 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.2995, allocations: 35.12 kB / 439.5 MB, free: 4.117 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.359e-05/0.2996, allocations: 42.84 kB / 439.6 MB, free: 4.105 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006376/0.3002, allocations: 425.7 kB / 440 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.436e-05/0.3003, allocations: 10.23 kB / 440 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.594e-05/0.3003, allocations: 21.31 kB / 440 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.452e-05/0.3003, allocations: 10 kB / 440 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004004/0.3007, allocations: 266.6 kB / 440.3 MB, free: 3.77 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001766/0.3025, allocations: 1.425 MB / 441.7 MB, free: 2.828 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005653/0.3031, allocations: 362.7 kB / 442.1 MB, free: 2.617 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.3034, allocations: 170.8 kB / 442.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.3034, allocations: 3.625 kB / 442.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.3034, allocations: 47.23 kB / 442.3 MB, free: 2.473 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.603e-06/0.3034, allocations: 4 kB / 442.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006413/0.3041, allocations: 353.8 kB / 442.7 MB, free: 2.305 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.3041, allocations: 133.4 kB / 442.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002125/0.3043, allocations: 274.4 kB / 443.1 MB, free: 1.988 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.106e-05/0.3044, allocations: 32.45 kB / 443.1 MB, free: 1.953 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.952e-05/0.3045, allocations: 235.3 kB / 443.3 MB, free: 1.762 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.204e-05/0.3045, allocations: 126.1 kB / 443.4 MB, free: 1.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.302e-05/0.3046, allocations: 70.47 kB / 443.5 MB, free: 1.617 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.437e-05/0.3047, allocations: 343.9 kB / 443.8 MB, free: 1.289 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001441/0.3049, allocations: 93.72 kB / 443.9 MB, free: 1.254 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001967/0.3051, allocations: 186.9 kB / 444.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003566/0.3054, allocations: 311.1 kB / 444.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3054, allocations: 0 / 444.4 MB, free: 0.8828 MB / 318.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.000475/0.3059, allocations: 357.3 kB / 444.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.3059, allocations: 10.84 kB / 444.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3059, allocations: 2.469 kB / 444.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.198e-05/0.306, allocations: 9.656 kB / 444.8 MB, free: 0.707 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003497/0.3063, allocations: 82.5 kB / 444.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.3064, allocations: 6.938 kB / 444.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.3065, allocations: 38.53 kB / 444.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.3065, allocations: 15.16 kB / 444.9 MB, free: 0.668 MB / 318.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.3066, allocations: 174.1 kB / 445.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.3067, allocations: 28.38 kB / 445.1 MB, free: 0.5 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.851e-05/0.3068, allocations: 40.97 kB / 445.2 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-06/0.3068, allocations: 8.5 kB / 445.2 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.3068, allocations: 1.625 kB / 445.2 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.3068, allocations: 6.375 kB / 445.2 MB, free: 472 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005839/0.3074, allocations: 462.8 kB / 445.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3074, allocations: 1.891 kB / 445.6 MB, free: 148 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003073/0.3078, allocations: 69.22 kB / 445.7 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.3078, allocations: 5.188 kB / 445.7 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.3078, allocations: 8.438 kB / 445.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.087e-06/0.3078, allocations: 3.047 kB / 445.7 MB, free: 128 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3078, allocations: 5.438 kB / 445.7 MB, free: 124 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006636/0.3085, allocations: 0.7037 MB / 446.4 MB, free: 15.6 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.254e-05/0.3086, allocations: 112.7 kB / 446.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.512e-05/0.3086, allocations: 11.78 kB / 446.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002166/0.3088, allocations: 7.953 kB / 446.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.3089, allocations: 28.81 kB / 446.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.742e-05/0.3089, allocations: 6.969 kB / 446.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001723/0.3091, allocations: 191 kB / 446.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3091, allocations: 1.281 kB / 446.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000437/0.3095, allocations: 83.66 kB / 446.9 MB, free: 15.32 MB / 334.1 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 (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.0008698/0.3104, allocations: 1.259 MB / 448.1 MB, free: 14.26 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004107/0.3108, allocations: 262.8 kB / 448.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3108, allocations: 0 / 448.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001618/0.311, allocations: 124.3 kB / 448.5 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000753/0.3118, allocations: 75.84 kB / 448.6 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003584/0.3154, allocations: 3.378 MB / 452 MB, free: 11.68 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.3158, allocations: 0.8077 MB / 452.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.3159, allocations: 36.78 kB / 452.8 MB, free: 10.96 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001663/0.3161, allocations: 130 kB / 452.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3161, allocations: 0 / 452.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02535/0.3415, allocations: 5.966 MB / 458.9 MB, free: 7.938 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.795/8.137, allocations: 6.297 kB / 458.9 MB, free: 7.938 MB / 334.1 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/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)