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.0067/0.0067, allocations: 100.8 kB / 15.73 MB, free: 6.477 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.001489/0.001489, allocations: 190.1 kB / 16.67 MB, free: 6.391 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.629/1.629, 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.04185/0.04185, allocations: 8.117 MB / 278 MB, free: 13.08 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.001385/0.001385, allocations: 68.53 kB / 386.2 MB, free: 9.574 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.328, allocations: 48.3 MB / 434.5 MB, free: 7.465 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Subsystems.LotkaVolterra.Examples.UnconnectedPopulations): time 0.002937/0.331, allocations: 1.212 MB / 435.7 MB, free: 6.641 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008297/0.3318, allocations: 374.6 kB / 436 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.332, allocations: 6.969 kB / 436 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.3321, allocations: 49.77 kB / 436.1 MB, free: 6.32 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001889/0.3323, allocations: 56.75 kB / 436.1 MB, free: 6.27 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.3327, allocations: 137.8 kB / 436.3 MB, free: 6.184 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004748/0.3332, allocations: 391.7 kB / 436.7 MB, free: 5.98 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003841/0.3335, allocations: 262.9 kB / 436.9 MB, free: 5.848 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001278/0.3337, allocations: 168.6 kB / 437.1 MB, free: 5.742 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000191/0.3339, allocations: 197.5 kB / 437.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 7.916e-05/0.334, allocations: 58.16 kB / 437.3 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-05/0.334, allocations: 59.31 kB / 437.4 MB, free: 5.617 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.194e-05/0.3341, allocations: 116.2 kB / 437.5 MB, free: 5.531 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001519/0.3343, allocations: 219.3 kB / 437.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006368/0.3349, allocations: 0.5892 MB / 438.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.335, allocations: 1.125 kB / 438.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.335, allocations: 0 / 438.3 MB, free: 5.121 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.335, allocations: 4 kB / 438.3 MB, free: 5.117 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.001063/0.336, allocations: 0.7161 MB / 439 MB, free: 4.543 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/0.3361, allocations: 10.41 kB / 439 MB, free: 4.543 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.925e-05/0.3362, allocations: 84.31 kB / 439.1 MB, free: 4.477 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001195/0.3363, allocations: 55.78 kB / 439.2 MB, free: 4.449 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003735/0.3367, allocations: 338.5 kB / 439.5 MB, free: 4.145 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.475e-05/0.3368, allocations: 35.25 kB / 439.5 MB, free: 4.125 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.371e-05/0.3368, allocations: 45.91 kB / 439.6 MB, free: 4.109 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007581/0.3376, allocations: 428.7 kB / 440 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.526e-05/0.3376, allocations: 9.125 kB / 440 MB, free: 3.887 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.082e-05/0.3377, allocations: 21.31 kB / 440 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.017e-05/0.3377, allocations: 10.7 kB / 440 MB, free: 3.871 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004272/0.3382, allocations: 262.4 kB / 440.3 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001896/0.3401, allocations: 1.433 MB / 441.7 MB, free: 2.824 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000643/0.3407, allocations: 355.3 kB / 442.1 MB, free: 2.621 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002678/0.341, allocations: 175.1 kB / 442.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.341, allocations: 3.906 kB / 442.3 MB, free: 2.523 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.3411, allocations: 42.55 kB / 442.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of pre-optimization done (n=32): time 1.744e-06/0.3411, allocations: 0 / 442.3 MB, free: 2.477 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.0006592/0.3417, allocations: 357.3 kB / 442.7 MB, free: 2.309 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.3418, allocations: 137.2 kB / 442.8 MB, free: 2.148 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002909/0.3421, allocations: 270.5 kB / 443 MB, free: 1.992 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.835e-05/0.3421, allocations: 32.45 kB / 443.1 MB, free: 1.957 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001308/0.3423, allocations: 231.2 kB / 443.3 MB, free: 1.77 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.788e-05/0.3423, allocations: 126.3 kB / 443.4 MB, free: 1.668 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.3424, allocations: 69.91 kB / 443.5 MB, free: 1.625 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 8.195e-05/0.3425, allocations: 340.5 kB / 443.8 MB, free: 1.301 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001486/0.3427, allocations: 94.05 kB / 443.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002044/0.3429, allocations: 198.6 kB / 444.1 MB, free: 1.105 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003676/0.3433, allocations: 302.5 kB / 444.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.3433, allocations: 5.312 kB / 444.4 MB, free: 0.8867 MB / 318.1 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004811/0.3438, allocations: 361.5 kB / 444.8 MB, free: 0.7148 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/0.3438, allocations: 9.125 kB / 444.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3438, allocations: 3.562 kB / 444.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.3438, allocations: 5.219 kB / 444.8 MB, free: 0.7109 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003432/0.3442, allocations: 87.23 kB / 444.9 MB, free: 0.7031 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.3442, allocations: 8.938 kB / 444.9 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.3443, allocations: 35.91 kB / 444.9 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.009e-05/0.3443, allocations: 15.56 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.0001334/0.3445, allocations: 172.7 kB / 445.1 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001006/0.3446, allocations: 33.83 kB / 445.1 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.377e-05/0.3447, allocations: 35.52 kB / 445.2 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.3447, allocations: 4.656 kB / 445.2 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.867e-06/0.3447, allocations: 1.25 kB / 445.2 MB, free: 480 kB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3447, allocations: 7.031 kB / 445.2 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005999/0.3453, allocations: 470.9 kB / 445.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.3453, allocations: 0.5625 kB / 445.6 MB, free: 144 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003123/0.3456, allocations: 62.09 kB / 445.7 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3456, allocations: 7.25 kB / 445.7 MB, free: 136 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.3457, allocations: 7.625 kB / 445.7 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.3457, allocations: 2.656 kB / 445.7 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.3457, allocations: 1.562 kB / 445.7 MB, free: 132 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007051/0.3464, allocations: 0.7038 MB / 446.4 MB, free: 15.61 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000101/0.3465, allocations: 116.8 kB / 446.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.96e-05/0.3466, allocations: 7.344 kB / 446.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002156/0.3468, allocations: 11.36 kB / 446.6 MB, free: 15.48 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/0.3468, allocations: 24.5 kB / 446.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.13e-05/0.3469, allocations: 12.02 kB / 446.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001848/0.347, allocations: 190.9 kB / 446.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3471, allocations: 0 / 446.8 MB, free: 15.35 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004563/0.3475, allocations: 80 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.001068/0.3486, allocations: 1.264 MB / 448.1 MB, free: 14.27 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004652/0.3491, allocations: 259.2 kB / 448.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.3491, allocations: 5.312 kB / 448.4 MB, free: 14.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.3493, allocations: 122.9 kB / 448.5 MB, free: 14.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007839/0.3501, allocations: 72.84 kB / 448.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004614/0.3547, allocations: 3.376 MB / 451.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005822/0.3553, allocations: 0.808 MB / 452.8 MB, free: 10.98 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002072/0.3556, allocations: 40.69 kB / 452.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002123/0.3558, allocations: 133.1 kB / 452.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of SimCode: time 9.52e-07/0.3558, allocations: 1.281 kB / 452.9 MB, free: 10.87 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02552/0.3813, allocations: 5.961 MB / 458.9 MB, free: 7.941 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.933/8.315, allocations: 4.953 kB / 458.9 MB, free: 7.941 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)