Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.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.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies,fileNamePrefix="ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies",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.00154/0.00154, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 195.2 kB / 16.53 MB, free: 6.699 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.454/1.454, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaByExample 0.6.0/package.mo): time 0.04145/0.04145, allocations: 8.105 MB / 277.9 MB, free: 13.18 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.001445/0.001445, allocations: 71.89 kB / 337.3 MB, free: 26.42 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08951/0.09096, allocations: 48.3 MB / 385.6 MB, free: 10.07 MB / 286.1 MB Notification: Performance of NFInst.instantiate(ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies): time 0.002115/0.09312, allocations: 0.7127 MB / 386.3 MB, free: 9.348 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004095/0.09355, allocations: 179.3 kB / 386.5 MB, free: 9.172 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.446e-05/0.09362, allocations: 0 / 386.5 MB, free: 9.172 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.785e-05/0.0937, allocations: 19.75 kB / 386.5 MB, free: 9.152 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.402e-05/0.0938, allocations: 11.81 kB / 386.5 MB, free: 9.141 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001953/0.094, allocations: 51.94 kB / 386.6 MB, free: 9.09 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002677/0.09427, allocations: 143.7 kB / 386.7 MB, free: 8.949 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000218/0.0945, allocations: 73.62 kB / 386.8 MB, free: 8.875 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.49e-05/0.09457, allocations: 67.78 kB / 386.8 MB, free: 8.809 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001096/0.09469, allocations: 75.61 kB / 386.9 MB, free: 8.734 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.29e-05/0.09473, allocations: 16 kB / 386.9 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.64e-05/0.09476, allocations: 20 kB / 387 MB, free: 8.699 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.239e-05/0.09481, allocations: 43.83 kB / 387 MB, free: 8.656 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 7.357e-05/0.09489, allocations: 75.61 kB / 387.1 MB, free: 8.582 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.09509, allocations: 187.3 kB / 387.3 MB, free: 8.398 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.0951, allocations: 0 / 387.3 MB, free: 8.398 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.934e-06/0.0951, allocations: 0 / 387.3 MB, free: 8.398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.09512, allocations: 0 / 387.3 MB, free: 8.398 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0005851/0.09571, allocations: 475.5 kB / 387.7 MB, free: 7.879 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.625e-05/0.09575, allocations: 12.02 kB / 387.7 MB, free: 7.867 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.438e-05/0.09581, allocations: 54.73 kB / 387.8 MB, free: 7.805 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.283e-05/0.09586, allocations: 20.66 kB / 387.8 MB, free: 7.785 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000183/0.09605, allocations: 212.1 kB / 388 MB, free: 7.539 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.554e-05/0.09607, allocations: 12.75 kB / 388 MB, free: 7.527 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.168e-05/0.09611, allocations: 24.38 kB / 388 MB, free: 7.504 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002655/0.09638, allocations: 168.9 kB / 388.2 MB, free: 7.336 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.0964, allocations: 3.938 kB / 388.2 MB, free: 7.332 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.734e-05/0.09642, allocations: 4 kB / 388.2 MB, free: 7.328 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.09643, allocations: 8 kB / 388.2 MB, free: 7.32 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001831/0.09662, allocations: 111.6 kB / 388.3 MB, free: 7.211 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008009/0.09743, allocations: 0.5935 MB / 388.9 MB, free: 6.566 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.09768, allocations: 126.5 kB / 389.1 MB, free: 6.434 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001216/0.09782, allocations: 88.77 kB / 389.1 MB, free: 6.344 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.09784, allocations: 0 / 389.1 MB, free: 6.344 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.09787, allocations: 34.56 kB / 389.2 MB, free: 6.301 MB / 286.1 MB Notification: Performance of pre-optimization done (n=15): time 1.002e-06/0.09788, allocations: 0 / 389.2 MB, free: 6.301 MB / 286.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003487/0.09823, allocations: 173.6 kB / 389.3 MB, free: 6.129 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.09828, allocations: 59.39 kB / 389.4 MB, free: 6.059 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001087/0.09839, allocations: 125.8 kB / 389.5 MB, free: 5.926 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.09843, allocations: 33.7 kB / 389.6 MB, free: 5.887 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.704e-05/0.0985, allocations: 128.3 kB / 389.7 MB, free: 5.758 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.718e-05/0.09856, allocations: 55.11 kB / 389.7 MB, free: 5.703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.468e-05/0.09862, allocations: 37.7 kB / 389.8 MB, free: 5.66 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001234/0.09875, allocations: 322.8 kB / 390.1 MB, free: 5.336 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.234e-05/0.09883, allocations: 43.92 kB / 390.1 MB, free: 5.293 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.512e-05/0.09891, allocations: 42.33 kB / 390.2 MB, free: 5.254 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001446/0.09906, allocations: 96.86 kB / 390.3 MB, free: 5.156 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.09907, allocations: 3.938 kB / 390.3 MB, free: 5.152 MB / 286.1 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002065/0.09928, allocations: 155.7 kB / 390.4 MB, free: 4.996 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.2e-05/0.0993, allocations: 4 kB / 390.4 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.09931, allocations: 0 / 390.4 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.09933, allocations: 0 / 390.4 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001781/0.09951, allocations: 39.92 kB / 390.5 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.09952, allocations: 0 / 390.5 MB, free: 4.953 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.36e-05/0.09957, allocations: 11.84 kB / 390.5 MB, free: 4.941 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.09958, allocations: 4 kB / 390.5 MB, free: 4.938 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 (18): * Single equations (assignments): 18 * 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 9.162e-05/0.09968, allocations: 133.8 kB / 390.6 MB, free: 4.797 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.937e-05/0.09972, allocations: 7.906 kB / 390.6 MB, free: 4.789 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.094e-05/0.09977, allocations: 16.5 kB / 390.6 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.09978, allocations: 0 / 390.6 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.09979, allocations: 0 / 390.6 MB, free: 4.773 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.0998, allocations: 3.938 kB / 390.6 MB, free: 4.77 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.1001, allocations: 277.4 kB / 390.9 MB, free: 4.449 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.1001, allocations: 7.922 kB / 390.9 MB, free: 4.441 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/0.1003, allocations: 31.98 kB / 390.9 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.1003, allocations: 0 / 390.9 MB, free: 4.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.1003, allocations: 8 kB / 391 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.1003, allocations: 0 / 391 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.1003, allocations: 0 / 391 MB, free: 4.402 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003247/0.1006, allocations: 295.2 kB / 391.2 MB, free: 4.098 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.812e-05/0.1007, allocations: 89.05 kB / 391.3 MB, free: 3.992 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.879e-05/0.1007, allocations: 0 / 391.3 MB, free: 3.992 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.081e-05/0.1008, allocations: 11.94 kB / 391.3 MB, free: 3.98 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.292e-05/0.1008, allocations: 11.92 kB / 391.4 MB, free: 3.969 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.013e-06/0.1008, allocations: 4 kB / 391.4 MB, free: 3.965 MB / 286.1 MB Notification: Performance of sorting global known variables: time 5.259e-05/0.1009, allocations: 106.9 kB / 391.5 MB, free: 3.863 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1009, allocations: 0 / 391.5 MB, free: 3.863 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000246/0.1012, allocations: 39.75 kB / 391.5 MB, free: 3.824 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (rabbits.population,foxes.population,wolves.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 (15): * Single equations (assignments): 15 * 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.0005557/0.1017, allocations: 0.8139 MB / 392.3 MB, free: 2.98 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002161/0.1019, allocations: 127.9 kB / 392.4 MB, free: 2.855 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.102, allocations: 0 / 392.4 MB, free: 2.855 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.506e-05/0.102, allocations: 59.92 kB / 392.5 MB, free: 2.797 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000366/0.1024, allocations: 30.36 kB / 392.5 MB, free: 2.77 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00163/0.104, allocations: 1.751 MB / 394.3 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.1044, allocations: 0.7236 MB / 395 MB, free: 188 kB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.605e-05/0.1044, allocations: 16.38 kB / 395 MB, free: 176 kB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.349e-05/0.1045, allocations: 43.42 kB / 395.1 MB, free: 132 kB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1045, allocations: 0 / 395.1 MB, free: 132 kB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.1241, allocations: 2.599 MB / 397.7 MB, free: 13.58 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.373/7.497, allocations: 15.36 kB / 397.7 MB, free: 13.57 MB / 302.1 MB (rm -f ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; mkfifo ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe ; head -c 1048576 < ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe >> ../files/ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaByExample_ModelicaByExample_Components_LotkaVolterra_Examples_ThirdSpecies.fmu > ModelicaByExample_ModelicaByExample.Components.LotkaVolterra.Examples.ThirdSpecies.pipe 2>&1)